tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "petra staub" <>
Subject Hashtable/Map access
Date Sat, 03 Aug 2002 13:39:51 GMT


I have a map/hashtable like:
  blue => sky
  green => frog
  red => ball
  yellow => sun

I understand that using the <c:forEach> 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 something like, but this
seems not to be the way to do this, isnt?

Can someone help me newbie?


Mit MSN Fotos können Sie kinderleicht Ihre Fotos ausdrucken und Freunden zur 
Verfügung stellen:

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message