日期:2014-05-18 浏览次数:20885 次
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
<!-- 单点登对项目内过滤器, 负责将登录信息组装到URL中 -->
<filter>
<filter-name>AccessToExternal</filter-name>
<filter-class>
gmt.boss.iom.login.util.AccessToExternalFilter
</filter-class>
</filter>
<filter-mapping>
<filter-name>AccessToExternal</filter-name>
<url-pattern>/FilterSign/*</url-pattern>
</filter-mapping>
<!-- 单点登对项目外部访问过滤器, 负责将URL登录信息保存到session中 -->
<filter>
<filter-name>DelegatingFilterProxy</filter-name>
<filter-class>
org.springframework.web.filter.DelegatingFilterProxy
</filter-class>
<init-param>
<param-name>targetBeanName</param-name>
<param-value>ExternalLoginFilterRes</param-value>
</init-param>
<init-param>
<param-name>targetFilterLifecycle</param-name>
<param-value>true</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>DelegatingFilterProxy</filter-name>
<url-pattern>/InFilterSign/*</url-pattern>
</filter-mapping>
<filter>
<filter-name>PermitFilter</filter-name>
<filter-class>
gmt.boss.iom.login.util.PermitFilter
</filter-class>
</filter>
<filter-mapping>
<filter-name>PermitFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<filter>
<filter-name>struts2</filter-name>
<filter-class>
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter
</filter-class>
</filter>
<filter-mapping>
<filter-name>struts2</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<listener>
<listener-class>
org.springframework.web.context.ContextLoaderListener
</listener-class>
</listener>
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>
/WEB-INF/applicationContext.xml,classpath*:applicationContext.xml
</param-value>
</context-param>
<display-name>Eclipse BIRT Report Viewer</display-name>
<!-- Default locale setting -->
<context-param>
<param-name>BIRT_VIEWER_LOCALE</param-name>
<param-value>en-US</param-value>
</context-param>
<!-- Report resources directory for preview. Default to ${birt home} -->
<context-param>
<param-name>BIRT_VIEWER_WORKING_FOLDER</param-name>