<tr> <td height="25" align="center" valign="middle" class="STYLE6 STYLE8">大小 </td> <c:forEach var="item" items="${scrnSizeList}" varStatus="status"> <c:if test="${(status.index+1) mod 4 !=1}"> <td height="25" align="left" valign="middle" class="STYLE6 STYLE8"> ${item.width}×${item.height} </td> </c:if> <c:if test="${(status.index+1) mod 4==1}"> </tr> <tr> <td height="25" align="left" valign="middle" class="STYLE6 STYLE8"> ${item.width}×${item.height} </td> </c:if> </c:forEach> </tr> |
C:forEach*循环表格~
最新推荐文章于 2022-01-07 18:29:57 发布