struts2 <s:iterator/>怎样取得循环的索引

2014-11-24 09:21:49 · 作者: · 浏览: 1

#L.index,即为list的索引
其中L是个IteratorStatus对象
List
User对象含有name和password属性。
当然你也可以写成: