|
@@ -0,0 +1,107 @@
|
|
|
+<?xml version="1.0" encoding="UTF-8"?>
|
|
|
+<web-app id="WebApp_ID" version="2.5"
|
|
|
+ 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_5.xsd">
|
|
|
+ <display-name>driveAssist</display-name>
|
|
|
+ <context-param>
|
|
|
+ <param-name>contextConfigLocation</param-name>
|
|
|
+ <param-value>/WEB-INF/config/applicationContext.xml</param-value>
|
|
|
+ </context-param>
|
|
|
+
|
|
|
+ <listener>
|
|
|
+ <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
|
|
|
+ </listener>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <servlet>
|
|
|
+ <servlet-name>dispatcherServlet</servlet-name>
|
|
|
+ <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
|
|
|
+ <init-param>
|
|
|
+ <param-name>contextConfigLocation</param-name>
|
|
|
+ <param-value>
|
|
|
+ /WEB-INF/config/spring-servlet.xml
|
|
|
+ </param-value>
|
|
|
+ </init-param>
|
|
|
+ <load-on-startup>1</load-on-startup>
|
|
|
+ </servlet>
|
|
|
+
|
|
|
+ <servlet-mapping>
|
|
|
+ <servlet-name>dispatcherServlet</servlet-name>
|
|
|
+ <url-pattern>*.do</url-pattern>
|
|
|
+ </servlet-mapping>
|
|
|
+
|
|
|
+
|
|
|
+ <welcome-file-list>
|
|
|
+ <welcome-file>/default.html</welcome-file>
|
|
|
+ </welcome-file-list>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <filter>
|
|
|
+ <filter-name>Set Character Encoding</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>
|
|
|
+
|
|
|
+ </filter>
|
|
|
+ <filter-mapping>
|
|
|
+ <filter-name>Set Character Encoding</filter-name>
|
|
|
+ <url-pattern>/*</url-pattern>
|
|
|
+ </filter-mapping>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <!-- <filter>
|
|
|
+ <filter-name>sessionTimeOutFilter</filter-name>
|
|
|
+ <filter-class>
|
|
|
+ com.hb.proj.utils.SessionTimeoutFilter
|
|
|
+ </filter-class>
|
|
|
+ <init-param>
|
|
|
+ <param-name>extpaths</param-name>
|
|
|
+ <param-value>
|
|
|
+ /auth/login.do
|
|
|
+ ,/auth/logout.do
|
|
|
+ ,/default.html
|
|
|
+ ,/login.html
|
|
|
+ ,/nologin.html
|
|
|
+ ,/loginSwitch.html
|
|
|
+ ,/wx
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ </param-value>
|
|
|
+ </init-param>
|
|
|
+ <init-param>
|
|
|
+ <param-name>loginPage</param-name>
|
|
|
+ <param-value>
|
|
|
+ /default.html
|
|
|
+ </param-value>
|
|
|
+ </init-param>
|
|
|
+ </filter>
|
|
|
+
|
|
|
+ <filter-mapping>
|
|
|
+ <filter-name>sessionTimeOutFilter</filter-name>
|
|
|
+ <url-pattern>*.do</url-pattern>
|
|
|
+ </filter-mapping>
|
|
|
+
|
|
|
+ <filter-mapping>
|
|
|
+ <filter-name>sessionTimeOutFilter</filter-name>
|
|
|
+ <url-pattern>*.html</url-pattern>
|
|
|
+ </filter-mapping>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <session-config>
|
|
|
+ <session-timeout>120</session-timeout>
|
|
|
+ </session-config> -->
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</web-app>
|