This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes HTTP Status 404 - There is no Action mapped for namespace / and action name register. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "HTTP Status 404 - There is no Action mapped for namespace / and action name register." Watch "HTTP Status 404 - There is no Action mapped for namespace / and action name register." New topic
Author

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

umesh annegirikar
Greenhorn

Joined: May 09, 2011
Posts: 28
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

Joined: Oct 29, 2001
Posts: 8843
    
    7

Please Use Code Tags
I think your problem has to do with this.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
Don't get me started about those stupid light bulbs.
 
subject: HTTP Status 404 - There is no Action mapped for namespace / and action name register.
 
Similar Threads
function "validate()" does not execute
unable to process login application in struts2
Struts 2.0 application not working in WAS 6.1 server
Null Pointer Exception thrown
problem in struts2 validation