one filter for all webapps?

2006-06-23 Thread Dean Hiller
Is there any way to install a ServletFilter that is run before all webapps(including the default servlet as well)? thanks, dean

Re: one filter for all webapps?

2006-06-23 Thread Filip Hanik - Dev Lists
in tomcat you can write a Valve http://tomcat.apache.org/tomcat-5.5-doc/config/valve.html this is tomcat specific, so it wouldn't be portable across containers. Filip Dean Hiller wrote: Is there any way to install a ServletFilter that is run before all webapps(including the default

Re: one filter for all webapps?

2006-06-23 Thread Jon Wingfield
Can't you add the filter to conf/web.xml? I think tomcat (conceptually) folds all of conf.xml into each webapp's web.xml. Again, this behaviour is tomcat specific but at least the filter isn't. Jon Filip Hanik - Dev Lists wrote: in tomcat you can write a Valve

Re: one filter for all webapps?

2006-06-23 Thread Filip Hanik - Dev Lists
didn't even think about that, yes, and put the compiled filter into common/lib or common/classes Filip Jon Wingfield wrote: Can't you add the filter to conf/web.xml? I think tomcat (conceptually) folds all of conf.xml into each webapp's web.xml. Again, this behaviour is tomcat specific but