;-) I hate to make it more readable, but you should be able to do:
Quoting Wendy Smoak <[EMAIL PROTECTED]>:
> > From: Kris Schneider [mailto:[EMAIL PROTECTED]
> > Another approach would be to maintain a map of maps (keyed by
> > year) instead of multiple "free standing" maps. Something like:
> From: Kris Schneider [mailto:[EMAIL PROTECTED]
> Another approach would be to maintain a map of maps (keyed by
> year) instead of multiple "free standing" maps. Something like:
Clever! Job security in a single line:
--
Wendy
-
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:
...
Quoting Wendy Smoak <[EMAIL PROTECTED]>:
> > From: Kris Schneider [mailto:[EMAIL PROTECTED]
> From: Kris Schneider [mailto:[EMAIL PROTECTED]
>
>
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
Maybe:
...
Quoting Wendy Smoak <[EMAIL PROTECTED]>:
>
> In a Struts Action, I place a Map in session scope depending on what
> year the user has chosen-- there may be Maps there named 2002accounts,
> 2001accounts, etc.
>
> Now to display the contents of the Map, I tried:
>
>
> org.apache.j
In a Struts Action, I place a Map in session scope depending on what
year the user has chosen-- there may be Maps there named 2002accounts,
2001accounts, etc.
Now to display the contents of the Map, I tried:
org.apache.jasper.JasperException: An error occurred while evaluating
custom action att