summaryrefslogtreecommitdiffstats
path: root/build/package/WebContent/WEB-INF/web.xml
blob: 3e795d6199fc1961349e1a4531dfd37feb5bfdd5 (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
<?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>Vaadin</display-name>
	<description> Vaadin 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>Vaadin production mode</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>VaadinApplicationRunner</servlet-name>
		<servlet-class>com.vaadin.terminal.gwt.server.ApplicationRunnerServlet</servlet-class>
	</servlet>

	<!--  Feature Browser demo application -->
	<servlet>
		<servlet-name>FeatureBrowser</servlet-name>
		<servlet-class>com.vaadin.terminal.gwt.server.ApplicationServlet</servlet-class>
		<init-param>
			<param-name>application</param-name>
			<param-value>com.vaadin.demo.featurebrowser.FeatureBrowser</param-value>
		</init-param>
	</servlet>

	<!--  Sampler demo application -->
	<servlet>
		<servlet-name>Sampler</servlet-name>
		<servlet-class>com.vaadin.terminal.gwt.server.ApplicationServlet</servlet-class>
		<init-param>
			<param-name>application</param-name>
			<param-value>com.vaadin.demo.sampler.SamplerApplication</param-value>
		</init-param>
		<init-param>
			<param-name>widgetset</param-name>
			<param-value>com.vaadin.demo.sampler.gwt.SamplerWidgetSet</param-value>
		</init-param>
	</servlet>

	<!--  AddressBook demo application -->
	<servlet>
		<servlet-name>AddressBook</servlet-name>
		<servlet-class>com.vaadin.terminal.gwt.server.ApplicationServlet</servlet-class>
		<init-param>
			<param-name>application</param-name>
			<param-value>com.vaadin.demo.tutorial.addressbook.AddressBookApplication</param-value>
		</init-param>
	</servlet>

	<!-- Hello world demo application -->
	<servlet>
		<servlet-name>HelloWorld</servlet-name>
		<servlet-class>com.vaadin.terminal.gwt.server.ApplicationServlet</servlet-class>
		<init-param>
			<param-name>application</param-name>
			<param-value>com.vaadin.demo.HelloWorld</param-value>
		</init-param>
		<!--
			As an example, we will use an optimized widget set. See
			SamplerWidgetSet.gwt.xml
		-->
		<init-param>
			<param-name>widgetset</param-name>
			<param-value>com.vaadin.demo.gwt.OptimizedWidgetSet</param-value>
		</init-param>
	</servlet>

	<!-- Calculator demo application -->
	<servlet>
		<servlet-name>Calc</servlet-name>
		<servlet-class>com.vaadin.terminal.gwt.server.ApplicationServlet</servlet-class>
		<init-param>
			<param-name>application</param-name>
			<param-value>com.vaadin.demo.Calc</param-value>
		</init-param>
		<init-param>
		<!--
			As an example, we will use an optimized widget set. See
			SamplerWidgetSet.gwt.xml
		-->
			<param-name>widgetset</param-name>
			<param-value>com.vaadin.demo.gwt.OptimizedWidgetSet</param-value>
		</init-param>
	</servlet>

	<!--
		Color Picker demo application that demonstrates creation of custom
		widgets
	-->
	<servlet>
		<servlet-name>ColorPickerApplication</servlet-name>
		<servlet-class>com.vaadin.terminal.gwt.server.ApplicationServlet</servlet-class>
		<init-param>
			<param-name>application</param-name>
			<param-value>com.vaadin.demo.colorpicker.ColorPickerApplication</param-value>
		</init-param>
		<init-param>
			<param-name>widgetset</param-name>
			<param-value>com.vaadin.demo.colorpicker.gwt.ColorPickerWidgetSet</param-value>
		</init-param>
	</servlet>

	<!-- Portlet demo application -->
	<servlet>
		<servlet-name>PortletDemo</servlet-name>
		<servlet-class>com.vaadin.terminal.gwt.server.ApplicationServlet</servlet-class>
		<init-param>
			<param-name>application</param-name>
			<param-value>com.vaadin.demo.portlet.PortletDemo</param-value>
		</init-param>
	</servlet>

	<!--  Layout demo (VaadinTunes) -->
	<servlet>
		<servlet-name>VaadinTunesLayout</servlet-name>
		<servlet-class>com.vaadin.terminal.gwt.server.ApplicationServlet</servlet-class>
		<init-param>
			<param-name>application</param-name>
			<param-value>com.vaadin.demo.VaadinTunesLayout</param-value>
		</init-param>
	</servlet>

	<!--  ReindeerTheme demo -->
	<servlet>
		<servlet-name>ReindeerThemeStyles</servlet-name>
		<servlet-class>com.vaadin.terminal.gwt.server.ApplicationServlet</servlet-class>
		<init-param>
			<param-name>application</param-name>
			<param-value>com.vaadin.demo.themes.ReindeerThemeStyles</param-value>
		</init-param>
	</servlet>

	<!-- Servlet Mappings below - see servlets for comments -->
	<servlet-mapping>
		<servlet-name>PortletDemo</servlet-name>
		<url-pattern>/PortletDemo/*</url-pattern>
	</servlet-mapping>
	<servlet-mapping>
		<servlet-name>VaadinApplicationRunner</servlet-name>
		<url-pattern>/run/*</url-pattern>
	</servlet-mapping>
	<servlet-mapping>
		<servlet-name>FeatureBrowser</servlet-name>
		<url-pattern>/FeatureBrowser/*</url-pattern>
	</servlet-mapping>
	<servlet-mapping>
		<servlet-name>Sampler</servlet-name>
		<url-pattern>/sampler/*</url-pattern>
	</servlet-mapping>
	<servlet-mapping>
		<servlet-name>AddressBook</servlet-name>
		<url-pattern>/AddressBook/*</url-pattern>
	</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>
	</servlet-mapping>
	<servlet-mapping>
		<servlet-name>ColorPickerApplication</servlet-name>
		<url-pattern>/colorpicker/*</url-pattern>
	</servlet-mapping>
	<servlet-mapping>
		<servlet-name>VaadinTunesLayout</servlet-name>
		<url-pattern>/VaadinTunesLayout/*</url-pattern>
	</servlet-mapping>
	<servlet-mapping>
		<servlet-name>ReindeerThemeStyles</servlet-name>
		<url-pattern>/ReindeerTheme/*</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>