You can call varStatus.index
to get the index of the current round and then use it as a lookup for the second list. Mind the length of the List
s though or it will throw an Exception . Set the items
with the List
having maximum of the two.
<c:forEach var="element" items="${List1}" varStatus="status">
<p>
${element}
${List2[status.index]}
</c:forEach>