Meaningless Drivel is fun!*
The moose likes Servlets and the fly likes need help for cookies problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "need help for cookies problem" Watch "need help for cookies problem" New topic
Author

need help for cookies problem

chintan doshi
Greenhorn

Joined: Apr 11, 2006
Posts: 3
in my application i cant read the cookie created from a servlet in a JSP page.
when i create the cookie using JSP & then read it using another JSP page it works fine.
can anyone please help me out with this problem.
thank you
chintan741@gmail.com
Jagmohan Negi
Greenhorn

Joined: Aug 24, 2005
Posts: 27
I Think it is a problem due becouse response is not committed
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

chintan,
Can you describe, in a little more detail, what you are doing?


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Rodrigo Alvarez
Ranch Hand

Joined: Apr 10, 2006
Posts: 75
could you post the code snipets showing how you set the cookie ?


It is a mistake to think you can solve any major problems just with potatoes.<br />--Douglas Adams
chintan doshi
Greenhorn

Joined: Apr 11, 2006
Posts: 3
thank you friends for your reply. the task is to create a simple login application. it runs perfect on my local machine but when i run it on my university server it doesnt.

please help me out.
thank you,
 
Don't get me started about those stupid light bulbs.
 
subject: need help for cookies problem
 
Similar Threads
displaying time of last visit of user on the page using cookie
Accessing Cookie
Alternative for cookie in portlet
response.addCookie is not working
strange problem using jsp and servlet