Import All Eclipse modules
This commit is contained in:
parent
7918324702
commit
03e97ffe0e
|
@ -9,11 +9,11 @@
|
||||||
<servlet-class>
|
<servlet-class>
|
||||||
org.springframework.web.servlet.DispatcherServlet
|
org.springframework.web.servlet.DispatcherServlet
|
||||||
</servlet-class>
|
</servlet-class>
|
||||||
<load-on-startup>1</load-on-startup>
|
|
||||||
<init-param>
|
<init-param>
|
||||||
<param-name>contextConfigLocation</param-name>
|
<param-name>contextConfigLocation</param-name>
|
||||||
<param-value>/WEB-INF/test-mvc.xml</param-value>
|
<param-value>/WEB-INF/test-mvc.xml</param-value>
|
||||||
</init-param>
|
</init-param>
|
||||||
|
<load-on-startup>1</load-on-startup>
|
||||||
</servlet>
|
</servlet>
|
||||||
|
|
||||||
<servlet-mapping>
|
<servlet-mapping>
|
||||||
|
|
|
@ -77,7 +77,7 @@
|
||||||
<configuration>
|
<configuration>
|
||||||
<source>${jdk.version}</source>
|
<source>${jdk.version}</source>
|
||||||
<target>${jdk.version}</target>
|
<target>${jdk.version}</target>
|
||||||
<failOnMissingWebXml>true</failOnMissingWebXml>
|
<failOnMissingWebXml>false</failOnMissingWebXml>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
|
|
|
@ -0,0 +1,12 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<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">
|
||||||
|
<display-name>spring4-freemarker-example</display-name>
|
||||||
|
<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>
|
|
@ -5,7 +5,8 @@
|
||||||
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.2.xsd"
|
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.2.xsd"
|
||||||
>
|
>
|
||||||
|
|
||||||
<http access-denied-page="/access-denied.html" use-expressions="true">
|
<http use-expressions="true">
|
||||||
|
<access-denied-handler error-page="/access-denied.html" />
|
||||||
<intercept-url pattern="/access-denied*" access="hasAnyRole('ROLE_LOCATION_WRITE','ROLE_POLYGON_WRITE')"/>
|
<intercept-url pattern="/access-denied*" access="hasAnyRole('ROLE_LOCATION_WRITE','ROLE_POLYGON_WRITE')"/>
|
||||||
<intercept-url pattern="/admin/**" access="hasAnyRole('ROLE_ADMIN')"/>
|
<intercept-url pattern="/admin/**" access="hasAnyRole('ROLE_ADMIN')"/>
|
||||||
<intercept-url pattern="/organization/**" access="hasAnyRole('ROLE_ORGANIZATION')"/>
|
<intercept-url pattern="/organization/**" access="hasAnyRole('ROLE_ORGANIZATION')"/>
|
||||||
|
|
Loading…
Reference in New Issue