aspose file tools
The moose likes JSP and the fly likes Add Cookie to request in JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "Add Cookie to request in JSP" Watch "Add Cookie to request in JSP" New topic
Author

Add Cookie to request in JSP

Md Fizal
Ranch Hand

Joined: Dec 23, 2002
Posts: 61
I have a cookie created by a Client side Javascript in the client machine. I have a JSP file in the server, which should access the cookie in the client and do some processing. Could anyone pls help me, how to get the cookie there in the server?
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 11862
Seems to me the Cookie should appear in the next request to the JSP. Can't you get it with request.get Cookies () (without the space) ?
Bill


Java Resources at www.wbrogden.com
 
IntelliJ Java IDE
 
subject: Add Cookie to request in JSP
 
Threads others viewed
Setting Cookie
cookies
How to use ckookie in jsp
delete cookie from request ?
Confusion between Cookie and JSession
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture