anurag dewan wrote:
>
> the servlet runs fine but does not give the name of the
> cookie the first time.
>
Short answer: You added the cookie to the response,
but got the cookies from the request. The request and
the response are two different things.
Longer answer: If the short answer didn't make you
go "duh!", then you might benefit from a review of
how HTTP works with servlets:
<URL:http://java.sun.com/docs/books/tutorial/servlets/>
<URL:http://www.cookiecentral.com/>
Both have some good info (but does does somebody have a
really good "intro to http" link?) And of course there's
always rfc2616 if you're feeling like a real hacker.
-cks
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html