summaryrefslogtreecommitdiffstats
path: root/WebContent/WEB-INF/web.xml
blob: 442a2cb84bc28c46fed568c73b4d9e3db24d47f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
	<display-name>IT Mill Toolkit</display-name>
	<description> IT Mill Toolkit examples </description>
	<!--
		Turn off productionMode (off by default). Setting productionMode=true
		disables debug features. In when this is off, you can show debug
		window by adding ?debug to your application URL. Always set this true
		in production environment.
	-->
	<context-param>
		<param-name>productionMode</param-name>
		<param-value>false</param-value>
		<description>IT Mill Toolkit production mode</description>
	</context-param>
	<!--
		Permit use of IT Mill Testing Tools for this servlet continer. Do not
		use this in production environment.
	-->
	<context-param>
		<param-name>testingToolsActive</param-name>
		<param-value>true</param-value>
		<description>IT Mill Testing Tools activation</description>
	</context-param>
	<!--
		Specify the IT Mill Testing Tools server URI. Do not use this in
		production environment.
	-->
	<context-param>
		<param-name>testingToolsServerUri</param-name>
		<param-value>http://192.168.1.242:8099/TestingToolsServer</param-value>
		<description>IT Mill Testing Tools URI</description>
	</context-param>
	<!--
		Enable possibility to run any Java class as application from this
		servlet. For example, if this servlet is mapped to /run, your foo.App
		class can be run in /run/foo.App/. Do not deploy this servlet in
		production environment.
	-->
	<servlet>
		<servlet-name>ITMillToolkitApplicationRunner</servlet-name>
		<servlet-class>com.itmill.toolkit.terminal.gwt.server.ApplicationServlet</servlet-class>
		<init-param>
			<param-name>applicationRunner</param-name>
			<param-value>true</param-value>
		</init-param>
	</servlet>
	<!--  Feature Browser demo application -->
	<servlet>
		<servlet-name>FeatureBrowser</servlet-name>
		<servlet-class>com.itmill.toolkit.terminal.gwt.server.ApplicationServlet</servlet-class>
		<init-param>
			<param-name>application</param-name>
			<param-value>com.itmill.toolkit.demo.featurebrowser.FeatureBrowser</param-value>
		</init-param>
	</servlet>
	<!--  Reservr demo application -->
	<servlet>
		<servlet-name>Reservr</servlet-name>
		<servlet-class>com.itmill.toolkit.terminal.gwt.server.ApplicationServlet</servlet-class>
		<init-param>
			<param-name>application</param-name>
			<param-value>com.itmill.toolkit.demo.reservation.ReservationApplication</param-value>
		</init-param>
		<init-param>
			<param-name>widgetset</param-name>
			<param-value>com.itmill.toolkit.demo.reservation.gwt.ReservationWidgetSet</param-value>
		</init-param>
	</servlet>
	<!-- Version of the Reservr to be run  as a portlet -->
	<servlet>
		<servlet-name>SimpleReserver</servlet-name>
		<servlet-class>com.itmill.toolkit.terminal.gwt.server.ApplicationServlet</servlet-class>
		<init-param>
			<param-name>application</param-name>
			<param-value>com.itmill.toolkit.demo.reservation.simple.SimpleReserver</param-value>
		</init-param>
		<init-param>
			<param-name>widgetset</param-name>
			<param-value>com.itmill.toolkit.demo.reservation.gwt.ReservationWidgetSet</param-value>
		</init-param>
	</servlet>
	<!--  Buffered components demo app (shown in Windowed demos) -->
	<servlet>
		<servlet-name>BufferedComponents</servlet-name>
		<servlet-class>com.itmill.toolkit.terminal.gwt.server.ApplicationServlet</servlet-class>
		<init-param>
			<param-name>application</param-name>
			<param-value>com.itmill.toolkit.demo.BufferedComponents</param-value>
		</init-param>
	</servlet>
	<!-- Table demo application (shown in Windowed demos) -->
	<servlet>
		<servlet-name>TableDemo</servlet-name>
		<servlet-class>com.itmill.toolkit.terminal.gwt.server.ApplicationServlet</servlet-class>
		<init-param>
			<param-name>application</param-name>
			<param-value>com.itmill.toolkit.demo.TableDemo</param-value>
		</init-param>
	</servlet>
	<!-- Calendar demo application (shown in Windowed demos) -->
	<servlet>
		<servlet-name>CalendarDemo</servlet-name>
		<servlet-class>com.itmill.toolkit.terminal.gwt.server.ApplicationServlet</servlet-class>
		<init-param>
			<param-name>application</param-name>
			<param-value>com.itmill.toolkit.demo.reservation.CalendarDemo</param-value>
		</init-param>
		<init-param>
			<param-name>widgetset</param-name>
			<param-value>com.itmill.toolkit.demo.reservation.gwt.ReservationWidgetSet</param-value>
		</init-param>
	</servlet>
	<!-- Filtering select demo -->
	<servlet>
		<servlet-name>FilterSelect</servlet-name>
		<servlet-class>com.itmill.toolkit.terminal.gwt.server.ApplicationServlet</servlet-class>
		<init-param>
			<param-name>application</param-name>
			<param-value>com.itmill.toolkit.demo.FilterSelect</param-value>
		</init-param>
	</servlet>
	<!-- Hello world demo application -->
	<servlet>
		<servlet-name>HelloWorld</servlet-name>
		<servlet-class>com.itmill.toolkit.terminal.gwt.server.ApplicationServlet</servlet-class>
		<init-param>
			<param-name>application</param-name>
			<param-value>com.itmill.toolkit.demo.HelloWorld</param-value>
		</init-param>
	</servlet>
	<!-- Calculator demo application -->
	<servlet>
		<servlet-name>Calc</servlet-name>
		<servlet-class>com.itmill.toolkit.terminal.gwt.server.ApplicationServlet</servlet-class>
		<init-param>
			<param-name>application</param-name>
			<param-value>com.itmill.toolkit.demo.Calc</param-value>
		</init-param>
	</servlet>
	<!--  Keyboard shortcuts demo application -->
	<servlet>
		<servlet-name>KeyboardShortcut</servlet-name>
		<servlet-class>com.itmill.toolkit.terminal.gwt.server.ApplicationServlet</servlet-class>
		<init-param>
			<param-name>application</param-name>
			<param-value>com.itmill.toolkit.demo.KeyboardShortcut</param-value>
		</init-param>
	</servlet>
	<!--
		Color Picker demo application that demonstrates creation of custom
		widgets
	-->
	<servlet>
		<servlet-name>ColorPickerApplication</servlet-name>
		<servlet-class>com.itmill.toolkit.terminal.gwt.server.ApplicationServlet</servlet-class>
		<init-param>
			<param-name>application</param-name>
			<param-value>com.itmill.toolkit.demo.colorpicker.ColorPickerApplication</param-value>
		</init-param>
		<init-param>
			<param-name>widgetset</param-name>
			<param-value>com.itmill.toolkit.demo.colorpicker.gwt.ColorPickerWidgetSet</param-value>
		</init-param>
	</servlet>
	<!-- Caching demo application that demonstrates paint optimization -->
	<servlet>
		<servlet-name>CachingDemo</servlet-name>
		<servlet-class>com.itmill.toolkit.terminal.gwt.server.ApplicationServlet</servlet-class>
		<init-param>
			<param-name>application</param-name>
			<param-value>com.itmill.toolkit.demo.CachingDemo</param-value>
		</init-param>
	</servlet>
	<!-- Notification demo application -->
	<servlet>
		<servlet-name>NotificationDemo</servlet-name>
		<servlet-class>com.itmill.toolkit.terminal.gwt.server.ApplicationServlet</servlet-class>
		<init-param>
			<param-name>application</param-name>
			<param-value>com.itmill.toolkit.demo.NotificationDemo</param-value>
		</init-param>
	</servlet>
 	<!-- Select demo application (shown in Windowed demos) -->
	<servlet>
		<servlet-name>SelectDemo</servlet-name>
		<servlet-class>com.itmill.toolkit.terminal.gwt.server.ApplicationServlet</servlet-class>
		<init-param>
			<param-name>application</param-name>
			<param-value>com.itmill.toolkit.demo.SelectDemo</param-value>
		</init-param>
	</servlet>
	<!-- Browser demo application -->
	<servlet>
		<servlet-name>BrowserDemo</servlet-name>
		<servlet-class>com.itmill.toolkit.terminal.gwt.server.ApplicationServlet</servlet-class>
		<init-param>
			<param-name>application</param-name>
			<param-value>com.itmill.toolkit.demo.BrowserDemo</param-value>
		</init-param>
	</servlet>
	<!-- Windowed demos application -->
	<servlet>
		<servlet-name>WindowedDemos</servlet-name>
		<servlet-class>com.itmill.toolkit.terminal.gwt.server.ApplicationServlet</servlet-class>
		<init-param>
			<param-name>application</param-name>
			<param-value>com.itmill.toolkit.demo.WindowedDemos</param-value>
		</init-param>
	</servlet>
	<!-- Portlet demo application -->
	<servlet>
		<servlet-name>PortletDemo</servlet-name>
		<servlet-class>com.itmill.toolkit.terminal.gwt.server.ApplicationServlet</servlet-class>
		<init-param>
			<param-name>application</param-name>
			<param-value>com.itmill.toolkit.demo.PortletDemo</param-value>
		</init-param>
	</servlet>
	<!-- Servlet Mappings below - see servlets for comments -->
	<servlet-mapping>
		<servlet-name>PortletDemo</servlet-name>
		<url-pattern>/PortletDemo/*</url-pattern>
		<!-- Hint for the automatic deployment descriptor generator -->
    	<!-- portlet -->
	</servlet-mapping>
	<servlet-mapping>
		<servlet-name>ITMillToolkitApplicationRunner</servlet-name>
		<url-pattern>/run/*</url-pattern>
	</servlet-mapping>
	<servlet-mapping>
		<servlet-name>Reservr</servlet-name>
		<url-pattern>/Reservr/*</url-pattern>
	</servlet-mapping>
	<servlet-mapping>
		<servlet-name>SimpleReserver</servlet-name>
		<url-pattern>/SimpleReserver/*</url-pattern>
		<!-- Hint for the automatic deployment descriptor generator -->		
    	<!-- portlet style=height:400px -->
	</servlet-mapping>
	<servlet-mapping>
		<servlet-name>CalendarDemo</servlet-name>
		<url-pattern>/CalendarDemo/*</url-pattern>
	</servlet-mapping>
	<servlet-mapping>
		<servlet-name>SelectDemo</servlet-name>
		<url-pattern>/SelectDemo/*</url-pattern>
		<!-- Hint for the automatic deployment descriptor generator -->		
	    <!-- portlet -->
	</servlet-mapping>
	<servlet-mapping>
		<servlet-name>BufferedComponents</servlet-name>
		<url-pattern>/BufferedComponents/*</url-pattern>
	</servlet-mapping>
	<servlet-mapping>
		<servlet-name>TableDemo</servlet-name>
		<url-pattern>/TableDemo/*</url-pattern>
    	<!-- Hint for the automatic deployment descriptor generator -->		
    	<!-- portlet -->
	</servlet-mapping>
	<servlet-mapping>
		<servlet-name>FilterSelect</servlet-name>
		<url-pattern>/FilterSelect/*</url-pattern>
		<!-- Hint for the automatic deployment descriptor generator -->		
	    <!-- portlet -->
	</servlet-mapping>
	<servlet-mapping>
		<servlet-name>FeatureBrowser</servlet-name>
		<url-pattern>/FeatureBrowser/*</url-pattern>
		<!-- Hint for the automatic deployment descriptor generator -->		
	    <!-- portlet style=height:650px -->
	</servlet-mapping>
	<servlet-mapping>
		<servlet-name>HelloWorld</servlet-name>
		<url-pattern>/HelloWorld/*</url-pattern>
	</servlet-mapping>
	<servlet-mapping>
		<servlet-name>Calc</servlet-name>
		<url-pattern>/Calc/*</url-pattern>
		<!-- Hint for the automatic deployment descriptor generator -->		
	    <!-- portlet -->
	</servlet-mapping>
	<servlet-mapping>
		<servlet-name>KeyboardShortcut</servlet-name>
		<url-pattern>/KeyboardShortcut/*</url-pattern>
	</servlet-mapping>
	<servlet-mapping>
		<servlet-name>ColorPickerApplication</servlet-name>
		<url-pattern>/colorpicker/*</url-pattern>
	</servlet-mapping>
	<servlet-mapping>
		<servlet-name>CachingDemo</servlet-name>
		<url-pattern>/CachingDemo/*</url-pattern>
	</servlet-mapping>
	<servlet-mapping>
		<servlet-name>NotificationDemo</servlet-name>
		<url-pattern>/NotificationDemo/*</url-pattern>
		<!-- Hint for the automatic deployment descriptor generator -->		
	    <!-- portlet -->
	</servlet-mapping>
	<servlet-mapping>
		<servlet-name>BrowserDemo</servlet-name>
		<url-pattern>/BrowserDemo/*</url-pattern>
		<!-- Hint for the automatic deployment descriptor generator -->		
	    <!-- portlet style=height:650px -->
	</servlet-mapping>
	<servlet-mapping>
		<servlet-name>WindowedDemos</servlet-name>
		<url-pattern>/WindowedDemos/*</url-pattern>
	</servlet-mapping>
	<welcome-file-list>
		<welcome-file>index.jsp</welcome-file>
		<welcome-file>index.html</welcome-file>
		<welcome-file>index.htm</welcome-file>
	</welcome-file-list>
</web-app>