aspose file tools*
The moose likes Servlets and the fly likes Cookie Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Cookie" Watch "Cookie" New topic
Author

Cookie

Johnson Chong
Ranch Hand

Joined: Mar 16, 2001
Posts: 210
May I know how to extract the token from a cookie using Java


-Surfing the JavaRanch in a sunny garden with a cold drink and laptop can't be beat. by Frank Carver(sheriff)
Michael Hildner
Ranch Hand

Joined: Oct 13, 2000
Posts: 297
I've used this code for testing in a servlet, where request is a HttpServletRequest object.
Randall Twede
Ranch Hand

Joined: Oct 21, 2000
Posts: 4340
    
    2

here is another example. assume all variables have been declared.


SCJP
Visit my download page
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Cookie