JSTL

foreach循环遍历  var定义存放取出来的元素  items获得要遍历的对象

<c:forEach var="friendName" items="${session_friends}">
    <c:out value="${friendName}"/>
</c:forEach>

 

posted @ 2015-01-13 18:50  我去不科学的-ef  阅读(78)  评论(0编辑  收藏  举报