I have written two methods that will perform different functions based on the parameter passed to it. In this case, it is an array of checkbox values (Strings). On my .JSP I have said list of checkboxes with the same name, but different values to differentiate.
How can I check the checkboxes I want, then press one of two submit buttons, and then have Java perform the functions in the backend depending on A) checkboxes selected and B) which button I clicked.
This is running on Struts 1, and while I have a basic understanding of the Action/ActionForms architecture, I'm confused as how to access an entire array of checkboxes through these, and differentiating which button was clicked.