81,094
社区成员
发帖
与我相关
我的任务
分享
<table class="noborder" style="margin-top:16px;" border="0" id="classlist">
<c:forEach items="${classno}" var="class" varStatus="i">
<c:if test="${i.count%3==1}">
<tr>
<td> </td><td> </td>
<td style="color:#183e7b"><input type='checkbox' name='radiobox' value='${class.value }' /><label>${vcmBusinessMview.gradeno}(<span>${class.key }</span>)班</label></td>
</c:if>
<c:if test="${i.count%3==0}">
<td style="color:#183e7b"><input type='checkbox' name='radiobox' value='${class.value }' /><label>${vcmBusinessMview.gradeno}(<span>${class.key }</span>)班</label></td>
<td> </td></tr>
</c:if>
<c:if test="${i.count%3==2}">
<td style="color:#183e7b"><input type='checkbox' name='radiobox' value='${class.value }' /><label>${vcmBusinessMview.gradeno}(<span>${class.key }</span>)班</label></td>
</c:if>
</c:forEach>
</table>
public ActionForward updateClass(ActionMapping mapping, ActionForm form,
HttpServletRequest request,
HttpServletResponse response){
String grade=request.getParameter("grade");
String status=request.getParameter("status");
String checkbox[]=request.getParameterValues("radiobox");
//String checkbox=request.getParameter("radiobox");
String unitcode=request.getParameter("unitcode");
return null;
}