From 57358ba8a4420a490212319733c8bfac7da5621a Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Thu, 2 May 2013 08:42:30 +0300 Subject: [PATCH] Updated web.xml to use servlet 3.0 and added a 2.4 compatible web.xml for older test servers (#11688) Change-Id: Iff9a4b0bbe70832ced7d71e1cfc0855cc0026320 --- WebContent/WEB-INF/web.xml | 8 +- WebContent/WEB-INF/web.xml.2.4 | 131 +++++++++++++++++++++++++++++++++ 2 files changed, 136 insertions(+), 3 deletions(-) create mode 100644 WebContent/WEB-INF/web.xml.2.4 diff --git a/WebContent/WEB-INF/web.xml b/WebContent/WEB-INF/web.xml index 61fdabe7b7..b5548367c9 100644 --- a/WebContent/WEB-INF/web.xml +++ b/WebContent/WEB-INF/web.xml @@ -1,7 +1,9 @@ - + + Vaadin diff --git a/WebContent/WEB-INF/web.xml.2.4 b/WebContent/WEB-INF/web.xml.2.4 new file mode 100644 index 0000000000..bcc5f3a651 --- /dev/null +++ b/WebContent/WEB-INF/web.xml.2.4 @@ -0,0 +1,131 @@ + + + + + Vaadin + Vaadin examples + + + productionMode + false + + + + resourceCacheTime + 3600 + + + Embed App 1 + com.vaadin.server.LegacyVaadinServlet + + application + com.vaadin.tests.components.button.Buttons + + + + Embed App 2 + com.vaadin.server.VaadinServlet + + UI + com.vaadin.tests.components.label.MarginsInLabels + + + + UI provider app + com.vaadin.server.VaadinServlet + + UIProvider + com.vaadin.tests.applicationservlet.InitParamUIProvider + + + UI + com.vaadin.tests.VerifyAssertionsEnabled + + + + + VaadinApplicationRunner + com.vaadin.launcher.ApplicationRunnerServlet + + + legacyPropertyToString + false + + + heartbeatInterval + 301 + + + resourceCacheTime + 3601 + + + closeIdleSessions + true + + + testParam + 42 + + + + + VaadinApplicationRunnerWithPush + com.vaadin.launcher.ApplicationRunnerServlet + + pushmode + automatic + + + + + + IntegrationTest + com.vaadin.server.VaadinServlet + + UI + com.vaadin.tests.integration.IntegrationTestUI + + + + Embed App 1 + /embed1/* + + + + Embed App 2 + /embed2/* + + + + UI provider app + /uiprovider/* + + + + VaadinApplicationRunner + /run/* + + + + VaadinApplicationRunnerWithPush + /run-push/* + + + + IntegrationTest + /integration/* + + + + IntegrationTest + /VAADIN/* + + + + index.html + + + -- 2.39.5