tags:

views:

13

answers:

1

I have two list objects in request. Now I want to use them in jsp page by the following approach:

<c:forEach items="${listA}" var="A">
<tr><td>${A.propA}</td><td>${listB[A.index].propB}</td>
</c:forEach>

Is that possible? Thanks

I got the correct approach:

<c:forEach items="${listA}" var="A" varStatus="status">
<tr><td>${A.propA}</td><td>${listB[status.index].propB}</td>
</c:forEach>
A: 

Yes try ${requestscope.listA}

fhj