结合struts的iterate tag+JSTL1.1实现多列列表的显示。下面一段示例代码中显示的是2列,如果想显示多列,则直接把2改成自己想显示的列数即可。
struts多列列表显示<nested:iterate property="items" indexId="index">
struts多列列表显示                                                  
<c:if test="${index%2==0}">
struts多列列表显示                                                  
<tr>
struts多列列表显示                                                  
</c:if>   
struts多列列表显示                                                     
<td>
>

相关文章:

  • 2021-07-21
  • 2021-10-25
  • 2021-08-18
  • 2021-09-29
  • 2022-01-27
  • 2021-05-06
猜你喜欢
  • 2018-03-08
  • 2022-01-07
  • 2021-12-14
  • 2022-12-23
  • 2021-05-24
  • 2021-10-26
相关资源
相似解决方案