<c:if>的用法判断是否换行

来源:互联网 发布:最近好看的网络剧2017 编辑:程序博客网 时间:2024/05/21 17:47
<c:forEach var="rr" items="${r.list}" varStatus="i">
            <input type="checkbox" name="checkbox" value = "${rr.right_id}" id="${rr.right_id}"/>
              ${rr.right_name}
            <c:if test="${i.count%6==0&&!i.last}">
             <br>&nbsp; &nbsp;&nbsp; &nbsp;
            </c:if>
            </c:forEach>
原创粉丝点击