summaryrefslogtreecommitdiffstats
path: root/java/vaadin/src/main/WebContent/WEB-INF/web.xml
blob: f4b7f857dfe40bb0375ba289df72778358eaec26 (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
<?xml version="1.0" encoding="UTF-8"?>
<web-app id="HelloWorld" version="3.0"
    xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">

    <display-name>Hello World Vaadin</display-name>
    <description>
        Hello World in Vaadin
    </description>

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

    <session-config>
        <session-timeout>60</session-timeout>
        <!-- <tracking-mode>COOKIE</tracking-mode> -->
    </session-config>

    <servlet>
        <servlet-name>default</servlet-name>
        <servlet-class>com.vaadin.server.VaadinServlet</servlet-class>
        <init-param>
            <description>Vaadin application class to start</description>
            <param-name>UI</param-name>
            <param-value>ch.asynk.HelloWorld</param-value>
        </init-param>
        <async-supported>true</async-supported>
    </servlet>
    <servlet-mapping>
        <servlet-name>default</servlet-name>
        <url-pattern>/*</url-pattern>
    </servlet-mapping>

    <!-- <welcome-file-list> -->
        <!--   <welcome-file>index.html</welcome-file> -->
        <!--   <welcome-file>index.htm</welcome-file> -->
        <!--   <welcome-file>index.jsp</welcome-file> -->
        <!--   <welcome-file>default.html</welcome-file> -->
        <!--   <welcome-file>default.htm</welcome-file> -->
        <!--   <welcome-file>default.jsp</welcome-file> -->
        <!-- </welcome-file-list> -->
</web-app>