Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Http status 404 error resource is not available

 
Mohammed shareef
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 448
Eclipse IDE Firefox Browser Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Mohammed shareef
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic