Re: Reading value from HashMap via JSTL

2005-06-07 Thread Jim Kennedy
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

RE: Reading value from HashMap via JSTL

2005-06-07 Thread Durham David R Jr Ctr 805 CSPTS/SCE
> 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 ---

Reading value from HashMap via JSTL

2005-06-07 Thread Grzegorz Stasica
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