summaryrefslogtreecommitdiffstats
path: root/WebContent/WEB-INF
diff options
context:
space:
mode:
authorJohannes Dahlström <johannesd@vaadin.com>2012-10-18 11:51:00 +0300
committerJohannes Dahlström <johannesd@vaadin.com>2012-10-18 12:21:44 +0300
commit780d076d81a35d640fbaedd134635e8216040d28 (patch)
tree88dae066606a13c63223d21c045ff4334f9ff4c7 /WebContent/WEB-INF
parent90ffa9404fbb458ffbd1a26930811fcea6037d97 (diff)
downloadvaadin-framework-780d076d81a35d640fbaedd134635e8216040d28.tar.gz
vaadin-framework-780d076d81a35d640fbaedd134635e8216040d28.zip
Properly read heartbeat interval servlet parameter (#9987)
* Test that servlet parameters in general are read correctly Change-Id: I4a015070e5ce03cff0fee10e037b4df2c3df8219
Diffstat (limited to 'WebContent/WEB-INF')
-rw-r--r--WebContent/WEB-INF/web.xml17
1 files changed, 17 insertions, 0 deletions
diff --git a/WebContent/WEB-INF/web.xml b/WebContent/WEB-INF/web.xml
index e8ac6b7797..46ace4520b 100644
--- a/WebContent/WEB-INF/web.xml
+++ b/WebContent/WEB-INF/web.xml
@@ -49,6 +49,23 @@
</servlet>
<servlet>
+ <!-- Non-default values for testing purposes -->
+ <init-param>
+ <param-name>heartbeatInterval</param-name>
+ <param-value>301</param-value>
+ </init-param>
+ <init-param>
+ <param-name>resourceCacheTime</param-name>
+ <param-value>3601</param-value>
+ </init-param>
+ <init-param>
+ <param-name>closeIdleUIs</param-name>
+ <param-value>true</param-value>
+ </init-param>
+ <init-param>
+ <param-name>testParam</param-name>
+ <param-value>42</param-value>
+ </init-param>
<servlet-name>VaadinApplicationRunner</servlet-name>
<servlet-class>com.vaadin.launcher.ApplicationRunnerServlet</servlet-class>
</servlet>