108 lines
3.2 KiB
XML
108 lines
3.2 KiB
XML
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<!--<web-app 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_3_0.xsd" version="3.0">-->
|
||
|
<web-app 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" version="2.5">
|
||
|
|
||
|
<display-name>ENDR Print WEB</display-name>
|
||
|
|
||
|
<context-param>
|
||
|
<param-name>LOCALE</param-name>
|
||
|
<param-value>en-US</param-value>
|
||
|
</context-param>
|
||
|
|
||
|
|
||
|
<servlet>
|
||
|
<servlet-name>dispatcher</servlet-name>
|
||
|
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
|
||
|
<load-on-startup>1</load-on-startup>
|
||
|
</servlet>
|
||
|
|
||
|
|
||
|
<servlet>
|
||
|
<servlet-name>InitialServlet</servlet-name>
|
||
|
<servlet-class>th.co.muangthai.endrprint.InitialServlet</servlet-class>
|
||
|
<load-on-startup>0</load-on-startup>
|
||
|
</servlet>
|
||
|
|
||
|
<servlet>
|
||
|
<servlet-name>DownloadServlet</servlet-name>
|
||
|
<servlet-class>th.co.muangthai.endrprint.DownloadServlet</servlet-class>
|
||
|
</servlet>
|
||
|
|
||
|
<servlet-mapping>
|
||
|
<servlet-name>DownloadServlet</servlet-name>
|
||
|
<url-pattern>/download</url-pattern>
|
||
|
</servlet-mapping>
|
||
|
|
||
|
<servlet-mapping>
|
||
|
<servlet-name>InitialServlet</servlet-name>
|
||
|
<url-pattern>/InitialServlet</url-pattern>
|
||
|
</servlet-mapping>
|
||
|
|
||
|
|
||
|
<servlet-mapping>
|
||
|
<servlet-name>dispatcher</servlet-name>
|
||
|
<!-- <url-pattern>/forms/*</url-pattern> -->
|
||
|
<url-pattern>*.json</url-pattern>
|
||
|
</servlet-mapping>
|
||
|
|
||
|
|
||
|
<filter>
|
||
|
<filter-name>encodingFilter</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>encodingFilter</filter-name>
|
||
|
<url-pattern>/*</url-pattern>
|
||
|
</filter-mapping>
|
||
|
|
||
|
<filter>
|
||
|
<filter-name>SessionCheckFilter</filter-name>
|
||
|
<filter-class>th.co.muangthai.endrprint.controller.interceptor.SessionCheckFilter</filter-class>
|
||
|
</filter>
|
||
|
<filter-mapping>
|
||
|
<filter-name>SessionCheckFilter</filter-name>
|
||
|
|
||
|
<url-pattern>*.jsp</url-pattern>
|
||
|
</filter-mapping>
|
||
|
|
||
|
|
||
|
<welcome-file-list>
|
||
|
<welcome-file>index.jsp</welcome-file>
|
||
|
</welcome-file-list>
|
||
|
|
||
|
|
||
|
|
||
|
<error-page>
|
||
|
<error-code>404</error-code>
|
||
|
<location>/errorpage/404.jsp</location>
|
||
|
|
||
|
</error-page>
|
||
|
|
||
|
<session-config>
|
||
|
<session-timeout>60</session-timeout>
|
||
|
</session-config>
|
||
|
|
||
|
<jsp-config>
|
||
|
<taglib>
|
||
|
<taglib-uri>http://www.v-smart.com/fn</taglib-uri>
|
||
|
<taglib-location> /WEB-INF/tld/vsm.tld
|
||
|
</taglib-location>
|
||
|
</taglib>
|
||
|
</jsp-config>
|
||
|
|
||
|
|
||
|
</web-app>
|