|Re: WTP TomCat integration. HTTP 404 Still once again [message #512274 is a reply to message #512190]
||Thu, 04 February 2010 14:34
| Larry Isaacs
Registered: July 2009
Your problem isn't the 404, but the URL you are using. See this Tomcat |
FAQ question for info:
Note that this question applies after you have un-commented out the
Invoker servlet in "conf/web.xml".
Unfortunately, the use of "<webapp context>/servlet/<fully qualified
class>" in a URL suggests the book or document you are using may be
somewhat out of date. If it doesn't cover beyond the Servlet 2.3 specs,
I'd recommend finding something more recent. Your Tomcat 6.0.24 server
supports Servlet 2.5 specs.
Jorge Dieguez wrote:
> Hello All,
> It's being today 2 days I'm dealing with this issue. I have gone to more
> than 20 threads on this very subject hoping to solve the problem. I have
> follow many of your suggestions, but still I've got the same:
> http 404 error.The resource you are looking for
> (/web2/servlet/org.example.ch03.HelloServlet) is not available.
> I have installed:
> TomCat 6.0.24
> Eclipse Galileo Build id: 20090920-1017
> I have created:
> One localhost server which starts and sync aparently fine.
> Use workspace metadata: Checked. (which defaults to:
> .metadata\.plugins\org.eclipse.wst.server.core\tmp0. Deploy path:
> Publish module contexts to separated xml files: Checked
> Two applications:
> web1app: which only shows hello-world.jsp ( which works fine)
> web2app: which always fails and is composed of:
> login-user.jsp hello-world.jsp and
> After running both, I have looked at the Deploy path and both
> applications directories are created consequently at:
> .metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebap ps\
> web2app directory shows
> .\WEB-INF\classes\org\example\ch03\HelloServlet.class as well as
> HelloWorld.jsp and login-user.jsp at "."
> I have checked the console for both applications before, during and
> after instantiation and it looks to be fine, only showing INFO: messages.
> Can you please help me on this.
> Many thanks,
Powered by FUDForum
. Page generated in 0.02182 seconds