This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

why there is no getCookie(cookie name) function?

 
jamil lusa
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
as my topic stated, is there any reason why there is no such function exist? why we only can get a array of cookie instead of a particular one?
 
Ram Narayan.M
Ranch Hand
Posts: 247
Chrome Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It would be good if they have added that method also... We will have to write self to retrieve specific cookie from Array of Cookies in Pure Java class based Servlet...

But while writing in JSP level, you have the facility to get a particular cookie using EL predefined attribute "cookie" ...Eg., ${cookie.<name of cookie>}
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic