Another approach would be to maintain a map of maps (keyed by year) instead of
multiple "free standing" maps. Something like:
accountMap: {2001={...}, 2002={...}, ...}
So your loop might look like:
<c:forEach var="account" items="${accountMap[year]}">
...
Quoting Wendy Smoak <[EMAIL PROTECTED]>:
> > From: Kris Schneider [mailto:[EMAIL PROTECTED]
> > <c:set var="mapName" value="${year}account"/>
> > <c:forEach var="account" items="${sessionScope[mapName]}">
>
> Thanks for jogging my memory... You can construct the key, but you lose
> the ability to magically find it in any scope, you have to specify where
> it should look for the object.
>
> Thanks!
> --
> Wendy Smoak
--
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]