File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Simple Error..404 Error..But no solution

 
sameer khazi
Greenhorn
Posts: 28
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Thank you
 
mark walter
Greenhorn
Posts: 15
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?

You can test if tomcat is running by checking http://localhost:8080
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic