Hi Joona,

> I don't. I checked the file jsdk2.0\src\javax\servlet\http\
> HttpResponse.java and there is no mention of a flush method. Is this a
> JSDK2.1 method, or have you just dreamed it up?

because:-

java.lang.Object
  |
  +--java.io.OutputStream
        |
        +--javax.servlet.ServletOutputStream

I think you'll find that there is a java.io.OutputStream.flush()

Also if you wrap it up in a java.io.PrintWriter youcan use the constructor

java.io.PrintWriter(OutputStream out, boolean autoFlush);

Karl

___________________________________________________________________________
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