This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Struts and the fly likes retaining records after a submit in struts 2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Bookmark "retaining records after a submit in struts 2" Watch "retaining records after a submit in struts 2" New topic
Author

retaining records after a submit in struts 2

Susan John
Greenhorn

Joined: Apr 12, 2011
Posts: 7
In a struts 2 application, in jsp I have two sections, One parent informaion and many child records against the parent. So child record when I add, I call a addRow method on action which appends a new child record object to the list. But I'm failing to retain the previous child records, it becomes the default records again.

Any idea how can I retain the unsaved child records ?
 
 
subject: retaining records after a submit in struts 2