This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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


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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: deleting cookies in struts2
 
It's not a secret anymore!