posted 9 years ago
This is my SignupAction
<action name="signup"
class="example.SignupAction"
method="execute">
<result name="success" >/example/welcome.jsp</result>
<result name="error">/example/error.jsp</result>
<result name="input">/example/sign_up.jsp</result>
</action>
A redirect in sign_up.jsp
<li><a href="login.jsp">Login</a></li>
Action defined in Signup.jsp
<s:form align="center" action="signup">
I have a lot of validation in sign_up.jsp if the validations fails more than one time on that page , i am not able to redirect it to any other page , for example
<li><a href="login.jsp">Login</a></li>
Below error is received :
type Status report
message /struts2-blank_login_validation_instruts/login.jsp
description The requested resource (/struts2-blank_login_validation_instruts/login.jsp) is not available.
IF i do not click submit button on sign_up.jsp or no validation is failed , it redirects properly on login.page
Let me know if you need any other information regarding the same.