-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Michael,

Michael Ludwig wrote:
> Christopher Schultz schrieb am 12.11.2008 um 14:46:08 (-0500):
>> What you need to do is provide a unified buffer that /both/ calls can
>> write to. If you use a ByteArrayOutputStream at the lowest level and
>> then wrap that in an OutputStreamWriter for calls to getWriter(), you
>> should be able to handle arbitrary use of your wrapper.
> 
> This sounds very reasonable. I followed this road. Unfortunately, the
> included resource still is written elsewhere. Or maybe not flushed?

What do you mean, it's still written elsewhere?

>> Hope that helps,
> 
> Yes, this has helped. Thanks!
> 
> Anyway, what I would like to have is a trace of the method calls that
> are done by Tomcats's DefaultServlet. Is there a way to get one?

If you can wrap the object that's being called (like the request, or the
output stream/writer) then you can write your own logging statements at
appropriate times.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkkgvhQACgkQ9CaO5/Lv0PAC0ACgplWTifnCyqv7r69k5eGlxbeY
Ic0An2+VCCmCBVJGonpX50bRnGJ9N3fP
=Ay8r
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to