You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
69 lines
2.4 KiB
69 lines
2.4 KiB
2 years ago
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee"
|
||
|
xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
|
||
|
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
|
||
|
version="2.5">
|
||
|
<display-name></display-name>
|
||
|
<welcome-file-list>
|
||
|
<welcome-file>index.jsp</welcome-file>
|
||
|
</welcome-file-list>
|
||
|
<context-param>
|
||
|
<param-name>contextConfigLocation</param-name>
|
||
|
<param-value>/WEB-INF/classes/spring/applicationContext-*.xml</param-value>
|
||
|
</context-param>
|
||
|
<context-param>
|
||
|
<param-name/>
|
||
|
<param-value/>
|
||
|
</context-param>
|
||
|
<context-param>
|
||
|
<param-name/>
|
||
|
<param-value/>
|
||
|
</context-param>
|
||
|
<listener>
|
||
|
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
|
||
|
</listener>
|
||
|
<filter>
|
||
|
<filter-name>characterEncodingFilter</filter-name>
|
||
|
<filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>
|
||
|
<init-param>
|
||
|
<param-name>encoding</param-name>
|
||
|
<param-value>UTF-8</param-value>
|
||
|
</init-param>
|
||
|
<init-param>
|
||
|
<param-name>forceEncoding</param-name>
|
||
|
<param-value>true</param-value>
|
||
|
</init-param>
|
||
|
</filter>
|
||
|
<filter-mapping>
|
||
|
<filter-name>characterEncodingFilter</filter-name>
|
||
|
<url-pattern>/*</url-pattern>
|
||
|
</filter-mapping>
|
||
|
|
||
|
|
||
|
<servlet>
|
||
|
<servlet-name>springmvc</servlet-name>
|
||
|
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
|
||
|
<init-param>
|
||
|
<param-name>contextConfigLocation</param-name>
|
||
|
<param-value>classpath:spring/springmvc.xml</param-value>
|
||
|
</init-param>
|
||
|
</servlet>
|
||
|
<servlet-mapping>
|
||
|
<servlet-name>springmvc</servlet-name>
|
||
|
<url-pattern>/</url-pattern>
|
||
|
</servlet-mapping>
|
||
|
|
||
|
|
||
|
<filter>
|
||
|
<filter-name>SystemContextFilter</filter-name>
|
||
|
<filter-class>com.javapandeng.filter.SystemContextFilter</filter-class>
|
||
|
<init-param>
|
||
|
<param-name>pageSize</param-name>
|
||
|
<param-value>15</param-value>
|
||
|
</init-param>
|
||
|
</filter>
|
||
|
<filter-mapping>
|
||
|
<filter-name>SystemContextFilter</filter-name>
|
||
|
<url-pattern>/*</url-pattern>
|
||
|
</filter-mapping>
|
||
|
</web-app>
|