结合struts的iterate tag+JSTL1.1实现多列列表的显示。下面一段示例代码中显示的是2列,如果想显示多列,则直接把2改成自己想显示的列数即可。 <nested:iterate property="items" indexId="index"> <c:if test="${index%2==0}"> <tr> </c:if> <td>> 相关文章: 2021-07-21 2021-10-25 2021-08-18 2021-09-29 2022-01-27 2021-05-06