Couple of ways to skin it, one is:

<c:forEach var="arr1item" items="${arr1}" varStatus="status">
  <c:set var="arr2item" value="${arr2[status.index]}"/>
  ...
</c:forEach>

Eric Chow wrote:
Hello,

If I have two arrays with same length, how can I display them in c:forEach ?

Best regards,
Eric

--
Kris Schneider <mailto:[EMAIL PROTECTED]>
D.O.Tech       <http://www.dotech.com/>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to