I have compiled my first servlet and copied it into
apache-tomcat-5.5.12\webapps\servlets-examples\WEB-INF\classes but when I
navigate my browser to http://localhost:8080/servlets-examples/DemoServlet
or http://localhost:8080/servlets-examples/servlet/DemoServlet I got an HTTP
404 error message. Other servlets from Tomcat examples (same folder) works
just fine. What am I doing wrong? Do I have to edit web.xml in order to
inform Tomcat that I have deployed new servlet? While testing JSPs I didn't
had to do this for new JSP page. Btw, is there a good tutorial (or tool)
about configuring web.xml file?

Reply via email to