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: mailto:tomcat-dev-unsubscribe;jakarta.apache.org For

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 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?

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: ServletOutputStreamWrapper Thanks Craig, I'll take a look

Re: ServletOutputStreamWrapper

2002-11-12 Thread Paul Hunnisett
Actually, a good example of a ServletInputStream subclass with a read() implementation would be helpful too. I am trying to find al lthese examples in the source, but am haviong limited success tracking down the appropriate classes On Tue, 2002-11-12 at 10:13, Paul Hunnisett wrote: The main

Re: ServletOutputStreamWrapper

2002-11-12 Thread Dan Sandberg
Paul, it would be a lot easier to help if I knew what you were trying to do specifically. If you want to find a class that extends another, why not just search the source-code textually? On my unix system, I just do: findj extends ServletOutputStream where findj is an alias: alias

Re: ServletOutputStreamWrapper

2002-11-12 Thread Paul Hunnisett
Thanks Dan, I'll try that. Basically what I'm trying to do is to write my own subclasses of ServletOutputStream and ServletInputStream and I need a little bit of inspiration - especially with the write(int) and read() methods that I have to override. On Tue, 2002-11-12 at 19:06, Dan Sandberg

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: ServletOutputStreamWrapper Thanks Dan, I'll try that. Basically what

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

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 of one