----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

You have to buffer JSSI's output. Look at bueffered parameter of JSSI.

On Thu, 18 Nov 1999, David Morton wrote:

> ----------------------------------------------------------------
> BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> WHEN YOU POST, include all relevant version numbers, log files,
> and configuration files.  Don't make us guess your problem!!!
> ----------------------------------------------------------------
> 
>  From the Servlet Tutorial:
> 'Because cookies are sent to the client as a header and headers must be 
> written before accessing the Writer'.
> http://java.sun.com/docs/books/tutorial/servlets/client-state/cookies.html
> 
> If I have a jhtml page, that has a <servlet> tag.  The servlet called by 
> JSSI creates a session.  How can it do this?  Assuming it decides to use 
> cookies, Does the JSSI engine parse ALL results, then notice that the 
> servlet is sending a cookie and it include it in the headers?  Does the 
> cookie get lost?
> 
> Basically what I'm asking is can a Servlet accessed through JSSI set a 
> cookie, and if so, how is it possible when the cookie must be sent in the 
> header?
> 
> David
> 
> 
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Archives and Other:  <http://java.apache.org/main/mail.html>
> Problems?:           [EMAIL PROTECTED]
> 
> 



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to