I have a form where there are some search criteria fields (field set A), a data table, and "submit button" that calls Method A in the action. Below that some more fields (field set B) and an "add item" button which acts like another submit button that calls Method B in the same action.
When you click "add item" button, it calls Method B and saves the data from field set B. Then the form refreshes, but any of the data you filled out in field set A is forgotten. I know its in the Action when Method B is called. It displays field set A if an error occurs when calling Method B, but not if it completes successfully. I want the form to remember the data that was entered in field set A when Method B completes succcessfully. It appears to be totally refreshing the form as a redirect-action, which is good, because the data table is supposed to show the newly added item. I've tried hidden fields on the jsp but these don't seem to work.
Let me know if you have any questions or need clarification on anything.