Last active
July 19, 2017 09:57
-
-
Save safeJar/5283208c91d40180ad251f88f0c671b2 to your computer and use it in GitHub Desktop.
springmvc web.xml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?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" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" | |
| version="3.0"> | |
| <display-name>camera calibrate</display-name> | |
| <context-param> | |
| <param-name>contextConfigLocation</param-name> | |
| <param-value> | |
| classpath*:/application.xml | |
| </param-value> | |
| </context-param> | |
| <filter> | |
| <filter-name>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> | |
| <init-param> | |
| <param-name>forceEncoding</param-name> | |
| <param-value>true</param-value> | |
| </init-param> | |
| </filter> | |
| <filter-mapping> | |
| <filter-name>encoding</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:/application.xml</param-value> | |
| </init-param> | |
| <load-on-startup>1</load-on-startup> | |
| </servlet> | |
| <servlet-mapping> | |
| <servlet-name>springmvc</servlet-name> | |
| <url-pattern>*.html</url-pattern> | |
| </servlet-mapping> | |
| <welcome-file-list> | |
| <welcome-file>index.html</welcome-file> | |
| <welcome-file>index.htm</welcome-file> | |
| <welcome-file>index.jsp</welcome-file> | |
| <welcome-file>default.html</welcome-file> | |
| <welcome-file>default.htm</welcome-file> | |
| <welcome-file>default.jsp</welcome-file> | |
| </welcome-file-list> | |
| </web-app> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment