This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Struts and the fly likes deleting cookies in struts2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "deleting cookies in struts2" Watch "deleting cookies in struts2" New topic
Author

deleting cookies in struts2

Bharath Sundar
Greenhorn

Joined: Feb 19, 2009
Posts: 13
Hello,

Is there any way that i can delete the cookies in struts2. If so give me the hint to do that.


Regards,
Bharath.S
Bharath Sundar
Greenhorn

Joined: Feb 19, 2009
Posts: 13
The cookies has to be deleted once I move out of the JSP or while logging out of the java application. Is there anything I can do the same with the session object, so while closing the user's session deleting the cookies...
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

The CookiesAware interface provides access to cookies.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: deleting cookies in struts2