Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

error 404 Tomcat

 
Anshal Patel
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everyone,
I get an error which is as follows

HTTP Status 404 -

type Status report

message

description The requested resource () is not available.
Apache Tomcat/6.0.24

can I be guided as to what mistakes I have done.
 
Anshal Patel
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
after this even the helloworldexample servlet showed the same error
 
Anshal Patel
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the web.xml content is as follows

<servlet>
<servlet-name>J2MEServletExample</servlet-name>
<servlet-class>J2MEServletExample</servlet-class>
</servlet>



<servlet-mapping>
<servlet-name>J2MEServletExample</servlet-name>
<url-pattern>servlets/servlet/J2MEServletExample</url-pattern>
</servlet-mapping>


and the class paths are
CLASSPATH : C:\Program Files\Apache Software Foundation\Tomcat 6.0\lib\servlet-api.jar

JAVA_HOME:C:\Program Files\Java\jdk1.5.0_01

Path: %JAVA_HOME%\bin;
 
Misha Ver
Ranch Hand
Posts: 470
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic