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-14 Thread Paul Hunnisett
getOutputStream? Paul Hunnisett www.lombok.org.uk -- To unsubscribe, e-mail: <mailto:tomcat-dev-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-dev-help@;jakarta.apache.org>

Re: ServletOutputStreamWrapper

2002-11-12 Thread Paul Hunnisett
s ServletOutputStream" > > where findj is an alias: > > alias findj='find . -name "*.java" -not -path "*/autogenerated/*" | > xargs grep' > > which returns: > > ./util/ssi/ServletOutputStreamWrapper.java:extends ServletOutputSt

Tomcat I/O

2002-11-12 Thread Paul Hunnisett
I assume that somewhere in Tomcat are some classes that extend ServletOutputStream and ServletInputStream? I've been looking through the source trying to find them but I'm afraid I can't see what they are. Is anyone able to shed any light on this for me? Paul Hunnisett www.lombok

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 m

Re: ServletOutputStreamWrapper

2002-11-12 Thread Paul Hunnisett
cessing a page, so that we may include the > contents of one page within another. > > o.a.c.servlets.SsiInvokerServlet calls the writeTo method. If you have > any questions after looking at the source-code, let us know. > > >Is anyone familiar with this class? > > Y

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

ServletOutputStreamWrapper

2002-11-11 Thread Paul Hunnisett
e web application won't be calling it. So I assume that the server calls it, but how does the server know when to write the buffer out? Any information would be appreciated. Paul Hunnisett -- To unsubscribe, e-mail: <mailto:tomcat-dev-unsubscribe@;jakarta.apache.org> For additional

RE: Tomcat and Beans

2001-06-28 Thread Paul Hunnisett
he bean is created for the entire application? I think what you might want here is a session-scoped bean? We can take this off list if you want; just email me. - r > -Original Message- > From: Paul Hunnisett [mailto:[EMAIL PROTECTED]] > Sent: June 28, 2001 8:46 AM > To: [EMAIL PR

RE: Tomcat and Beans

2001-06-28 Thread Paul Hunnisett
mean? How are these beans being instantiated and added to the application? Paul Hunnisett wrote: > > The application is not being shut down! Yet somehow my beans are getting > "reset". > > Paul > > -Original Message- > From: Robert Slifka [mailto:[EMAIL

RE: Tomcat and Beans

2001-06-28 Thread Paul Hunnisett
rogramming Language, 3rd. Ed" "When an application exits, no further GC is performed, so any objects that have not yet been collected will not have their finalize() methods invoked." - r > -----Original Message- > From: Paul Hunnisett [mailto:[EMAIL PROTECTED]] > Sent: Jun

RE: Tomcat and Beans

2001-06-28 Thread Paul Hunnisett
It was, however, regularly reset so I put in the serialization. This made no difference. It still gets reset. Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Geir Magnusson Jr. Sent: 28 June 2001 13:10 To: [EMAIL PROTECTED] Subject: Re: Tomcat and Beans

Tomcat and Beans

2001-06-28 Thread Paul Hunnisett
garbage collect it(which would call my finalize() method) but this doesn't seem to happen. The bean get's created fine, but not serialized properly. What is Tomcat doing? Paul Hunnisett