checkbox后台传个list显示和回显的页面代码C标签

    <c:forEach items="${listtest}" var="provinces">
       <input type="checkbox" name="map.zffwmc" value="${provinces.CODE}"
      
          <c:forEach items="${listspfl}" var="province">
               <c:if test="${province == provinces.CODE}">
                    checked="checked"
                 </c:if>
            </c:forEach>/>
            ${provinces.NAME}
   </c:forEach>

posted @ 2019-04-14 17:00  那些年的代码  阅读(337)  评论(0编辑  收藏  举报