Project

General

Profile

1
<?xml version="1.0" encoding="UTF-8"?>
2
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee"
3
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
         xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
5

    
6
    <context-param>
7
        <param-name>log4jConfigLocation</param-name>
8
        <param-value>/WEB-INF/log4j.properties</param-value>
9
    </context-param>
10
    <context-param>
11
        <param-name>log4jRefreshInterval</param-name>
12
        <param-value>1000</param-value>
13
    </context-param>
14
    <context-param>
15
        <param-name>log4jExposeWebAppRoot</param-name>
16
        <param-value>false</param-value>
17
    </context-param>
18

    
19

    
20
    <!--<filter>
21
        <filter-name>springSessionRepositoryFilter</filter-name>
22
        <filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>
23
    </filter>
24
    <filter-mapping>
25
        <filter-name>springSessionRepositoryFilter</filter-name>
26
        <url-pattern>/*</url-pattern>
27
        <dispatcher>REQUEST</dispatcher>
28
        <dispatcher>ERROR</dispatcher>
29
    </filter-mapping>-->
30

    
31
    <filter>
32
        <filter-name>springSecurityFilterChain</filter-name>
33
        <filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>
34
    </filter>
35
    <filter-mapping>
36
        <filter-name>springSecurityFilterChain</filter-name>
37
        <url-pattern>/*</url-pattern>
38
    </filter-mapping>
39

    
40
    <listener>
41
        <listener-class>org.springframework.web.util.Log4jConfigListener</listener-class>
42
    </listener>
43

    
44

    
45
    <listener>
46
        <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
47
    </listener>
48

    
49
    <context-param>
50
        <param-name>contextConfigLocation</param-name>
51
        <param-value>/WEB-INF/applicationContext.xml
52
        </param-value>
53
    </context-param>
54

    
55
     <!--SpringGwt remote service servlet-->
56
    <servlet>
57
        <servlet-name>springGwtRemoteServiceServlet</servlet-name>
58
        <servlet-class>eu.dnetlib.gwt.server.service.SpringGwtRemoteServiceServlet</servlet-class>
59
    </servlet>
60
    <servlet-mapping>
61
        <servlet-name>springGwtRemoteServiceServlet</servlet-name>
62
        <url-pattern>/RepositoryManager/springGwtServices/*</url-pattern>
63
    </servlet-mapping>
64

    
65
    <!-- Default page to serve -->
66
    <welcome-file-list>
67
        <welcome-file>RepositoryManager.html</welcome-file>
68
    </welcome-file-list>
69

    
70
</web-app>
(4-4/4)