tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kris Schneider <k...@dotech.com>
Subject Re: Removing a value from a map present in Session
Date Mon, 11 Aug 2003 16:20:47 GMT
With JSTL:

<c:set target="${sessionScope.map}" property="name" value="${null}"/>

Quoting shanmugampl <shanmugampl@india.adventnet.com>:

> Hi,
> 
>     I have a map in session scope which contains an entry with key 
> "name". I want to remove that entry from the map
> 
> <%= ((Map)session.getAttribute("map")).remove("name") %>
> 
> How do i achieve this in jstl el ?
> 
> Thanks
> Shanmugam PL

-- 
Kris Schneider <mailto:kris@dotech.com>
D.O.Tech       <http://www.dotech.com/>

Mime
View raw message