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
|
<listener>
|
19
|
<listener-class>org.springframework.web.util.Log4jConfigListener</listener-class>
|
20
|
</listener>
|
21
|
|
22
|
|
23
|
<listener>
|
24
|
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
|
25
|
</listener>
|
26
|
|
27
|
<context-param>
|
28
|
<param-name>contextConfigLocation</param-name>
|
29
|
<param-value>/WEB-INF/applicationContext.xml
|
30
|
</param-value>
|
31
|
</context-param>
|
32
|
|
33
|
<!--<listener>-->
|
34
|
<!--<listener-class>eu.dnetlib.repo.manager.server.config.RepoManagerContextLoaderListener</listener-class>-->
|
35
|
<!--</listener>-->
|
36
|
|
37
|
<!-- Servlets -->
|
38
|
|
39
|
<!--<servlet>-->
|
40
|
<!--<servlet-name>dispatcher</servlet-name>-->
|
41
|
<!--<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>-->
|
42
|
<!--<init-param>-->
|
43
|
<!--<param-name>contextConfigLocation</param-name>-->
|
44
|
<!--<param-value>WEB-INF/servlet-context.xml</param-value>-->
|
45
|
<!--</init-param>-->
|
46
|
<!--<load-on-startup>1</load-on-startup>-->
|
47
|
<!--</servlet>-->
|
48
|
<!--<servlet-mapping>-->
|
49
|
<!--<servlet-name>dispatcher</servlet-name>-->
|
50
|
<!--<url-pattern>/RepositoryManager/springGwtServices/*</url-pattern>-->
|
51
|
<!--</servlet-mapping>-->
|
52
|
|
53
|
<!--SpringGwt remote service servlet-->
|
54
|
<servlet>
|
55
|
<servlet-name>springGwtRemoteServiceServlet</servlet-name>
|
56
|
<servlet-class>eu.dnetlib.gwt.server.service.SpringGwtRemoteServiceServlet</servlet-class>
|
57
|
</servlet>
|
58
|
<servlet-mapping>
|
59
|
<servlet-name>springGwtRemoteServiceServlet</servlet-name>
|
60
|
<url-pattern>/RepositoryManager/springGwtServices/*</url-pattern>
|
61
|
</servlet-mapping>
|
62
|
|
63
|
<!-- Default page to serve -->
|
64
|
<welcome-file-list>
|
65
|
<welcome-file>RepositoryManager.html</welcome-file>
|
66
|
</welcome-file-list>
|
67
|
|
68
|
</web-app>
|