Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Eclipse 3.2 Bug - Maybe - Page Deploys with Wrong URL when using "Run on server" option
Eclipse 3.2 Bug - Maybe - Page Deploys with Wrong URL when using "Run on server" option [message #181776] Sun, 22 October 2006 18:35 Go to next message
Eclipse UserFriend
Originally posted by: richard.rjssoftware.com

Hello All,

I recently upgraded to Eclipse 3.2 and ran into an annoying problem.

When doing "Run on Server" with a project with no servlets, the JSP page
displays fine.

Example Page URL:
http://localhost:8080/index.jsp

Once I add a servlet to the WEB.XML file, when I use "Run On Server", the
servlet name is always appended to the URL of my JSP page.

Example Page URL if servlet name of "DownloadServlet" was added to WEB.XML:
http://localhost:8080/DownloadServlet/index.jsp

Of course I get a 404 Error - Page not found.

If I then re-type the correct URL: http://localhost:8080/index.jsp in the
browser, the page displays, however does anyone know how to get rid of this
oddity ?

It's a pain when wanting to test individual page changes in Eclipse.

Thanks in advance.

Regards,
Richard Schoen
RJS Software Systems Inc.
"Providing Your....iNFORMATION NOW!"
Email: richard@rjssoftware.com
Web Site: http://www.rjssoftware.com
Tel: (952) 898-3038
Fax: (952) 898-1781
Toll Free: (888) RJSSOFT
Re: Eclipse 3.2 Bug - Maybe - Page Deploys with Wrong URL when using "Run on server" optio [message #190793 is a reply to message #181776] Fri, 30 March 2007 12:31 Go to previous message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1354
Registered: July 2009
Senior Member
For anybody experiencing this behavior, it turns out that this can be
caused by a bug in the WTP JSF support. The details can be found in:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=180072

Cheers,
Larry

Richard Schoen wrote:
> Hello All,
>
> I recently upgraded to Eclipse 3.2 and ran into an annoying problem.
>
> When doing "Run on Server" with a project with no servlets, the JSP page
> displays fine.
>
> Example Page URL:
> http://localhost:8080/index.jsp
>
> Once I add a servlet to the WEB.XML file, when I use "Run On Server", the
> servlet name is always appended to the URL of my JSP page.
>
> Example Page URL if servlet name of "DownloadServlet" was added to WEB.XML:
> http://localhost:8080/DownloadServlet/index.jsp
>
> Of course I get a 404 Error - Page not found.
>
> If I then re-type the correct URL: http://localhost:8080/index.jsp in the
> browser, the page displays, however does anyone know how to get rid of this
> oddity ?
>
> It's a pain when wanting to test individual page changes in Eclipse.
>
> Thanks in advance.
>
> Regards,
> Richard Schoen
> RJS Software Systems Inc.
> "Providing Your....iNFORMATION NOW!"
> Email: richard@rjssoftware.com
> Web Site: http://www.rjssoftware.com
> Tel: (952) 898-3038
> Fax: (952) 898-1781
> Toll Free: (888) RJSSOFT
>
>
>
Previous Topic:WS-I Validator outside of Eclipse
Next Topic:IDE for struts-enabled web application
Goto Forum:
  


Current Time: Thu Apr 18 09:54:14 GMT 2024

Powered by FUDForum. Page generated in 0.01779 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top