Hi All, I am working on Servlet and JSP using the HF SERVLET AND JSP book. I have almost followed the same way as described in the book to configure tomcat and the required PATH and CLASSPATH variables.
When i get to run the simple 'form.html' page on the browser. i always get the 404 error. i am using tomcat 5.5 and jdk 1.5.0_16. Even worked out the same example using tomcat 6 and jdk 1.6.0_06 the problem remains the same.
I know the answer is simple but i don't know as where it lies. i have no one either with me to help me out.
Please if this works out, then the entire path becomes easy.
Joined: Jun 20, 2008
Could be any number of reasons. Did you: a.) Startup tomcat properly so no errors are shown in the logs or console? b.) Check the port tomcat is listening on? Usually this would be 8080 and the line on the console would be --> Starting Coyote HTTP/1.1 on http-8080 c.) Check that the webapp the form.html is in is deployed properly?