This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills: The software developer's life manual and have John Sonmez on-line!
See this thread for details.
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Samanthi perera
Ranch Hand
Posts: 510
  • 0
  • 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
  • 0
  • 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