how to get map value using jstl

HashMap airLineLogo=new HashMap();

airLineLogo.put("EI","icon1.gif");

airLineLogo.put("BD","icon5.gif");

i have setthis value to session now on jsp page i want to get the value on jsp page using jstl tag. i am using.

<c:set var="logo" value="${logo}" />

<c:out value="${logo.get('BD')}"/>

it is not working

Thanks

[377 byte] By [Shambhu98a] at [2007-11-27 4:04:39]
# 1

Well first if you set the logo in the session you have to do the following to access the variable

<c:set var="logo" value="${sessionScope['logo']}" />

Then to access logo.get("BD") you'll have to do

<c:out value="${logo.BD}" />

YasuDevila at 2007-7-12 9:09:32 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...