Return-Path: Delivered-To: apmail-jakarta-taglibs-user-archive@apache.org Received: (qmail 26467 invoked from network); 11 Aug 2003 18:08:38 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 11 Aug 2003 18:08:38 -0000 Received: (qmail 2594 invoked by uid 97); 11 Aug 2003 18:11:22 -0000 Delivered-To: qmlist-jakarta-archive-taglibs-user@nagoya.betaversion.org Received: (qmail 2587 invoked from network); 11 Aug 2003 18:11:21 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 11 Aug 2003 18:11:21 -0000 Received: (qmail 26289 invoked by uid 500); 11 Aug 2003 18:08:36 -0000 Mailing-List: contact taglibs-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tag Libraries Users List" Reply-To: "Tag Libraries Users List" Delivered-To: mailing list taglibs-user@jakarta.apache.org Received: (qmail 26278 invoked from network); 11 Aug 2003 18:08:35 -0000 Received: from mail.scem.com (HELO mail1.mirant.com) (208.147.220.20) by daedalus.apache.org with SMTP; 11 Aug 2003 18:08:35 -0000 Received: from atlexc01.na.mirant.net (atlexc01.na.mirant.net [10.11.20.45]) by mail1.mirant.com (8.12.8/8.12.8) with ESMTP id h7BI6pCO010528 for ; Mon, 11 Aug 2003 14:06:52 -0400 (EDT) Received: by atlexc01.na.mirant.net with Internet Mail Service (5.5.2655.55) id ; Mon, 11 Aug 2003 14:08:36 -0400 Message-ID: From: "Siggelkow, Bill" To: "'Tag Libraries Users List'" Subject: RE: Removing a value from a map present in Session Date: Mon, 11 Aug 2003 14:08:35 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2655.55) Content-Type: text/plain; charset="iso-8859-1" X-FREE-OF-KNOWN-WORMS: Scanned by Mirant.Com for known email worms X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Ahh !! You're right! I was just looking at the spec for and it is clearly stated. -----Original Message----- From: Kris Schneider [mailto:kris@dotech.com] Sent: Monday, August 11, 2003 12:51 PM To: Tag Libraries Users List Subject: RE: Removing a value from a map present in Session Well, there is subtlety involved, but it's in how JSTL handles a Map versus a JavaBean. In the case of a Map, if "value" evaluates to null, the entry is removed from the Map. In the case of a JavaBean, the property is set to null. Quoting "Siggelkow, Bill" : > There is a subtle difference here -- using the method I think it > will actually set the Map value to null but the key will still be there. > Whereas doing the explicity Map.remove() will actually remove the map > entry. > > -----Original Message----- > From: Kris Schneider [mailto:kris@dotech.com] > Sent: Monday, August 11, 2003 12:21 PM > To: Tag Libraries Users List; shanmugampl@india.adventnet.com > Subject: Re: Removing a value from a map present in Session > > > With JSTL: > > > > Quoting shanmugampl : > > > 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 > D.O.Tech -- Kris Schneider D.O.Tech --------------------------------------------------------------------- To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: taglibs-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: taglibs-user-help@jakarta.apache.org