动态多行显示jsp

来源:互联网 发布:自动播放软件 编辑:程序博客网 时间:2024/05/16 15:36

<table width="100%" border="0">
       <tr>
             <c:forEach items="${types}" var="type" varStatus="loop">
                           <td>
                            abc
                           </td>
                                      <c:if test="${loop.count%5==0}"></tr><tr></c:if>
              </c:forEach>
       </tr>

 </table>

原创粉丝点击