Re: c:out array problem

Kris Schneider <[email protected]>
Newsgroups gmane.comp.jakarta.taglibs.user
Message-ID <[email protected]>
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/>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.