Servlet filters

Hi there,What I would like to do is figure out how much data in bytes the server is passing back to a client in the servlet response.Does anyone know how I might achieve this?I was thinking a servletfilter but there must be a simpler way?Thanks in advance
[290 byte] By [tileysa] at [2007-10-2 20:14:59]
# 1
Check the log files. My jboss/tomcat server logs the size of the response, along with other things, in the localhost_access_log.YYYY-MM-DD.log files.
jleecha at 2007-7-13 22:57:13 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
Sorry, I was not clear, I would like to do this in code so I can monitor how much data is being sent for a particular session id
tileysa at 2007-7-13 22:57:13 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...