In Struts2 application, when result is input then i have provided login.jsp as view.That is working properly but when i am trying to access same JSP again then it is not opening that page instead it is opening login.jsp (As result given for input).
Can you please tell me why this is happening and how to resolve this issue?
Not without knowing more--you're not giving enough information to help.
Joined: Dec 05, 2007
I have registration.jsp , when i am submitting by form that time some OGNL exception come and struts forward to view provided for "input" given in struts.xml .If no exception come then it is forwarding to "success" view that is fine.
I have given "input" result view as login.jsp( or any e.g error.jsp) & it is forwarding to that view that is fine but when i am trying to access again registration.jsp it is not opening this jsp instead it is opening login.jsp .
I have to restart my server to get it back to normal working flow such as opening of registration.jsp when i request it.
Can you please help me to know why this is happening for "input" result. kindly let me know If this information is not sufficient then i shall provide practical code.