diff options
author | Jani Laakso <jani.laakso@itmill.com> | 2007-04-05 12:42:31 +0000 |
---|---|---|
committer | Jani Laakso <jani.laakso@itmill.com> | 2007-04-05 12:42:31 +0000 |
commit | 08841bbdc4872931dda6bb11d28816d385fd0f31 (patch) | |
tree | 3d0614aa7dfbb567c73a1bfd00cbafcd952a2ded /WebContent | |
parent | eae6579f3543d9004d015015913a9b7c82211c53 (diff) | |
download | vaadin-framework-08841bbdc4872931dda6bb11d28816d385fd0f31.tar.gz vaadin-framework-08841bbdc4872931dda6bb11d28816d385fd0f31.zip |
Better sample directory handling for both Tree demos.
svn changeset:1168/svn branch:trunk
Diffstat (limited to 'WebContent')
-rw-r--r-- | WebContent/WEB-INF/web.xml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/WebContent/WEB-INF/web.xml b/WebContent/WEB-INF/web.xml index 694e94b5c4..e649cafceb 100644 --- a/WebContent/WEB-INF/web.xml +++ b/WebContent/WEB-INF/web.xml @@ -126,6 +126,14 @@ <param-name>application</param-name> <param-value>com.itmill.toolkit.demo.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-mapping> <servlet-name>TreeFilesystemContainer</servlet-name> @@ -139,6 +147,14 @@ <param-name>application</param-name> <param-value>com.itmill.toolkit.demo.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-mapping> <servlet-name>TreeFilesystem</servlet-name> |