A ByteArrayOutputStream can be useful.
Marco
----- Original Message -----
From: "Hans Liebenberg" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 28, 2001 3:02 PM
Subject: Buffering Response
> Hi,
>
> How do you buffer the response. I.e The response must only be sent to the
> output stream after the request is complete.
> Obviously when I call response.sendRedirect() and out put has already been
> sent it bombs.
>
___________________________________________________________________________
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