Hi!! I'm looking for an answer to my problem, and I'm going to explain what I mean.
I've created a .jar named yuhuuTunnel.jar that has the following structure:
yuhuuTunnel.jar:
--> web (contains the servlets)
--> *.class
--> HelloWorldServlet.class
--> META-INF
--> MANIFEST.MF
--> SimpleClient.class
The code of HelloWorldServlet.java is this:
then, using a .war file (created with ANT), I've created into /../tomcat/webapps/ a directory call yuhuuTunnel that has this structure:
The content of web.xml is the following:
Tomcat works correctly ( http://localhost:8080 return me the page of tomcat ) but when I try to use the HelloWoldServlet typing http://localhost:8080/yuhuuTunnel/HelloWorld into a browser, this one returns me the HTTP Status 404 - The requested resource () is not available.
What is wrong? The address that I type into the browser or there's an error into web.xml?
[BPSouther: Added code tags]
[ November 05, 2008: Message edited by: Ben Souther ]
I've created a .jar named yuhuuTunnel.jar that has the following structure:
yuhuuTunnel.jar:
--> web (contains the servlets)
--> *.class
--> HelloWorldServlet.class
--> META-INF
--> MANIFEST.MF
--> SimpleClient.class
The code of HelloWorldServlet.java is this:
then, using a .war file (created with ANT), I've created into /../tomcat/webapps/ a directory call yuhuuTunnel that has this structure:
The content of web.xml is the following:
Tomcat works correctly ( http://localhost:8080 return me the page of tomcat ) but when I try to use the HelloWoldServlet typing http://localhost:8080/yuhuuTunnel/HelloWorld into a browser, this one returns me the HTTP Status 404 - The requested resource () is not available.
What is wrong? The address that I type into the browser or there's an error into web.xml?
[BPSouther: Added code tags]
[ November 05, 2008: Message edited by: Ben Souther ]