Irfan, How are you storing data required for initial rows? As a collection of objects in some scope that <logic:iterate> uses to paint them on the page?
When user submits the page how are you getting the updated values? Populating the objects in the same collection or constructing a new collection and adding a object for each row? If that's the case, then all you need to do is reset the collection of objects to the new number of rows submitted by the user. Commons-Collection, which is required by Sturts(?) have a lazy-list which could be used for this purpose. ATTA On 12/16/05, Irfan Shaikh <[EMAIL PROTECTED]> wrote: > > Hi All, > I am new to Struts and need to implement a functionality where a > new row is added to table (generated using logic:iterate tag on JSP page ) > on the fly(using javascript) and handling newly added row in > DynaActionForm > so that row gets saved to database. Need to know how to create a bean for > newly added row. > > Suggestion will be highly appreciated. > Thanks in advance > >