----------------------------------------------------------------
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!!!
----------------------------------------------------------------
On Wed, 12 Jan 2000, David Morton wrote:
> I have many jhtml pages w/<SERVLET> tags......when these servlets finish, I
> used to have flush() & close()....it seems that close() doesn't really close the
> output stream since the rest of the jhtml file is still utilized when
> tested....are there any gotchas for using flush() and close() in combination
> w/JSSI? Also, what is the recommended practice of using close(), flush(), and
> possibly setting output stream vars to null in the context of JSSI?
I think close() (of the output stream) is deliberately worked around so
that it doesn't do anything when called in a servlet called by JSSI.
Protection against badly written servlets.
But why would you want to close() the stream, anyway? And why should this
have an effect on JSSI reading the .jhtml file?
Peter
--
URBAN Peter Mail: [EMAIL PROTECTED]
Federal Institute of Technology WWW: http://lsewww.epfl.ch/urban
EPFL-DI-LSE, office INF 233 Phone: (+41 21) 693 5354
CH-1015 Lausanne, Switzerland Fax: (+41 21) 693 6770
--
--------------------------------------------------------------
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]