tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kris Schneider <k...@dotech.com>
Subject Re: c:out array problem
Date Wed, 07 Jun 2006 11:27:31 GMT
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:kris@dotech.com>
D.O.Tech       <http://www.dotech.com/>

---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org


Mime
View raw message