Hi Paul,
As per Oracle :
*invalidatehttp://docs.oracle.com/javaee/5/api/javax/servlet/http/HttpSession.html#invalidate()
*()
Invalidates this session then unbinds any objects bound to it.
My target is to remove only the cart object.
Thanks,
Srineel
On Fri, Sep 13, 2013 at 7:44 AM,
session.setAttribute(“ShoppingCart“,null)
Sent via BlackBerry from T-Mobile
-Original Message-
From: Srineel Mazumdar smaz19...@gmail.com
Date: Sat, 14 Sep 2013 08:28:54
To: Struts Users Mailing Listuser@struts.apache.org
Reply-To: Struts Users Mailing List user@struts.apache.org
then take what that one item out of the map..
map.remove(ShoppingCart);
OR
you can remove the ShoppingCart from
httpSessionhttpSession.removeAttribute(ShoppingCart);
Martin
__
Date: Sat, 14 Sep 2013 08:28:54 -0400
Subject: Re: Value not
3 matches
Mail list logo