Here's how I do it:
This example has the 50 US states stored in a map.
state is a variable store in some scope.
-Original Message-
From: Grzegorz Stasica <[EMAIL PROTECTED]>
Sent: Jun 7, 2005 2:46 PM
To: user@struts.apache.org
Subject: Reading value from HashMap via JSTL
> How can I access value for specific key from JSTL
>
>
>
> Or is it better way to store these values. I rule out having each
> value as a different variable since I'll have 52*3 different
> variables
You can just do:
${myhashmap.mykey}
- Dave
---
hi,
I've a page on which there are a lot of similar data. For every week in
a year (52 total) I have 3 different values for instance:
week 1
efficiency=98
complaints=45
other=3
I've decided that HashMap will be the best to store all of the values
and access each value base on key (key is bein
3 matches
Mail list logo