Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Add Cookie to request in JSP  RSS feed

 
Md Fizal
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!