File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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 ?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: retaining records after a submit in struts 2
 
Similar Threads
JTable - Selected row
Assign an Array to an Array Element
How does Hibernate get child objects
JPA - child insertion while parent updation is possible?
Help require on parent -child cascade ralationship in hibernate