In my application a jsp contains an input form which is mapped to a ActionForm and a action class.Now my requirement is to have similar 3 more input forms in the same page.But my action class will be same.How to handle this scenario?
How to handle array of Actionforms in the Action Class?
Your html/jsp page can have multiple forms, but clicking the submit button will only submit one of the forms. An action only gets one form passed in to the execute method. Maybe if you described your situation in more detail somebody could provide you with a solution.
Joined: Jun 07, 2006
For example consider this, previously my jsp page had three fields namely name,id and address which i have mapped to a action form with three properties. Now my requirement is that i want to have three more set of fields like that. How can i handle this in action form other than creating seperate properties for the remaining three sets. i also want to have all the four sets of values in my action class.