Have you looked at the chain <http://struts.apache.org/2.0.11.1/docs/chain-result.html>result type?
On Fri, Mar 28, 2008 at 8:25 AM, ancatdubher <[EMAIL PROTECTED]> wrote: > > 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] > > -- Scott [EMAIL PROTECTED]