you could build up the response in a string throughout the servlet and at
the end decide to redirect or output the string

don't know if this has memory implications though

ed

-----Original Message-----
From: Hans Liebenberg [mailto:[EMAIL PROTECTED]]
Sent: 28 August 2001 14:03
To: [EMAIL PROTECTED]
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.

Thanks
Hans

___________________________________________________________________________
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