Close the Stream

SUBSCRIBE EJB-INTEREST anonymous <[email protected]> Tue, 4 Oct 2005 14:57:19 -0600
Newsgroups gmane.comp.java.sun.servlet
Message-ID <LISTSERV%[email protected]>
Hi,
I use HttpServletResponse's getOutputStream().println(String) to print a
message in servlet.
My question is do I have to close the stream before leaving the method.
If not,will it impact the performance.

Thanks in advance,

___________________________________________________________________________
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