tomcat-taglibs-user mailing list archives

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

> What I want to do is on a JSP dynamically look up the key within an
> 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:
For additional commands, e-mail:

View raw message