Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HTTP Status 404 - There is no Action mapped for namespace / and action name register.

 
umesh annegirikar
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello i am working on one web application in that i have created login.jsp page and it will check the correct login name and password from database and if it is wrong then it shows the error page.
In the same jsp page i want to implement registration functionality,i.e when user clicks on register button it shows the registration page i have created the register button on login.jsp page but when user clicks on this button then it shows the error

HTTP Status 404 - There is no Action mapped for namespace / and action name register.

the action redirection flow in my application's struts.xml is

LoginAction.java


UserRegistrationAction

index.jsp

parentRegistration

I have googling much on this problem also refer this http://www.simplecodestuffs.com/action-chaining-and-action-redirect-in-struts-xmlstruts-2/
article but i don't understand why this error coming
thanks in advance
 
Joe Ess
Bartender
Posts: 9302
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please Use Code Tags
I think your problem has to do with this.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic