This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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