81,094
社区成员
发帖
与我相关
我的任务
分享
<c:forEach items="${list1}" var="firstItem" varStatus="st1">
<c:forEach items="${list1}" var="secondItem" varStatus="st1">
<c:if test="${secondItem.XXX == firstItem.XXX}">// 判断两个集合的关联属性是否匹配
${secondeItem.XXX}
</c:if>
</c:forEach>
</c:forEach>
大概就是如此了。 <c:forEach var="i" items="${requestScope.resObj.allRows}"> //where allRows is an arraylist in resObj class
<c:forEach var="j" items="i">
First Value of Arraylist${j}
</c:forEach>
</c:forEach>