Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

web.xml not working with my windows 7: requested resource() not available error

 
Rahul max
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all..
I am new to servlets and I am using Tomcat 6.0 on my windows 7. I tried a sample app provided in the Head first servlets and Jsp but I am stuck in my first application only.
The first Html page form.html works fine if I exclude web.xml file from WEB-INF directory. If I try to include it, the Tomcat returns with an error the requested resource() not available.
I tried many hit and trial methods but nothing worked as expected. Please help me...
 
Rakesh Chaudhary
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

It might be a simple copy paste error mate..

Just check it again ..


 
Rahul max
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks...it worked fine..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic