<?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 GAEApplicationServlet -->
	<servlet>
		<servlet-name>IntegrationTest</servlet-name>
		<servlet-class>com.vaadin.terminal.gwt.server.ApplicationServlet</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>
