summaryrefslogtreecommitdiffstats
path: root/build/package/WebContent/WEB-INF/web.xml
blob: ecc4f0fcff93569b9c1162ad7205603f5bfc74ac (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
<?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>

	<!--  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>

	<!-- 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>

	<!-- 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>AddressBook</servlet-name>
		<url-pattern>/AddressBook/*</url-pattern>
	</servlet-mapping>

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