File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 Spring in Action this week in the Spring 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: 301
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