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

There is no Action mapped for namespace [/] and action name [RegisterUserServlet] associated  RSS feed

 
Muralidhar Mangipudi
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

This is my first servlet program. I wanted to try a web application where "register" user module will be in servlet program.

I can access my index.jsp but when I enter values and click submit, I get "There is no Action mapped for namespace [/] and action name [RegisterUserServlet] associated with context path [/TrainingApplication]. - [unknown location]".

Here's my index.jsp file:



Here's my web.xml:



My register servlet:



I am using apache-tomcat-8.0.14 server. Can somebody help me spotting the issue?

Thanks,
Murali
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The form action should be server-relative starting with the context path. See the JspFaq for more info.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!