Hi,
I am building a simple registration module. The user accesses /signup.action
to view signup.jsp. This JSP allows him to enter username, password, phone
and address. When submitted, the /createUser.action is invoked. Validation
of form data also happens here. When form data is invalid, I do a redirect:
<action name="createUser">
<result name="validationFailed" type="action-redirect">signup</result>
</action>
This loses all request attributes.
I can reclaim the error messages by adding the Message Store interceptor.
But I would like to be able to display the Signup.jsp back with all fields
entered by the user. (username, password, phone and address - which are
members of the USER object member on the createUser action)
How do I retain these attributes?
-Thanks, Ancat
--
View this message in context:
http://www.nabble.com/Retaining-request-attributes-after-redirect-tp16349672p16349672.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]