aspose file tools*
The moose likes Struts and the fly likes how to get the cookie value in strut2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "how to get the cookie value in strut2" Watch "how to get the cookie value in strut2" New topic
Author

how to get the cookie value in strut2

pankaj semwal
Ranch Hand

Joined: Oct 07, 2008
Posts: 300
Hi,
I my action i am setting the cookie values as like this



But how can i get cookie value.

Please tell me.

Thanks
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Implement CookiesAware.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

You should *not* be instantiating an instance of an interceptor inside an action.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to get the cookie value in strut2
 
Similar Threads
cookie value set problem
How to attach/Detach cookies?
unable to retrieve cookies & logout properly
setMaxAge on cookie using JSTL
Cookie access with EL expression