File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

deleting cookies in struts2

Bharath Sundar

Joined: Feb 19, 2009
Posts: 13

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

Bharath Sundar

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

Joined: Sep 29, 2008
Posts: 12617

The CookiesAware interface provides access to cookies.
I agree. Here's the link:
subject: deleting cookies in struts2
Similar Threads
cookies with struts2
Struts2 + jCookies
migration to Struts2
Struts2 cookies