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

adding and retriving cookies.

adeeb alexander
Ranch Hand

Joined: May 29, 2008
Posts: 268
Hi.
I added a cookie in jsp and trying to retrive using servlet. The problem is its not showing up in servlet, both code parts are below.

JSP


Servlet


Whar wrong i am doing there, i am getting some garbasge values.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: adding and retriving cookies.