]> git.argeo.org Git - gpl/argeo-slc.git/blob - legacy/modules/org.argeo.slc.webapp/WEB-INF/web.xml
Use Commons 1.1.7
[gpl/argeo-slc.git] / legacy / modules / org.argeo.slc.webapp / WEB-INF / web.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
4 version="2.5">
5
6 <display-name>SLC Web Application</display-name>
7
8 <!-- SERVICE servlet -->
9 <servlet>
10 <servlet-name>slc-service</servlet-name>
11 <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
12 <init-param>
13 <param-name>contextClass</param-name>
14 <param-value>org.springframework.osgi.web.context.support.OsgiBundleXmlWebApplicationContext</param-value>
15 </init-param>
16 <load-on-startup>1</load-on-startup>
17 </servlet>
18 <servlet-mapping>
19 <servlet-name>slc-service</servlet-name>
20 <url-pattern>*.service</url-pattern>
21 </servlet-mapping>
22
23 <!-- DOC servlet : Rendering result view -->
24 <servlet>
25 <servlet-name>doc</servlet-name>
26 <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
27 <init-param>
28 <param-name>contextClass</param-name>
29 <param-value>org.springframework.osgi.web.context.support.OsgiBundleXmlWebApplicationContext</param-value>
30 </init-param>
31 </servlet>
32
33 <servlet-mapping>
34 <servlet-name>doc</servlet-name>
35 <url-pattern>*.xls</url-pattern>
36 </servlet-mapping>
37 <servlet-mapping>
38 <servlet-name>doc</servlet-name>
39 <url-pattern>*.pdf</url-pattern>
40 </servlet-mapping>
41 <servlet-mapping>
42 <servlet-name>doc</servlet-name>
43 <url-pattern>*.xslt</url-pattern>
44 </servlet-mapping>
45 <servlet-mapping>
46 <servlet-name>doc</servlet-name>
47 <url-pattern>*.xml</url-pattern>
48 </servlet-mapping>
49
50 <!-- PROVISIONING servlet -->
51 <servlet>
52 <servlet-name>provisioning</servlet-name>
53 <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
54 <init-param>
55 <param-name>contextClass</param-name>
56 <param-value>org.springframework.osgi.web.context.support.OsgiBundleXmlWebApplicationContext</param-value>
57 </init-param>
58 <load-on-startup>1</load-on-startup>
59 </servlet>
60 <servlet-mapping>
61 <servlet-name>provisioning</servlet-name>
62 <url-pattern>/dist/*</url-pattern>
63 </servlet-mapping>
64
65 <!-- JCR servlet -->
66 <servlet>
67 <servlet-name>jcr</servlet-name>
68 <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
69 <init-param>
70 <param-name>contextClass</param-name>
71 <param-value>org.springframework.osgi.web.context.support.OsgiBundleXmlWebApplicationContext</param-value>
72 </init-param>
73 <load-on-startup>1</load-on-startup>
74 </servlet>
75 <servlet-mapping>
76 <servlet-name>jcr</servlet-name>
77 <url-pattern>*.jcr</url-pattern>
78 </servlet-mapping>
79
80 <!-- JCR-MANAGER servlet -->
81 <servlet>
82 <servlet-name>jcr-manager</servlet-name>
83 <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
84 <init-param>
85 <param-name>contextClass</param-name>
86 <param-value>org.springframework.osgi.web.context.support.OsgiBundleXmlWebApplicationContext</param-value>
87 </init-param>
88 <load-on-startup>1</load-on-startup>
89 </servlet>
90
91 <servlet-mapping>
92 <servlet-name>jcr-manager</servlet-name>
93 <url-pattern>/jcr-manager/*</url-pattern>
94 </servlet-mapping>
95
96 <!-- AjaXplorer servlet -->
97 <servlet>
98 <servlet-name>ajaxplorer</servlet-name>
99 <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
100 <init-param>
101 <param-name>contextClass</param-name>
102 <param-value>org.springframework.osgi.web.context.support.OsgiBundleXmlWebApplicationContext</param-value>
103 </init-param>
104 <load-on-startup>1</load-on-startup>
105 </servlet>
106
107 <servlet-mapping>
108 <servlet-name>ajaxplorer</servlet-name>
109 <url-pattern>/ajaxplorer/*</url-pattern>
110 </servlet-mapping>
111
112 <!-- General -->
113 <context-param>
114 <param-name>contextConfigLocation</param-name>
115 <param-value>/WEB-INF/applicationContext.xml</param-value>
116 </context-param>
117
118 <listener>
119 <display-name>Spring Context</display-name>
120 <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
121 </listener>
122 <context-param>
123 <param-name>contextClass</param-name>
124 <param-value>org.springframework.osgi.web.context.support.OsgiBundleXmlWebApplicationContext</param-value>
125 </context-param>
126
127 <!-- Security
128 <filter>
129 <filter-name>springSecurityFilterChain</filter-name>
130 <filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>
131 </filter>
132
133 <filter-mapping>
134 <filter-name>springSecurityFilterChain</filter-name>
135 <url-pattern>/*</url-pattern>
136 </filter-mapping>
137
138 <context-param>
139 <param-name>argeo.security.systemKey</param-name>
140 <param-value>argeo</param-value>
141 </context-param>
142 -->
143 </web-app>