• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

${cookie.userName.value} doesn't give any value

 
Samanthi perera
Ranch Hand
Posts: 510
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
this is my jsp file


this prints nothing.
But i read it should print Cookie implicit objects?

 
Royston Monteiro
Ranch Hand
Posts: 35
Java Linux Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Looks like either the web browser has disabled cookies or a cookie by that name hasnt been sent with the response to the client before this JSP was called.

You could confirm this by verifying that you dont get any output while doing the same thing with scripting.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic