This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Struts and the fly likes Form is reset from one action to other on forward in struts 1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Form is reset from one action to other on forward in struts 1" Watch "Form is reset from one action to other on forward in struts 1" New topic
Author

Form is reset from one action to other on forward in struts 1

Arun Kumar
Ranch Hand

Joined: May 22, 2006
Posts: 62
I have a struts config like one below.




I am facing this issue. In the first action I do some manipulation and change the data of the MultiChangeForm which is an action form but when I reach the section action multiAdd those changes are not visible in the section action. All the attributes which were added to the form in the first action is lost in the second action and form looks like brand new as it arrived in first action.

Any suggestion is appreciated.

Arun Kumar
Ranch Hand

Joined: May 22, 2006
Posts: 62
Please read section action as second action, a typo.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Form is reset from one action to other on forward in struts 1