复选框多值获取
作者:互联网
<li> <label>爱 好:</label> <input type="checkbox" name="inter" value="read">阅读 <input type="checkbox" name="inter" value="run">跑步 <input type="checkbox" name="inter" value="walk">竞走 </li>
String [] inters=request.getParameterValues("inter");
Arrays.toString(inters)
标签:getParameterValues,inter,String,Arrays,inters,多值,获取,nbsp,复选框 来源: https://www.cnblogs.com/cczzw/p/15832258.html