11<?xml version =" 1.0" encoding =" UTF-8" ?>
2- <web-app xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xmlns =" http://xmlns.jcp.org/xml/ns/javaee" xsi : schemaLocation =" http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd" id =" WebApp_ID" version =" 3.1" >
3- <display-name >spring-mvc-demo</display-name >
4- <welcome-file-list >
5- <welcome-file >index.html</welcome-file >
6- <welcome-file >index.htm</welcome-file >
7- <welcome-file >index.jsp</welcome-file >
8- <welcome-file >default.html</welcome-file >
9- <welcome-file >default.htm</welcome-file >
10- <welcome-file >default.jsp</welcome-file >
11- </welcome-file-list >
12- <servlet >
13- <description >Spring Front Controller</description >
14- <display-name >Spring Dispatcher Servlet</display-name >
15- <servlet-name >springMvcDemo</servlet-name >
16- <servlet-class >org.springframework.web.servlet.DispatcherServlet</servlet-class >
17- <init-param >
18- <param-name >contextConfigLocation</param-name >
19- <param-value >classpath:/springMvcDemo.xml</param-value >
20- </init-param >
21- <load-on-startup >1</load-on-startup >
22- </servlet >
23- <servlet-mapping >
24- <servlet-name >springMvcDemo</servlet-name >
25- <url-pattern >/</url-pattern >
26- </servlet-mapping >
2+ <web-app xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3+ xmlns=" http://xmlns.jcp.org/xml/ns/javaee"
4+ xsi:schemaLocation=" http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"
5+ id=" WebApp_ID" version =" 3.1" >
6+ <display-name >spring-mvc-demo</display-name >
7+ <welcome-file-list >
8+ <welcome-file >index.html</welcome-file >
9+ <welcome-file >index.htm</welcome-file >
10+ <welcome-file >index.jsp</welcome-file >
11+ <welcome-file >default.html</welcome-file >
12+ <welcome-file >default.htm</welcome-file >
13+ <welcome-file >default.jsp</welcome-file >
14+ </welcome-file-list >
15+ <servlet >
16+ <description >Spring Front Controller</description >
17+ <display-name >Spring Dispatcher Servlet</display-name >
18+ <servlet-name >springMvcDemo</servlet-name >
19+ <servlet-class >org.springframework.web.servlet.DispatcherServlet</servlet-class >
20+ <init-param >
21+ <param-name >contextConfigLocation</param-name >
22+ <param-value >classpath:/springMvcDemo.xml</param-value >
23+ </init-param >
24+ <load-on-startup >1</load-on-startup >
25+ </servlet >
26+ <servlet-mapping >
27+ <servlet-name >springMvcDemo</servlet-name >
28+ <url-pattern >/</url-pattern >
29+ </servlet-mapping >
2730</web-app >
0 commit comments