File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Http status 404 error resource is not available Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Http status 404 error resource is not available" Watch "Http status 404 error resource is not available" New topic
Author

Http status 404 error resource is not available

Mohammed shareef
Greenhorn

Joined: Aug 08, 2007
Posts: 10
Hi ,i have been trying to execute my first servlet program ,but it is showing 404 error ,i have uncomment the servlet invoker also,i have the change port number also ,the application which i have deploy it showing that application at tomcat dashboard , im getting the jsps properly
im working on windows 7
please Help me sort out this problem.
Sunny Bhandari
Ranch Hand

Joined: Dec 06, 2010
Posts: 448

Have you copied servlet class files in the classes folder of web app.

Also verify that web.xml contains a reference to the servlet in question..access it via url pattern


Java Experience
Mohammed shareef
Greenhorn

Joined: Aug 08, 2007
Posts: 10
yes i have copied .class file in the web-inf\classes and web.xml file in web-inf folder i have also tried by giving different urls , im able to see my project folder on tomcat dashboard
im using tomcat 6 and jdk1.6 windows 7, and i want to know that is there any problem with windows7
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Http status 404 error resource is not available
 
Similar Threads
Basic Tomcat problem
Running servlet in Tomcat
how to run richfaces application in JBOSS
unable to run webapplications in tomcat
HTTP Status 404 error in tomcat