I have a JSP page which has student roster and letting instructor choose grades for some students with check box. I want only the students info which were checked to my next JSp page, but I cant take the only selected ones. It takes the selected number of students like say 3 but it will take the 1st 3 students from the list not the one I choose. I am using getParameterValues to capture the value. The sample HTML shown below. Any ideas.
thks,
<table class="sample" cellSpacing="0" cellPadding="0" align="center" border="1" id="table1">
<tr align="left">
<td vAlign="center" align="left">1234</td>
<td vAlign="center" align="left"><strong>BARIBAN, STEVEN G</strong>
</td>
<input type="hidden" value="1234" name="student_id" >
<input type="hidden" value="BARIBAN, STEVEN G" name="student_name" >
<td vAlign="center" align="left">
<input type="checkbox" value="WU" name="newgrade" > <br>
WU</td>
<td vAlign="center" align="left"><label><br>
<input size="15" name="lad" or><br ></label></td>
</tr>
<tr>
<td vAlign="center" align="left">2341</td>
<td vAlign="center" align="left"><strong>BRATKO, IGOR M</strong> </td>
<input type="hidden" value="2341 name="student_id" >
<input type="hidden" value="BRATKO, IGOR M" name="student_name" >
<td vAlign="center" align="left">
<input type="checkbox" value="WU" name="newgrade" > <br>
WU</td>
<td vAlign="center" align="left"><label><br>
<input size="15" name="lad" or><br ></label></td>
</tr>
</table>