On Thu, 18 Feb 1999, Henner Zeller wrote:

> Hi,
> On Wed, 17 Feb 1999, Ed Korthof wrote:
> EK |I suppose a good solution would be to have this default to the reasonable
> EK |behavior (getWriter()) -- and to create a configuration parameter which
> EK |will cause it to use getOutputStream, for backwards compatibility.
> 
> what about creating a SSIHttpServletResponse for each servlet in the page
> which individually may choose to either use getWriter() or
> getOutputStream(). The underlaying SSI uses the outputStream.

Um, that'd also make sense.  <snicker self> It looks like that's what
SSIHttpServletResponse does.  I vaguely remember writing the initial
version of that after getting sick of these bug reports -- though looking
at now, it's clear that I left rather rough edges which others have
smoothed out.

The SSIHttpServletResponse is created on a per-request (not per-servlet) 
basis, but does provide the functionality described above...

Ed



----------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://www.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to