| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- <?xml version="1.0" encoding="UTF-8"?>
- <web-app version="2.4"
- xmlns="http://java.sun.com/xml/ns/j2ee"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
- <context-param>
- <param-name>contextConfigLocation</param-name>
- <param-value>classpath*:spring/ctx*.xml</param-value>
- </context-param>
- <filter>
- <filter-name>compositeFilter</filter-name>
- <filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>
- <init-param>
- <param-name>targetFilterLifecycle</param-name>
- <param-value>true</param-value>
- </init-param>
- </filter>
- <filter-mapping>
- <filter-name>compositeFilter</filter-name>
- <url-pattern>/*</url-pattern>
- </filter-mapping>
- <listener>
- <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
- </listener>
- <listener>
- <listener-class>com.mossle.core.spring.ProxyServletListener</listener-class>
- </listener>
- <error-page>
- <error-code>401</error-code>
- <location>/common/401.jsp</location>
- </error-page>
- <error-page>
- <error-code>403</error-code>
- <location>/common/403.jsp</location>
- </error-page>
- <error-page>
- <error-code>404</error-code>
- <location>/common/404.jsp</location>
- </error-page>
- <error-page>
- <error-code>500</error-code>
- <location>/common/500.jsp</location>
- </error-page>
- <error-page>
- <exception-type>java.lang.Throwable</exception-type>
- <location>/common/500.jsp</location>
- </error-page>
- </web-app>
|