RE: ServletOutputStreamWrapper

2002-11-15 Thread Paul Hunnisett
Duh! Thank you - why ddn't I think of that! On Fri, 2002-11-15 at 09:01, Martin Algesten wrote: > Java tip: > > System.out.println( request.getInputStream().getClass().getName() ); > > and all shall be revealed. -- To unsubscribe, e-mail:

RE: ServletOutputStreamWrapper

2002-11-15 Thread Martin Algesten
Java tip: System.out.println( request.getInputStream().getClass().getName() ); and all shall be revealed. Martin -Original Message- From: Paul Hunnisett [mailto:develop@;lombok.org.uk] Sent: 14 November 2002 20:05 To: Tomcat Developers List Subject: Re: ServletOutputStreamWrapper

Re: ServletOutputStreamWrapper

2002-11-14 Thread Craig R. McClanahan
On 14 Nov 2002, Paul Hunnisett wrote: > Date: 14 Nov 2002 20:05:07 + > From: Paul Hunnisett <[EMAIL PROTECTED]> > Reply-To: Tomcat Developers List <[EMAIL PROTECTED]> > To: Tomcat Developers List <[EMAIL PROTECTED]> > Subject: Re: ServletOutputStreamWrap

Re: ServletOutputStreamWrapper

2002-11-14 Thread Paul Hunnisett
Thanks Craig, I'll take a look at that - hope fully it'll help me to move forward. I'm somewhat confused though - surely Tomcat must have subclasses of ServletInputStream and ServletOutputStream? What gets returned when an application call request.getInputStream() or response.getOutputStream? Pa

Re: ServletOutputStreamWrapper

2002-11-12 Thread Craig R. McClanahan
On 12 Nov 2002, Paul Hunnisett wrote: > Date: 12 Nov 2002 19:38:18 + > From: Paul Hunnisett <[EMAIL PROTECTED]> > Reply-To: Tomcat Developers List <[EMAIL PROTECTED]> > To: Tomcat Developers List <[EMAIL PROTECTED]> > Subject: Re: ServletOutputStreamWrap

Re: ServletOutputStreamWrapper

2002-11-12 Thread Paul Hunnisett
ind a good way of overriding the write(int) method of > >>OutputStream in a server context. Is there another class which extends > >>ServletOutputStream and would give me a more real world example? > >> > >>On Tue, 2002-11-12 at 00:03, Dan Sandberg wrote: > >>

Re: ServletOutputStreamWrapper

2002-11-12 Thread Dan Sandberg
berg wrote: Hi Paul. That class is specific to the server-side include code, so the server doesn't need to know anything about the writeTo method. Basically, the ServletOutputStreamWrapper is used so that we can capture the result of Tomcat processing a page, so that we may inc

Re: ServletOutputStreamWrapper

2002-11-12 Thread Paul Hunnisett
1-12 at 00:03, Dan Sandberg wrote: > > Hi Paul. > > > > That class is specific to the server-side include code, so the server > > doesn't need to know anything about the writeTo method. > > > > Basically, the ServletOutputStreamWrapper is used so that

Re: ServletOutputStreamWrapper

2002-11-12 Thread Paul Hunnisett
, Dan Sandberg wrote: > Hi Paul. > > That class is specific to the server-side include code, so the server > doesn't need to know anything about the writeTo method. > > Basically, the ServletOutputStreamWrapper is used so that we can capture > the result of Tomcat pro

Re: ServletOutputStreamWrapper

2002-11-11 Thread Dan Sandberg
Hi Paul. That class is specific to the server-side include code, so the server doesn't need to know anything about the writeTo method. Basically, the ServletOutputStreamWrapper is used so that we can capture the result of Tomcat processing a page, so that we may include the contents o

Re: ServletOutputStreamWrapper

2002-11-11 Thread Paul Hunnisett
Is anyone familiar with this class? On Mon, 2002-11-11 at 11:14, Paul Hunnisett wrote: > I have been examining the source code for > org.apache.catalina.util.ssi.ServletOutputStreamWrapper and I discovered > a writeTo() method that writes the current buffer to the OutputStream. > What I can't q

ServletOutputStreamWrapper

2002-11-11 Thread Paul Hunnisett
I have been examining the source code for org.apache.catalina.util.ssi.ServletOutputStreamWrapper and I discovered a writeTo() method that writes the current buffer to the OutputStream. What I can't quite see is how this method would be called. It is not part of the servlet spec, so the web appli