This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
I am using map-backed form in Struts. I am trying to achieve the following: 1. Create a form where user can add one or more editable grids, the columns of the grid are user-defined. 2. Provide 'Add' button to insert new row to the grid. 3. Each cell inserted in a row is text field. 4. user saves the data entered in the text field. 5. User restores the saved values and will see the results as a table.
Can anyone provide pointers on how can I save the Grid object? Shall I append the values entered in text field as one string so that one row represents one string with some delimiting characters in between?