Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

The requested resource is not available.  RSS feed

 
Shailesh Narkhede
Ranch Hand
Posts: 368
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
this is my Login.jsp


this is my web.xml

this is my Servlet



when I click on login I get,

HTTP Status 404 - /validateServlet

--------------------------------------------------------------------------------

type Status report

message /validateServlet

description The requested resource (/validateServlet) is not available.


--------------------------------------------------------------------------------

Apache Tomcat/5.0.28


Please help me.
Thanks in advance.

 
Bauke Scholtz
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Either the relative URL is plain wrong, or the url-pattern of the servlet mapping is plain wrong.

What is the absolute (full http://) URL with which you can call this servlet independently? What is the absolute URL of the current page with the form pointing to the servlet? Once you have the answer on both, you could easily extract the relative URL to the servlet from the absolute URL of the page. Use this relative URL in the page's form then.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!