Hi,
It's been years since the last time I used
Tomcat. Now I'm using it again because I'm preparing for the SCWCD exam. I have created a simple
servlet and deployed it to Tomcat but it doesn't work. I put the class file in
<tomcat-dir>/webapps/myapps/WEB-INF/classes directory. I have created the
web.xml file:
I have also set the JAVA_HOME, CATALINA_HOME, and the classpath to the file servlet.jar. But when I try to invoke the servlet using a browser by typing
http://localhost:8080/myapps/servlet/myservlet, it shows HTTP status 404. What have I done wrong? Have I missed something?
[ November 02, 2004: Message edited by: Yosi Hendarsjah ]