jsp页面遍历list集合?

jsp页面如何遍历struts2的action传过来的list集合,并显示?

参考。

 http://blog.csdn.net/leader_lx/article/details/2874878

可以直接用for循环嘛
<%
for(Iterator it = list.iterator; it.hasNext();){
Map m = it.next();
%>
<%= (String)m.get("xxx")%>
<%
}
%>

JSTL标签库,EL表达式,OGNL表达式,都可以完成

1、表达式
2、直接Java循环