no not necessarily.
 
 
The more you sweat in peace the less you bleed in war
 
Sandeep Katiyar
Senior Engineer
ITX/HEEP/BHEL/Haridwar/Uttaranchal /india
+919412070340(MOBILE)
01334265090(HOME)
01334285260(OFFICE)
I am parked on the internet at http://skatiyar.com
 
 
----- Original Message -----
Sent: Wednesday, October 05, 2005 2:54 AM
Subject: Re: Close the Stream

Nope.  I always do out of habit and because I consider it cleaner code, but it is the Servlet Engine's responsibility to close the stream if you don't.
  (*Chris*)

On 10/4/05, SUBSCRIBE EJB-INTEREST anonymous <[EMAIL PROTECTED]> wrote:
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

___________________________________________________________________________ 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