Derek Mahar wrote:
> How do I use the JSTL <c:set> to set an array variable that I may
> subsequently iterate over with <c:forEach>?
A weak solution is to set a delimited string to simulate and array:
<c:set var="brewers">Richie Sexson, Eric Young, Ben Sheets, Geoff
Jenkins, Brady Clark, Scott Podsednik, Keith Ginter</c:set>
Then, use forTokens to iterate through it:
<c:forTokens items="${brewers}" delims="," var="brewer">
<li><c

ut value="${brewer}">
</c:forTokens>
Good luck,
--
-Scott
|
http://www.yanoff.org | AOL IM: SAY KJY