]> git.argeo.org Git - gpl/argeo-slc.git/blob - org.argeo.slc.webapp/src/main/webapp/WEB-INF/web.xml
Test with RMI
[gpl/argeo-slc.git] / org.argeo.slc.webapp / src / main / webapp / WEB-INF / web.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <web-app 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 version="2.5">
6
7 <display-name>SLC Web Application</display-name>
8
9 <servlet>
10 <servlet-name>slc-ws</servlet-name>
11 <servlet-class>
12 org.springframework.ws.transport.http.MessageDispatcherServlet
13 </servlet-class>
14 </servlet>
15
16 <servlet-mapping>
17 <servlet-name>slc-ws</servlet-name>
18 <url-pattern>/slcService/*</url-pattern>
19 </servlet-mapping>
20
21 <servlet>
22 <servlet-name>slc-web</servlet-name>
23 <servlet-class>
24 org.springframework.web.servlet.DispatcherServlet
25 </servlet-class>
26 </servlet>
27
28 <servlet-mapping>
29 <servlet-name>slc-web</servlet-name>
30 <url-pattern>*.web</url-pattern>
31 </servlet-mapping>
32
33 <servlet>
34 <servlet-name>xslt</servlet-name>
35 <servlet-class>
36 org.springframework.web.servlet.DispatcherServlet
37 </servlet-class>
38 </servlet>
39
40 <servlet-mapping>
41 <servlet-name>xslt</servlet-name>
42 <url-pattern>*.xslt</url-pattern>
43 </servlet-mapping>
44
45 <servlet>
46 <servlet-name>doc</servlet-name>
47 <servlet-class>
48 org.springframework.web.servlet.DispatcherServlet
49 </servlet-class>
50 </servlet>
51
52 <servlet-mapping>
53 <servlet-name>doc</servlet-name>
54 <url-pattern>*.xls</url-pattern>
55 </servlet-mapping>
56 <servlet-mapping>
57 <servlet-name>doc</servlet-name>
58 <url-pattern>*.pdf</url-pattern>
59 </servlet-mapping>
60
61 <context-param>
62 <param-name>contextConfigLocation</param-name>
63 <param-value>/WEB-INF/applicationContext.xml</param-value>
64 </context-param>
65
66 <listener>
67 <display-name>Spring Context</display-name>
68 <listener-class>
69 org.springframework.web.context.ContextLoaderListener
70 </listener-class>
71 </listener>
72
73 <jsp-config>
74 <jsp-property-group>
75 <url-pattern>*.jsp</url-pattern>
76 <page-encoding>ISO-8859-1</page-encoding>
77 <include-prelude>
78 /WEB-INF/specific/prelude.jspf
79 </include-prelude>
80 <include-coda>/WEB-INF/specific/coda.jspf</include-coda>
81 </jsp-property-group>
82 </jsp-config>
83
84 <!-- Env refs -->
85 <resource-env-ref>
86 <resource-env-ref-name>jdbc/mainDs</resource-env-ref-name>
87 <resource-env-ref-type>
88 javax.sql.DataSource
89 </resource-env-ref-type>
90 </resource-env-ref>
91
92 <!-- Log4j configContext loader config -->
93 <listener>
94 <display-name>Log4j</display-name>
95 <listener-class>
96 org.springframework.web.util.Log4jConfigListener
97 </listener-class>
98 </listener>
99 <context-param>
100 <param-name>log4jConfigLocation</param-name>
101 <param-value>/WEB-INF/classes/log4j.properties</param-value>
102 </context-param>
103 <context-param>
104 <param-name>log4jRefreshInterval</param-name>
105 <param-value>5000</param-value>
106 </context-param>
107
108 </web-app>