I have a web page that displays check boxes for user to make multiple selection:
For testing purpose, I made 6 selections of e-mail addresses among all check boxes displayed, Those 6 e-mail addresses are my friends'.
Then, the SelectRecipientForm.java extends the ActionForm class. In the ActionForm class, the multiple selection of check boxes by users are supposed to populate a String Array.
However, the values of the selected check boxes are not picked up. Here is the code of the SelectRecipientsForm.java:
There is bug in the check box tag of struts that if u have multiple checkboxes with same name .then if u have an arry inside form it will give to action but if u pupultae the same in form an dcome back to page then it wont populate all the check boxes it will populate only single check box