tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wendy Smoak <j...@wendysmoak.com>
Subject Re: Dynamic Map Access
Date Fri, 11 Feb 2005 19:56:58 GMT
From: "Karl Coleman" <kcoleman@commercebenefitsgroup.com>

> What I want to do is on a JSP dynamically look up the key within an
iteration.
> I know I can access map value by hard coding it such as
> ${mimeTypes["application/msword"]}, but I am having problems
> figuring out how to make the key a variable.

I assume you mean with JSTL.
Can you <c:set> a variable inside the iteration, and then use that as the
map key?

-- 
Wendy Smoak


---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org


Mime
View raw message