Good evening everyone, I am just starting out with Java servlets in Tomcat 10.1.4. I’m learning them using a book written in 2010, of which I don’t remember the authors’ names. The book does a good job of explaining code samples, but doesn’t describe any solutions to HTTP errors. I have a HelloWorld servlet, located in my tomcat_home/webapps/servlet_files/classes/hello_app directory, with the corresponding web.xml file located just outside of that folder. The same directory structure is the same for servlet #2. The URL pattern for HelloWorld is /HelloWorld, and the second servlet’s web.xml URL pattern is /HelloWorld_Two. In both instances, I receive HTTPError 404 messages when attempting to run either of them. Can anybody help me? Thank you, Anthony
Sent from Yahoo Mail for iPhone