diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2017-03-13 00:38:54 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2017-03-13 00:38:54 +0100 |
commit | 4c2590c4566478a81d4d26e824f9c2db37ba157b (patch) | |
tree | c40047576c99fdd1b57925dd5cf2bd5a44b19086 /java/vaadin/src/main/WebContent/WEB-INF/web.xml | |
parent | 118b98b5936e420af72bc2534d45c5bdedc50a35 (diff) | |
download | share-4c2590c4566478a81d4d26e824f9c2db37ba157b.zip share-4c2590c4566478a81d4d26e824f9c2db37ba157b.tar.gz |
java : vaadin : simple Hello World
Diffstat (limited to 'java/vaadin/src/main/WebContent/WEB-INF/web.xml')
-rw-r--r-- | java/vaadin/src/main/WebContent/WEB-INF/web.xml | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/java/vaadin/src/main/WebContent/WEB-INF/web.xml b/java/vaadin/src/main/WebContent/WEB-INF/web.xml new file mode 100644 index 0000000..f4b7f85 --- /dev/null +++ b/java/vaadin/src/main/WebContent/WEB-INF/web.xml @@ -0,0 +1,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> |