Hi,

I am trying to use a Server Side Include (SSI) command to call a servlet and
form within the servlet access the user's cookie data.  I am running Java
Web Server and I have put the <servlet code="test"> tag inside of a .shtml
file.  This servlet is called, but when I go to call request.getCookies(),
no cookies are ever returned.  When I call the servlet the regular way with
/servlet/test the cookie works and information can be stored and retrieved.
Could I be having a problem with the header information?  I thought I tried
various placements of when to set the header, but maybe I still need to move
things around.  Has anyone successfully used a servlet with Cookies that is
called via an SSI?  Could it perhaps be the case that the cookies are not
attached to the request for the SSI <servlet code="test"> call?  Any insight
would be appreciated!

Jeff Derstadt
[EMAIL PROTECTED]

___________________________________________________________________________
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

Reply via email to