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