Struts2 iterator標(biāo)簽集合中元素為數(shù)組的顯示
說明:[#status.index][?]" ,指示遍歷數(shù)組指定的腳標(biāo)元素,
如果你不知道數(shù)組的長(zhǎng)度呢?
//以下是遍歷數(shù)組每一個(gè)元素
<s:iterator value="total" status="stuts">
<s:iterator value="total[#stuts.index]" >
<s:property/><br>
</s:iterator>
</s:iterator>
http://windring.javaeye.com/blog/108170
posted on 2009-03-28 14:08 luofeng225 閱讀(2308) 評(píng)論(1) 編輯 收藏 所屬分類: Struts2