Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Struts
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Struts
how to get the cookie value in strut2
pankaj semwal
Ranch Hand
Posts: 303
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi,
I my action i am setting the cookie values as like this
CookieInterceptor cookieInterceptor=new CookieInterceptor(); cookieInterceptor.setCookiesName("loginVal"); cookieInterceptor.setCookiesValue(user.getCandidateId());
But how can i get cookie value.
Please
tell me.
Thanks
David Newton
Author
Posts: 12617
I like...
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Implement
CookiesAware
.
David Newton
Author
Posts: 12617
I like...
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
You should
*not* be instantiating an instance of an interceptor inside an action.
A "dutch baby" is not a baby. But this tiny ad is baby sized:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
How to attach/Detach cookies?
cookie value set problem
unable to retrieve cookies & logout properly
Cookie access with EL expression
setMaxAge on cookie using JSTL
More...