My question is whether the servlet or JSP is required to call flushBuffer
when it's
done producing all of the output.  I occasionally don't see my JSP output
appear, but my
debug trace says that it finished writing all of it (though it never called
flushBuffer), so
I'm wondering whether the servlet container is relying on finalization to
close the output stream rather than explicitly taking care of that detail.

Duane Morse, Eldorado Computing Inc., Phoenix, Arizona


-----Original Message-----
From: Mark Galbreath [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 27, 2001 4:18 PM
To: [EMAIL PROTECTED]
Subject: Re: Should a JSP or servlet explicitly call flushBuffer()


I'm not sure I understand what you are asking.  res.flushBuffer()  forces
any content in the buffer to be written to the client, allowing the client
to begin receiving the content immediately.  It appears from your question
that you are asking how NOT to have a client receive content.

Cheers!
Mark

----- Original Message -----
From: "Duane Morse" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 27, 2001 7:00 PM
Subject: Should a JSP or servlet explicitly call flushBuffer()


> Should it be necessary to call the response object's flushBuffer() method
at
> the end of a servlet or JSP?  I don't,
> but occasionally I don't see a web page appear on the browser, and my
debug
> trace shows the page was in fact written.
>
> Duane Morse, Eldorado Computing Inc., Phoenix, Arizona
>
>
___________________________________________________________________________
> 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
>

___________________________________________________________________________
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

___________________________________________________________________________
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