这里我把复选框和其余部分用于选择列
while(rst.next())
{
%>
<tr>
<td height="30" bgcolor="#A0A0A0" align="center"><input type="checkbox" name="meetingID" value="meetingID"></font></td>
<td bgcolor="#a8a8a8" align="center"><font color="#000000" size="2"><%=rst.getString(1)%></font></td>
<td bgcolor="#b0b0b0" align="center"><font color="#000000" size="2"><%=rst.getString(2)%></font></td>
<td bgcolor="#b8b8b8" align="center"><font color="#000000" size="2"><%=rst.getString(3)%></font></td>
<td bgcolor="#c0c0c0" align="center"><font color="#000000" size="2"><%=rst.getString(4)%></font></td>
<td bgcolor="#c8c8c8" align="center"><font color="#000000" size="2"><%=rst.getString(5)%></font></td>
</tr>
<%
String select[] = request.getParameterValues("meetingID");
if (select != null && select.length != 0)
{
out.println("You have selected: ");
for (int i = 0; i < select.length; i++)
{
out.println(select[i]);
}}
}
rst.close();
stmt.close();
con.close();
}
catch(Exception e)
{
System.out.println(e.getMessage());
}
%>
<tr>
<td><input type="submit" value="Submit"></td>
</tr>
我想按复选框选择整行,但会出现错误&#34;错误的整数值:&#39; meetingID&#39;对于列&#39; meetingID&#39;在第1行&#34;