Resetting the buffer
843833Sep 19 2001 — edited Nov 13 2001Hello.
In my servlet I set the buffer size by calling response.setBufferSize(16*1024);
I use PrintWriter to return html, but if the error occurs I call response.reset() to clear all content and send a error message. But it doesn't work - I get "cannot reset buffer after output has been sent" error. Does it mean I have to use other output stream, not PrintWriter?