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.context.ContextLoaderListener</listener-class>
42
    </listener>
43

    
44
    <context-param>
45
        <param-name>contextConfigLocation</param-name>
46
        <param-value>/WEB-INF/applicationContext.xml
47
        </param-value>
48
    </context-param>
49

    
50
     <listener>
51
       <listener-class>org.springframework.web.util.Log4jConfigListener</listener-class>
52
     </listener>
53

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

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

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