>>> Mike Haberman <[EMAIL PROTECTED]> 15-May-00 3:55:27 PM >>>

>In many of the "how to" books on servlets they never
>mention what to do with do with the response's PrintWriter
>after you are done writing to it.  Should it be closed, or at least

>flushed?

You *shoiuld* close() it yourself... but servlet containers tend to
do it for you to make sure.

(but good code *should* do it).


>Could this be because the output stream wasn't flushed ?

could be.



Nic Ferrier

___________________________________________________________________________
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