This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

servlet not finding the cookies set by previous jsp page?

 
nick sharma
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello
i call a servlet from a jsp page in order for it to return me an image.everything was fine till i put in some way of recognising the user who is calling the servlet for the image, by reading a cookie already set in the jsp page when the user logs in.i use the following code to recognise the user



intrestingly the servlet sets the session right and prints the username attribute right but doesnt get the cookies even though the system has cookies.
whats the problem??
[ June 25, 2008: Message edited by: Bear Bibeault ]
 
nick sharma
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello can ny1 please help me with the problem??
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Two things.

Patience is a virtue. Adding more posts to your thread only increases the chance that others will already think it's been answered and not bother reading it.

Use real words when posting to the ranch. Many people use language translation software to read posts here and will not understand what "ny1" means.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic