Global Filter for all Web Applications
问题 In a J2EE application, how do I create a global Filter that can access other webapps installed on that app server? 回答1: The Servlet-API does not provide such a security leak. But some containers offer alike. Have a look at the <Valve> Configuration of Apache Tomcat. Maybe there is a similar functionality for webshere, but typically you need to hire a ibm consultant to "find" the configuration. 回答2: Some application servers/servlet containers (Tomcat, JBoss) provide the cross context feature.