tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yoav Shapira" <yoa...@MIT.EDU>
Subject RE: Callback after Servlet.service() ?
Date Sat, 09 Jul 2005 19:46:56 GMT
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
yoavsh@sloan.mit.edu / yoavs@computer.org

> -----Original Message-----
> From: Mark Palmer [mailto:bikerx1969@yahoo.com]
> Sent: Saturday, July 09, 2005 3:44 PM
> To: tomcat-dev@jakarta.apache.org
> Cc: mark@java-jedi.net
> 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: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message