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
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.
 
 
subject: how to get the cookie value in strut2