Execute servlet without mapping in web.xml?
843841Mar 14 2003 — edited Jul 25 2005I'm reading a book that says I can execute a servlet directly without having to use url mapping in the web.xml file using this syntax:
http://localhost:8080/documentRoot/servlet/packageName.ServletName
The book is "Murach's Java Servlets and JSP", which I am really enjoying but I can't for the life of me figure out why this won't work on my computer!
The error I get is "HTTP Status 404" with the following text:
"The requested resource (/murach/servlet/email5.EmailServlet) is not available"
Any suggestions as to what I may be doing wrong? I'm using Tomcat version 4.1.12.