Skip to content

Commit 03e97ff

Browse files
committed
Import All Eclipse modules
1 parent 7918324 commit 03e97ff

5 files changed

Lines changed: 16 additions & 3 deletions

File tree

‎spring-all/src/main/webapp/WEB-INF/web.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
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>

‎spring-freemarker/pom.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
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>
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
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.

‎spring-mvc-no-xml/src/main/resources/webSecurityConfig.xml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
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')"/>

0 commit comments

Comments
 (0)