You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Denis Avdic <de...@betterway.net> on 2003/05/29 17:01:51 UTC
[JSTL] Hashtable
Hello group,
Does anyone know how to retrieve particular elements of a hash table
using JSTL?
I've tried <c:out value="${linkTable.get(flag)}"> but that does not work.
Any ideas?
TIA,
Denis
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
Re: [JSTL] Hashtable
Posted by ro...@bull-enterprises.com.
I believe it is <c:out value="${linkTable['flag']}"> assuming 'flag' is a
literal. Ifnot, I'm pretty sure you can use ${linkTable[flag]}.
Robert
> Hello group,
>
> Does anyone know how to retrieve particular elements of a hash table
> using JSTL?
> I've tried <c:out value="${linkTable.get(flag)}"> but that does not
> work.
>
> Any ideas?
>
> TIA,
>
> Denis
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org For
> additional commands, e-mail: struts-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org