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
    <filter>
19
        <filter-name>springSecurityFilterChain</filter-name>
20
        <filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>
21
    </filter>
22
    <filter-mapping>
23
        <filter-name>springSecurityFilterChain</filter-name>
24
        <url-pattern>/*</url-pattern>
25
    </filter-mapping>
26
    <listener>
27
        <listener-class>org.springframework.web.util.Log4jConfigListener</listener-class>
28
    </listener>
29

    
30

    
31
    <listener>
32
        <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
33
    </listener>
34

    
35
    <context-param>
36
        <param-name>contextConfigLocation</param-name>
37
        <param-value>/WEB-INF/applicationContext.xml
38
        </param-value>
39
    </context-param>
40

    
41
    <!--<listener>-->
42
        <!--<listener-class>eu.dnetlib.repo.manager.server.config.RepoManagerContextLoaderListener</listener-class>-->
43
    <!--</listener>-->
44

    
45
    <!-- Servlets -->
46

    
47
    <!--<servlet>-->
48
        <!--<servlet-name>dispatcher</servlet-name>-->
49
        <!--<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>-->
50
        <!--<init-param>-->
51
            <!--<param-name>contextConfigLocation</param-name>-->
52
            <!--<param-value>WEB-INF/servlet-context.xml</param-value>-->
53
        <!--</init-param>-->
54
        <!--<load-on-startup>1</load-on-startup>-->
55
    <!--</servlet>-->
56
    <!--<servlet-mapping>-->
57
        <!--<servlet-name>dispatcher</servlet-name>-->
58
        <!--<url-pattern>/RepositoryManager/springGwtServices/*</url-pattern>-->
59
    <!--</servlet-mapping>-->
60

    
61
     <!--SpringGwt remote service servlet-->
62
    <servlet>
63
        <servlet-name>springGwtRemoteServiceServlet</servlet-name>
64
        <servlet-class>eu.dnetlib.gwt.server.service.SpringGwtRemoteServiceServlet</servlet-class>
65
    </servlet>
66
    <servlet-mapping>
67
        <servlet-name>springGwtRemoteServiceServlet</servlet-name>
68
        <url-pattern>/RepositoryManager/springGwtServices/*</url-pattern>
69
    </servlet-mapping>
70

    
71
    <!-- Default page to serve -->
72
    <welcome-file-list>
73
        <welcome-file>RepositoryManager.html</welcome-file>
74
    </welcome-file-list>
75

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