日期:2014-05-17 浏览次数:20619 次
<logic:iterate id="item" name="list">
??? <html:checkbox name="item" property="id" value="${item.id}">
??? </html:checkbox>${item.Name}
</logic:iterate>
后台可以
String[] items = request.getParameterValues("id");
for (int i = 0; i < items.length; i++) {
??? int ids = Integer.parseInt(items[i]);
}