<?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 THE DEVELOPMENT web.xml Package web.xml can be found in build/package, 
	please update it too when making changes that should affect the package. -->


<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.terminal.gwt.server.ApplicationRunnerServlet</servlet-class>
		<init-param>
			<param-name>defaultPackages</param-name>
		    <param-value>com.vaadin.tests,com.vaadin.demo,com.vaadin.tests.tickets,com.vaadin.tests.components,com.vaadin.tests.components.layouts,com.vaadin.tests.components.panel,com.vaadin.tests.components.combobox,com.vaadin.tests.components.popupview,com.vaadin.tests.components.datefield,com.vaadin.tests.components.richtextarea,com.vaadin.tests.components.absolutelayout,com.vaadin.tests.components.embedded,com.vaadin.tests.components.splitpanel,com.vaadin.tests.components.abstractfield,com.vaadin.tests.components.form,com.vaadin.tests.components.table,com.vaadin.tests.components.accordion,com.vaadin.tests.components.label,com.vaadin.tests.components.tabsheet,com.vaadin.tests.components.beanitemcontainer,com.vaadin.tests.components.link,com.vaadin.tests.components.textfield,com.vaadin.tests.components.button,com.vaadin.tests.components.optiongroup,com.vaadin.tests.components.tree,com.vaadin.tests.components.caption,com.vaadin.tests.components.orderedlayout,com.vaadin.tests.components.window,com.vaadin.tests.dd,com.vaadin.tests.validation</param-value>
		</init-param>
	</servlet>


	<servlet>
		<servlet-name>RobustnessSimple</servlet-name>
		<servlet-class>com.vaadin.terminal.gwt.server.ApplicationServlet</servlet-class>
		<init-param>
			<param-name>application</param-name>
			<param-value>com.vaadin.tests.robustness.RobustnessSimple</param-value>
		</init-param>
	</servlet>


	<servlet>
		<servlet-name>DemoTestBench</servlet-name>
		<servlet-class>com.vaadin.terminal.gwt.server.ApplicationServlet</servlet-class>
		<init-param>
			<param-name>application</param-name>
			<param-value>com.vaadin.demo.testbench.TestBench</param-value>
		</init-param>
	</servlet>
	<servlet>
		<servlet-name>TestForNativeWindowing</servlet-name>
		<servlet-class>com.vaadin.terminal.gwt.server.ApplicationServlet</servlet-class>
		<init-param>
			<param-name>application</param-name>
			<param-value>com.vaadin.tests.TestForNativeWindowing</param-value>
		</init-param>
	</servlet>

	<servlet>
		<servlet-name>TestSplitPanel</servlet-name>
		<servlet-class>com.vaadin.terminal.gwt.server.ApplicationServlet</servlet-class>
		<init-param>
			<param-name>application</param-name>
			<param-value>com.vaadin.tests.TestSplitPanel</param-value>
		</init-param>
	</servlet>

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

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

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

	<servlet>
		<servlet-name>TestBench</servlet-name>
		<servlet-class>com.vaadin.terminal.gwt.server.ApplicationServlet</servlet-class>
		<init-param>
			<param-name>application</param-name>
			<param-value>com.vaadin.tests.TestBench</param-value>
		</init-param>
	</servlet>

	<servlet>
		<servlet-name>RandomLayoutStress</servlet-name>
		<servlet-class>com.vaadin.terminal.gwt.server.ApplicationServlet</servlet-class>
		<init-param>
			<param-name>application</param-name>
			<param-value>com.vaadin.tests.RandomLayoutStress</param-value>
		</init-param>
	</servlet>

	<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>
		<servlet-name>CustomLayoutDemo</servlet-name>
		<servlet-class>com.vaadin.terminal.gwt.server.ApplicationServlet</servlet-class>
		<init-param>
			<param-name>application</param-name>
			<param-value>com.vaadin.tests.CustomLayoutDemo</param-value>
		</init-param>
	</servlet>

	<servlet>
		<servlet-name>LayoutDemo</servlet-name>
		<servlet-class>com.vaadin.terminal.gwt.server.ApplicationServlet</servlet-class>
		<init-param>
			<param-name>application</param-name>
			<param-value>com.vaadin.tests.LayoutDemo</param-value>
		</init-param>
	</servlet>

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

	<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>
		<servlet-name>RunoTheme</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.RunoTheme</param-value>
		</init-param>
	</servlet>

	<servlet>
		<servlet-name>FeaturesApplication</servlet-name>
		<servlet-class>com.vaadin.terminal.gwt.server.ApplicationServlet</servlet-class>
		<init-param>
			<param-name>application</param-name>
			<param-value>com.vaadin.tests.featurebrowser.FeaturesApplication</param-value>
		</init-param>
	</servlet>

	<servlet>
		<servlet-name>Parameters</servlet-name>
		<servlet-class>com.vaadin.terminal.gwt.server.ApplicationServlet</servlet-class>
		<init-param>
			<param-name>application</param-name>
			<param-value>com.vaadin.tests.Parameters</param-value>
		</init-param>
	</servlet>

	<servlet>
		<servlet-name>UpgradingSample</servlet-name>
		<servlet-class>com.vaadin.terminal.gwt.server.ApplicationServlet</servlet-class>
		<init-param>
			<param-name>application</param-name>
			<param-value>com.vaadin.tests.UpgradingSample</param-value>
		</init-param>
	</servlet>

	<servlet>
		<servlet-name>TreeFilesystemContainer</servlet-name>
		<servlet-class>com.vaadin.terminal.gwt.server.ApplicationServlet</servlet-class>
		<init-param>
			<param-name>application</param-name>
			<param-value>com.vaadin.tests.TreeFilesystemContainer</param-value>
		</init-param>
		<!-- Set this property if demo cannot access context base directory because 
			of Application Server or Servlet Container security constraints -->
		<!-- <init-param> <param-name>sampleDirectory</param-name> <param-value>/mySampleDirectory</param-value> 
			</init-param> -->
	</servlet>

	<servlet>
		<servlet-name>TreeFilesystem</servlet-name>
		<servlet-class>com.vaadin.terminal.gwt.server.ApplicationServlet</servlet-class>
		<init-param>
			<param-name>application</param-name>
			<param-value>com.vaadin.tests.TreeFilesystem</param-value>
		</init-param>
		<!-- Set this property if demo cannot access context base directory because 
			of Application Server or Servlet Container security constraints -->
		<!-- <init-param> <param-name>sampleDirectory</param-name> <param-value>/mySampleDirectory</param-value> 
			</init-param> -->
	</servlet>

	<servlet>
		<servlet-name>ModalWindow</servlet-name>
		<servlet-class>com.vaadin.terminal.gwt.server.ApplicationServlet</servlet-class>
		<init-param>
			<param-name>application</param-name>
			<param-value>com.vaadin.tests.ModalWindow</param-value>
		</init-param>
	</servlet>

	<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>
	</servlet>

	<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>
	</servlet>

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

	<servlet>
		<servlet-name>GAESyncTest</servlet-name>
		<servlet-class>com.vaadin.terminal.gwt.server.GAEApplicationServlet</servlet-class>
		<init-param>
			<param-name>application</param-name>
			<param-value>com.vaadin.tests.appengine.GAESyncTest</param-value>
		</init-param>
	</servlet>

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

	<servlet-mapping>
		<servlet-name>DemoTestBench</servlet-name>
		<url-pattern>/DemoTestBench/*</url-pattern>
	</servlet-mapping>
	<servlet-mapping>
		<servlet-name>TestForNativeWindowing</servlet-name>
		<url-pattern>/TestForNativeWindowing/*</url-pattern>
	</servlet-mapping>


	<servlet-mapping>
		<servlet-name>RobustnessSimple</servlet-name>
		<url-pattern>/RobustnessSimple/*</url-pattern>
	</servlet-mapping>

	<servlet-mapping>
		<servlet-name>TestSplitPanel</servlet-name>
		<url-pattern>/TestSplitPanel/*</url-pattern>
	</servlet-mapping>

	<servlet-mapping>
		<servlet-name>RandomLayoutStress</servlet-name>
		<url-pattern>/RandomLayoutStress/*</url-pattern>
	</servlet-mapping>

	<servlet-mapping>
		<servlet-name>TestBench</servlet-name>
		<url-pattern>/TestBench/*</url-pattern>
	</servlet-mapping>
	<servlet-mapping>
		<servlet-name>TestBench</servlet-name>
		<url-pattern>/t/*</url-pattern>
	</servlet-mapping>

	<servlet-mapping>
		<servlet-name>CustomLayoutDemo</servlet-name>
		<url-pattern>/CustomLayoutDemo/*</url-pattern>
	</servlet-mapping>

	<servlet-mapping>
		<servlet-name>LayoutDemo</servlet-name>
		<url-pattern>/LayoutDemo/*</url-pattern>
	</servlet-mapping>

	<servlet-mapping>
		<servlet-name>VaadinTunesLayout</servlet-name>
		<url-pattern>/VaadinTunesLayout/*</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>FeaturesApplication</servlet-name>
		<url-pattern>/FeaturesApplication/*</url-pattern>
	</servlet-mapping>

	<servlet-mapping>
		<servlet-name>Parameters</servlet-name>
		<url-pattern>/Parameters/*</url-pattern>
	</servlet-mapping>

	<servlet-mapping>
		<servlet-name>UpgradingSample</servlet-name>
		<url-pattern>/UpgradingSample/*</url-pattern>
	</servlet-mapping>

	<servlet-mapping>
		<servlet-name>TreeFilesystemContainer</servlet-name>
		<url-pattern>/TreeFilesystemContainer/*</url-pattern>
	</servlet-mapping>

	<servlet-mapping>
		<servlet-name>TreeFilesystem</servlet-name>
		<url-pattern>/TreeFilesystem/*</url-pattern>
	</servlet-mapping>

	<servlet-mapping>
		<servlet-name>ModalWindow</servlet-name>
		<url-pattern>/ModalWindow/*</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>PortletDemo</servlet-name>
		<url-pattern>/PortletDemo/*</url-pattern>
	</servlet-mapping>

	<servlet-mapping>
		<servlet-name>GAESyncTest</servlet-name>
		<url-pattern>/gaesynctest/*</url-pattern>
	</servlet-mapping>

	<servlet-mapping>
		<servlet-name>AddressBook</servlet-name>
		<url-pattern>/AddressBook/*</url-pattern>
	</servlet-mapping>

	<servlet-mapping>
		<servlet-name>ReindeerThemeStyles</servlet-name>
		<url-pattern>/ReindeerTheme/*</url-pattern>
	</servlet-mapping>

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