Use an HTML form, in your jsp you can use a loop to add check boxes if the number is to vary. Get your program to store the number of check boxes added in a hidden field (in the form) and pass this to the processing page with all the other parameters.
In your processing page, get your program to iterate in another loop to retrieve the required number of parameters.
You will need to name and retrieve your check boxes incrementally within the loop: box1, box2 etc.
|