Yes - but tomcat doesn't have that functionality out of the box - you'd
need to write a filter which creates a HttpServletRequestWrapper which
overrides getOutputStream() (or getWriter()) and then passes back a
wrapped OutStream or Writer which also logs to wherever when print(int
i) is called.
-Tim
ben short wrote:
Hi Tim,
Thanks for that, but it only seems to log out the request/response
headers. Is It possible to log everything sent to the client?
Ben
On 7/24/07, Tim Funk <[EMAIL PROTECTED]> wrote:
Look at the RequestDumperValve
-Tim
ben short wrote:
> Hi,
>
> I using Tomcat 6.0.13 and Spring 2.0.6. I have been involved in
> developing a website that products pages in various formats , such as
> www, xml, wap and pda. We are having some issues with wap and pda, but
> cant ciew the html source thats being shown on the devices.
> We can view the html source in firefox using a wap and pda plugin, but
> the issues are not always the same or there at all.
>
> What I would like to do is log all the data sent to the client. I have
> been looking at encapsulating the HttpServletRequest and log out the
> data to a log file.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]