> From: "Kellner, Peter" <[EMAIL PROTECTED]>
> Sent: Friday, May 13, 2005 6:51 AM

> You suggest "system using a Filter that monitors all of the data".
> Are there any hooks in Tomcat that allow you to make this filter?  Would
> I need to modify Tomcat source to do this?  (I hope not)

Filters are a standard component of the Servlet API. You'll need to write
the filter and bundle it with your webapp. A Filter should work on any
compliant Servlet container.

You can also use a Tomcat specific Valve, which exists at a higher level
than a webapp. So, if you wanted consistent bandwidth monitoring across
several disparate webapps, a Valve would be a good solution. You wouldn't
need to modify the Tomcat source to create your own Valve (though you may
want to look at the source as an example of creating your own). I've never
done this.

> Also, I'm still hoping someone has already done something similar.  Any
> ideas on similar projects?

I'm not familiar with any, but that doesn't mean anything.

Regards,

Will Hartung
([EMAIL PROTECTED])


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to