changeset 167:1857273577e3

Added Documentation of Configuration-Entries. gnv/trunk@333 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Fri, 13 Nov 2009 12:58:58 +0000
parents c5edd8fcae8c
children 1ed778ba6153
files gnv/ChangeLog gnv/src/main/webapp/WEB-INF/web.xml
diffstat 2 files changed, 21 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/gnv/ChangeLog	Thu Nov 12 15:30:28 2009 +0000
+++ b/gnv/ChangeLog	Fri Nov 13 12:58:58 2009 +0000
@@ -1,3 +1,8 @@
+2009-11-13  Tim Englich  <tim.englich@intevation.de>
+
+	* src/main/webapp/WEB-INF/web.xml: 
+	  Added Documentation of Configuration-Entries.
+
 2009-11-12  Tim Englich  <tim.englich@intevation.de>
 
 	* src/main/webapp/styles/default.css: 
--- a/gnv/src/main/webapp/WEB-INF/web.xml	Thu Nov 12 15:30:28 2009 +0000
+++ b/gnv/src/main/webapp/WEB-INF/web.xml	Fri Nov 13 12:58:58 2009 +0000
@@ -7,26 +7,42 @@
   <servlet>
         <servlet-name>action</servlet-name>
         <servlet-class>de.intevation.gnv.servlet.GNVActionServlet</servlet-class>
+        
+        <!--  The Struts Configuration, relative to the Project-Folder,
+              which should be used to configure this Project.  -->
         <init-param>
             <param-name>config</param-name>
             <param-value>/WEB-INF/config/struts-config.xml</param-value>
         </init-param>
+        
+        <!--  The Log4J Configuration, relative to the Project-Folder,
+              which should be used in this Project.  -->
         <init-param>
             <param-name>de.intevation.gnv.servlet.log4j.configuration</param-name>
             <param-value>WEB-INF/config/log4j.properties</param-value>
         </init-param>
         
+        <!--  The Number of ArtifacDatabases which are configured in this Document. -->
         <init-param>
             <param-name>de.intevation.gnv.artifactdatabase.client.ArtifactDatabase.count</param-name>
             <param-value>1</param-value>
         </init-param>
         
+        <!--  One URL to an ArtifactDatabase which should be used in this Project.
+              It is possible to define several Artifactdatabases according to the
+              Number which is configured above. It is necessary to change the Count
+              - Number in param-name - for each Artifactdatabase.
+              The first one must be 1 -->
          <init-param>
             <param-name>de.intevation.gnv.artifactdatabase.client.ArtifactDatabase.url.1</param-name>
             <param-value>http://localhost:8181</param-value>
         </init-param>
         
+        <!--  Load the Servlet once on Systemstartup. 
+              This should be done to configure the GNV at startup
+              and not if the first user will call a Page. -->
         <load-on-startup>1</load-on-startup>
+        
     </servlet>
     <!-- Standard Action Servlet Mapping -->
     <servlet-mapping>

http://dive4elements.wald.intevation.org