summaryrefslogtreecommitdiffstats
path: root/WebContent/WEB-INF/web.xml
blob: 70c875b10cd6627062c076aad271e75ba75a850d (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
<?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">

<!-- THIS IS A DEVELOPMENT AND TESTING web.xml . -->

<web-app>
	<display-name>Vaadin</display-name>
	<description>Vaadin examples</description>

	<context-param>
		<param-name>productionMode</param-name>
		<param-value>false</param-value>
		<description>Vaadin production mode</description>
	</context-param>

	<context-param>
		<param-name>resourceCacheTime</param-name>
		<param-value>3600</param-value>
	</context-param>

	<servlet>
		<servlet-name>VaadinApplicationRunner</servlet-name>
		<servlet-class>com.vaadin.launcher.ApplicationRunnerServlet</servlet-class>
	</servlet>

	<!-- For testing GAE - the deployment script changes this to use GAEVaadinServlet -->
	<servlet>
		<servlet-name>IntegrationTest</servlet-name>
		<servlet-class>com.vaadin.server.VaadinServlet</servlet-class>
		<init-param>
			<param-name>application</param-name>
			<param-value>com.vaadin.tests.integration.IntegrationTestApplication</param-value>
		</init-param>
	</servlet>

	<servlet-mapping>
		<servlet-name>VaadinApplicationRunner</servlet-name>
		<url-pattern>/run/*</url-pattern>
	</servlet-mapping>

	<servlet-mapping>
		<servlet-name>IntegrationTest</servlet-name>
		<url-pattern>/integration/*</url-pattern>
	</servlet-mapping>

	<servlet-mapping>
		<servlet-name>IntegrationTest</servlet-name>
		<url-pattern>/VAADIN/*</url-pattern>
	</servlet-mapping>

	<welcome-file-list>
		<welcome-file>index.html</welcome-file>
	</welcome-file-list>

</web-app>