outList =
new ArrayList();
inList=
new ArrayList();
inList.add(
new Element("1","a"));
inList.add(
new Element("2","b"));
outList.add(inList);
inList=
new ArrayList();
inList.add(
new Element("3","c"));
inList.add(
new Element("4","d"));
outList.add(inList);
遍历:
<ww:iterator value="outList">
<ww:iterator value="top">
<ww: property value="key"/>,<ww: property value="value"/>
</ww:iterator>
</ww:iterator>
最后
以上就是清秀水杯最近收集整理的关于用标签遍历双层的list的全部内容,更多相关用标签遍历双层内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复