File tree Expand file tree Collapse file tree
spring-all/src/main/webapp/WEB-INF
spring-jpa/src/main/resources
spring-mvc-no-xml/src/main/resources Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99 <servlet-class >
1010 org.springframework.web.servlet.DispatcherServlet
1111 </servlet-class >
12- <load-on-startup >1</load-on-startup >
1312 <init-param >
1413 <param-name >contextConfigLocation</param-name >
1514 <param-value >/WEB-INF/test-mvc.xml</param-value >
1615 </init-param >
16+ <load-on-startup >1</load-on-startup >
1717 </servlet >
1818
1919 <servlet-mapping >
Original file line number Diff line number Diff line change 7777 <configuration >
7878 <source >${jdk.version} </source >
7979 <target >${jdk.version} </target >
80- <failOnMissingWebXml >true </failOnMissingWebXml >
80+ <failOnMissingWebXml >false </failOnMissingWebXml >
8181 </configuration >
8282 </plugin >
8383 </plugins >
Original file line number Diff line number Diff line change 1+ <?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" version =" 3.1" >
3+ <display-name >spring4-freemarker-example</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+ </web-app >
File renamed without changes.
Original file line number Diff line number Diff line change 55 http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.2.xsd"
66>
77
8- <http access-denied-page =" /access-denied.html" use-expressions =" true" >
8+ <http use-expressions =" true" >
9+ <access-denied-handler error-page =" /access-denied.html" />
910 <intercept-url pattern =" /access-denied*" access =" hasAnyRole('ROLE_LOCATION_WRITE','ROLE_POLYGON_WRITE')" />
1011 <intercept-url pattern =" /admin/**" access =" hasAnyRole('ROLE_ADMIN')" />
1112 <intercept-url pattern =" /organization/**" access =" hasAnyRole('ROLE_ORGANIZATION')" />
You can’t perform that action at this time.
0 commit comments