Re: Hashtable/Map access

2002-08-03 Thread Shawn Bayern
On Sat, 3 Aug 2002, petra staub wrote: > great, and just another question to this: > > how to do, if the key is a variable, say > > color="blue" and now i want to do the > same again? how can i make the expression > first disolve the variable color to "blue" > > color = "blue" > ${MyMap.color}

Re: Hashtable/Map access

2002-08-03 Thread anand
Shawn, I have a connection string in the web.xml as follows: javax.servlet.jsp.jstl.sql.dataSource jdbc:microsoft:sqlserver://localhost:1433;SelectMethod=cursor;,com.microsoft .jdbc.sqlserver.SQLServerDriver,ltd_user and my JSTL SQL have no problems getting the connection and

Re: Hashtable/Map access

2002-08-03 Thread petra staub
in! >From: Shawn Bayern <[EMAIL PROTECTED]> >Reply-To: "Tag Libraries Users List" <[EMAIL PROTECTED]> >To: Tag Libraries Users List <[EMAIL PROTECTED]> >Subject: Re: Hashtable/Map access >Date: Sat, 3 Aug 2002 09:42:32 -0400 (EDT) > >On

Re: Hashtable/Map access

2002-08-03 Thread Shawn Bayern
On Sat, 3 Aug 2002, petra staub wrote: > Hi, > > I have a map/hashtable like: > { > blue => sky > green => frog > red => ball > yellow => sun > } > > I understand that using the tag I > can iterate through the collection and access > every element with key and value. > > But how can I

Hashtable/Map access

2002-08-03 Thread petra staub
Hi, I have a map/hashtable like: { blue => sky green => frog red => ball yellow => sun } I understand that using the tag I can iterate through the collection and access every element with key and value. But how can I directly access the value of an entry if I know the key? I tried s