标签:style class blog code ext color
<s:iterator value="#request.book" id="book" status="index"> <tr> <td> <s:property value="#index.index+1" /></td> </tr> </s:iterator>
1:#status .odd 是否奇数行
2:#status
.count 当前行数
3:#status
.index
当前行的序号,从0开始『#status
.count=#status
.index
+1』
4:#status
.first 是否第一行
5:#status
.last 是否最后一行
6:#status
.modules(int) 当前行数取模
struts2中status的用法,布布扣,bubuko.com
标签:style class blog code ext color
原文地址:http://www.cnblogs.com/xxwacm/p/3789683.html