11<?xml version =" 1.0" encoding =" UTF-8" ?>
2- <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_2_5.xsd" version =" 2.5" >
3- <context-param >
4- <param-name >contextClass</param-name >
5- <param-value >
2+ <web-app xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3+ xmlns=" http://java.sun.com/xml/ns/javaee"
4+ xsi:schemaLocation=" http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
5+ version=" 2.5" >
6+
7+ <context-param >
8+ <param-name >contextClass</param-name >
9+ <param-value >
610 org.springframework.web.context.support.AnnotationConfigWebApplicationContext
711 </param-value >
8- </context-param >
9- <context-param >
10- <param-name >contextConfigLocation</param-name >
11- <param-value >org.baeldung.spring</param-value >
12- </context-param >
13- <listener >
14- <listener-class >org.springframework.web.context.ContextLoaderListener</listener-class >
15- </listener >
16- <servlet >
17- <servlet-name >mvc</servlet-name >
18- <servlet-class >org.springframework.web.servlet.DispatcherServlet</servlet-class >
19- <load-on-startup >1</load-on-startup >
20- </servlet >
21- <servlet-mapping >
22- <servlet-name >mvc</servlet-name >
23- <url-pattern >/</url-pattern >
24- </servlet-mapping >
25- <filter >
26- <filter-name >springSecurityFilterChain</filter-name >
27- <filter-class >org.springframework.web.filter.DelegatingFilterProxy</filter-class >
28- </filter >
29- <filter-mapping >
30- <filter-name >springSecurityFilterChain</filter-name >
31- <url-pattern >/*</url-pattern >
32- </filter-mapping >
33- <filter >
34- <filter-name >localizationFilter</filter-name >
35- <filter-class >org.springframework.web.filter.RequestContextFilter</filter-class >
36- </filter >
37- <filter-mapping >
38- <filter-name >localizationFilter</filter-name >
39- <url-pattern >/*</url-pattern >
40- </filter-mapping >
12+ </context-param >
13+ <context-param >
14+ <param-name >contextConfigLocation</param-name >
15+ <param-value >org.baeldung.spring</param-value >
16+ </context-param >
17+
18+ <listener >
19+ <listener-class >org.springframework.web.context.ContextLoaderListener</listener-class >
20+ </listener >
21+
22+ <servlet >
23+ <servlet-name >mvc</servlet-name >
24+ <servlet-class >org.springframework.web.servlet.DispatcherServlet</servlet-class >
25+ <load-on-startup >1</load-on-startup >
26+ </servlet >
27+ <servlet-mapping >
28+ <servlet-name >mvc</servlet-name >
29+ <url-pattern >/</url-pattern >
30+ </servlet-mapping >
31+
32+ <filter >
33+ <filter-name >springSecurityFilterChain</filter-name >
34+ <filter-class >org.springframework.web.filter.DelegatingFilterProxy</filter-class >
35+ </filter >
36+ <filter-mapping >
37+ <filter-name >springSecurityFilterChain</filter-name >
38+ <url-pattern >/*</url-pattern >
39+ </filter-mapping >
40+ <filter >
41+ <filter-name >localizationFilter</filter-name >
42+ <filter-class >org.springframework.web.filter.RequestContextFilter</filter-class >
43+ </filter >
44+ <filter-mapping >
45+ <filter-name >localizationFilter</filter-name >
46+ <url-pattern >/*</url-pattern >
47+ </filter-mapping >
48+
4149</web-app >
0 commit comments