File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Remember Form values in Redirect Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Remember Form values in Redirect" Watch "Remember Form values in Redirect" New topic

Remember Form values in Redirect

Andy WongK

Joined: Jun 27, 2005
Posts: 3
I've a Struts signup form which includes First Name, Last Name, Address, etc... and also several hyperlinks which will redirect the user to another page. When the customer fills out the first name, then click on the hyperlink. It will redirect to Page 2. On page 2, the customer click back to go back to the Signup page. My question is now all the data that the customer enters in the Signup Page is gone since it is a redirect, Struts won't save the data to the Struts form yet. This also happens on any radio buttons/checkboxes.

Is there a solution for the above problem?

I agree. Here's the link:
subject: Remember Form values in Redirect
It's not a secret anymore!