Hi,
I have installed Apache Tomcat/5.5.15 on my machine. Followed the installation steps detailed on
www.coreservlets.com site. Got it up and running. I am able to see the homepage of the
Tomcat server. Also, I am able to run all the example
servlets and jsps in the webapps directory.
However, when I try to create and access the sample Beer web application given in chapter 3 of Head First Servlets and
JSP book, I get a 404 Error. As detailed in the book, I have created the
Beer-v1 directory under
webapps directory. But this application works if I move the folder to
servlet-examples and access it using the following URL:
http://localhost:9090/servlets-examples/Beer-v1/form.html Could anybody please reason this strange behaviour? Thanks!
PS: I have configured the Tomcat server to be running on port 9090