html form not displaying in Tomcat

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Shuchi Sood
    New Member
    • Aug 2010
    • 2

    #1

    html form not displaying in Tomcat

    I have installed apache-tomcat-5.5.30 in vista.
    Tomcat is successfully installed(http://localhost:8080/index.jsp is giving result perfectly).

    But when i simply create a new project(say Hello-v1) in webapps dir and put a simple html file (form.html) and run
    http://localhost:8080/Hello-v1/form.html in web browser ,i get HTTP status 404 "The requested resource () is not available.".

    Whereas if i put same html file in ROOT dir it runs the html.
    Can anyone help me why this is happening as i am following all the instructions written in book "Head Frist Servlets and JSP".What else i need to do to make it run.
  • Jerry Winston
    Recognized Expert New Member
    • Jun 2008
    • 145

    #2
    What's the full OS path to webapps?

    Comment

    • Shuchi Sood
      New Member
      • Aug 2010
      • 2

      #3
      thats "C:\TOMCAT_HOME \apache-tomcat-5.5.30\webapps\ Hello-v1"

      Comment

      Working...