comparison gnv/src/main/webapp/WEB-INF/web.xml @ 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 ec56ef8f3e58
children 47e3647af88f
comparison
equal deleted inserted replaced
166:c5edd8fcae8c 167:1857273577e3
5 <web-app> 5 <web-app>
6 <display-name>Archetype Created Web Application</display-name> 6 <display-name>Archetype Created Web Application</display-name>
7 <servlet> 7 <servlet>
8 <servlet-name>action</servlet-name> 8 <servlet-name>action</servlet-name>
9 <servlet-class>de.intevation.gnv.servlet.GNVActionServlet</servlet-class> 9 <servlet-class>de.intevation.gnv.servlet.GNVActionServlet</servlet-class>
10
11 <!-- The Struts Configuration, relative to the Project-Folder,
12 which should be used to configure this Project. -->
10 <init-param> 13 <init-param>
11 <param-name>config</param-name> 14 <param-name>config</param-name>
12 <param-value>/WEB-INF/config/struts-config.xml</param-value> 15 <param-value>/WEB-INF/config/struts-config.xml</param-value>
13 </init-param> 16 </init-param>
17
18 <!-- The Log4J Configuration, relative to the Project-Folder,
19 which should be used in this Project. -->
14 <init-param> 20 <init-param>
15 <param-name>de.intevation.gnv.servlet.log4j.configuration</param-name> 21 <param-name>de.intevation.gnv.servlet.log4j.configuration</param-name>
16 <param-value>WEB-INF/config/log4j.properties</param-value> 22 <param-value>WEB-INF/config/log4j.properties</param-value>
17 </init-param> 23 </init-param>
18 24
25 <!-- The Number of ArtifacDatabases which are configured in this Document. -->
19 <init-param> 26 <init-param>
20 <param-name>de.intevation.gnv.artifactdatabase.client.ArtifactDatabase.count</param-name> 27 <param-name>de.intevation.gnv.artifactdatabase.client.ArtifactDatabase.count</param-name>
21 <param-value>1</param-value> 28 <param-value>1</param-value>
22 </init-param> 29 </init-param>
23 30
31 <!-- One URL to an ArtifactDatabase which should be used in this Project.
32 It is possible to define several Artifactdatabases according to the
33 Number which is configured above. It is necessary to change the Count
34 - Number in param-name - for each Artifactdatabase.
35 The first one must be 1 -->
24 <init-param> 36 <init-param>
25 <param-name>de.intevation.gnv.artifactdatabase.client.ArtifactDatabase.url.1</param-name> 37 <param-name>de.intevation.gnv.artifactdatabase.client.ArtifactDatabase.url.1</param-name>
26 <param-value>http://localhost:8181</param-value> 38 <param-value>http://localhost:8181</param-value>
27 </init-param> 39 </init-param>
28 40
41 <!-- Load the Servlet once on Systemstartup.
42 This should be done to configure the GNV at startup
43 and not if the first user will call a Page. -->
29 <load-on-startup>1</load-on-startup> 44 <load-on-startup>1</load-on-startup>
45
30 </servlet> 46 </servlet>
31 <!-- Standard Action Servlet Mapping --> 47 <!-- Standard Action Servlet Mapping -->
32 <servlet-mapping> 48 <servlet-mapping>
33 <servlet-name>action</servlet-name> 49 <servlet-name>action</servlet-name>
34 <url-pattern>*.do</url-pattern> 50 <url-pattern>*.do</url-pattern>

http://dive4elements.wald.intevation.org