Hey, You could write a ServletRequestListener and include it in tomcat's conf/web.xml. But as always, be careful messing with other apps without changing their WARs, it's generally a recipe for a disaster.
Yoav Shapira System Design and Management Fellow MIT Sloan School of Management / School of Engineering Cambridge, MA USA [EMAIL PROTECTED] / [EMAIL PROTECTED] > -----Original Message----- > From: Mark Palmer [mailto:[EMAIL PROTECTED] > Sent: Saturday, July 09, 2005 3:44 PM > To: tomcat-dev@jakarta.apache.org > Cc: [EMAIL PROTECTED] > Subject: Callback after Servlet.service() ? > > I have started on a small utility/project to provide > both JTA and usefull Connection handling utilities > (i.e. close() :-) for tomcat, under a BSD licence. > > My goal is to provide it as a utiltiy that can be > installed into common/lib. > > I need a callback after every Http request is > processed. I understand that a servlet filter could > provide this functionality. However I do not want to > modify an application's *.war file. I want to be able > to use this on third party apps. Is there such a > mechanism in tomcat, say through server.xml or some > other public API? > > Or perhaps a suggestion? > > Thanks > Mark > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]