annotate gnv/src/main/webapp/WEB-INF/web.xml @ 949:11d8cc2deb92 1.0

merged doc/1.0
author Thomas Arendsen Hein <thomas@intevation.de>
date Fri, 28 Sep 2012 12:13:58 +0200
parents 15497dce8fcd
children 090d8331e5fd
rev   line source
0
87bd9d0befc7 Initialer Projektimport
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
1 <!DOCTYPE web-app PUBLIC
87bd9d0befc7 Initialer Projektimport
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
2 "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
87bd9d0befc7 Initialer Projektimport
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
3 "http://java.sun.com/dtd/web-app_2_3.dtd" >
87bd9d0befc7 Initialer Projektimport
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
4
87bd9d0befc7 Initialer Projektimport
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
5 <web-app>
87bd9d0befc7 Initialer Projektimport
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
6 <display-name>Archetype Created Web Application</display-name>
8
65ff6fcfee0c Some Basic Stuff for WebProjects
Tim Englich <tim.englich@intevation.de>
parents: 0
diff changeset
7 <servlet>
65ff6fcfee0c Some Basic Stuff for WebProjects
Tim Englich <tim.englich@intevation.de>
parents: 0
diff changeset
8 <servlet-name>action</servlet-name>
65ff6fcfee0c Some Basic Stuff for WebProjects
Tim Englich <tim.englich@intevation.de>
parents: 0
diff changeset
9 <servlet-class>de.intevation.gnv.servlet.GNVActionServlet</servlet-class>
167
1857273577e3 Added Documentation of Configuration-Entries.
Tim Englich <tim.englich@intevation.de>
parents: 24
diff changeset
10
1857273577e3 Added Documentation of Configuration-Entries.
Tim Englich <tim.englich@intevation.de>
parents: 24
diff changeset
11 <!-- The Struts Configuration, relative to the Project-Folder,
1857273577e3 Added Documentation of Configuration-Entries.
Tim Englich <tim.englich@intevation.de>
parents: 24
diff changeset
12 which should be used to configure this Project. -->
8
65ff6fcfee0c Some Basic Stuff for WebProjects
Tim Englich <tim.englich@intevation.de>
parents: 0
diff changeset
13 <init-param>
65ff6fcfee0c Some Basic Stuff for WebProjects
Tim Englich <tim.englich@intevation.de>
parents: 0
diff changeset
14 <param-name>config</param-name>
65ff6fcfee0c Some Basic Stuff for WebProjects
Tim Englich <tim.englich@intevation.de>
parents: 0
diff changeset
15 <param-value>/WEB-INF/config/struts-config.xml</param-value>
65ff6fcfee0c Some Basic Stuff for WebProjects
Tim Englich <tim.englich@intevation.de>
parents: 0
diff changeset
16 </init-param>
167
1857273577e3 Added Documentation of Configuration-Entries.
Tim Englich <tim.englich@intevation.de>
parents: 24
diff changeset
17
1857273577e3 Added Documentation of Configuration-Entries.
Tim Englich <tim.englich@intevation.de>
parents: 24
diff changeset
18 <!-- The Log4J Configuration, relative to the Project-Folder,
1857273577e3 Added Documentation of Configuration-Entries.
Tim Englich <tim.englich@intevation.de>
parents: 24
diff changeset
19 which should be used in this Project. -->
664
15497dce8fcd Adjusted logging configuration. Old config did not have any effect on log4j.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 285
diff changeset
20 <!--
24
ec56ef8f3e58 Configurable logging integrated in the Web-Application
Tim Englich <tim.englich@intevation.de>
parents: 23
diff changeset
21 <init-param>
ec56ef8f3e58 Configurable logging integrated in the Web-Application
Tim Englich <tim.englich@intevation.de>
parents: 23
diff changeset
22 <param-name>de.intevation.gnv.servlet.log4j.configuration</param-name>
ec56ef8f3e58 Configurable logging integrated in the Web-Application
Tim Englich <tim.englich@intevation.de>
parents: 23
diff changeset
23 <param-value>WEB-INF/config/log4j.properties</param-value>
ec56ef8f3e58 Configurable logging integrated in the Web-Application
Tim Englich <tim.englich@intevation.de>
parents: 23
diff changeset
24 </init-param>
664
15497dce8fcd Adjusted logging configuration. Old config did not have any effect on log4j.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 285
diff changeset
25 -->
23
b11f941f7eb2 Made ArtifactDatabase URL configurable
Tim Englich <tim.englich@intevation.de>
parents: 8
diff changeset
26
167
1857273577e3 Added Documentation of Configuration-Entries.
Tim Englich <tim.englich@intevation.de>
parents: 24
diff changeset
27 <!-- The Number of ArtifacDatabases which are configured in this Document. -->
23
b11f941f7eb2 Made ArtifactDatabase URL configurable
Tim Englich <tim.englich@intevation.de>
parents: 8
diff changeset
28 <init-param>
b11f941f7eb2 Made ArtifactDatabase URL configurable
Tim Englich <tim.englich@intevation.de>
parents: 8
diff changeset
29 <param-name>de.intevation.gnv.artifactdatabase.client.ArtifactDatabase.count</param-name>
b11f941f7eb2 Made ArtifactDatabase URL configurable
Tim Englich <tim.englich@intevation.de>
parents: 8
diff changeset
30 <param-value>1</param-value>
b11f941f7eb2 Made ArtifactDatabase URL configurable
Tim Englich <tim.englich@intevation.de>
parents: 8
diff changeset
31 </init-param>
b11f941f7eb2 Made ArtifactDatabase URL configurable
Tim Englich <tim.englich@intevation.de>
parents: 8
diff changeset
32
167
1857273577e3 Added Documentation of Configuration-Entries.
Tim Englich <tim.englich@intevation.de>
parents: 24
diff changeset
33 <!-- One URL to an ArtifactDatabase which should be used in this Project.
1857273577e3 Added Documentation of Configuration-Entries.
Tim Englich <tim.englich@intevation.de>
parents: 24
diff changeset
34 It is possible to define several Artifactdatabases according to the
1857273577e3 Added Documentation of Configuration-Entries.
Tim Englich <tim.englich@intevation.de>
parents: 24
diff changeset
35 Number which is configured above. It is necessary to change the Count
1857273577e3 Added Documentation of Configuration-Entries.
Tim Englich <tim.englich@intevation.de>
parents: 24
diff changeset
36 - Number in param-name - for each Artifactdatabase.
1857273577e3 Added Documentation of Configuration-Entries.
Tim Englich <tim.englich@intevation.de>
parents: 24
diff changeset
37 The first one must be 1 -->
23
b11f941f7eb2 Made ArtifactDatabase URL configurable
Tim Englich <tim.englich@intevation.de>
parents: 8
diff changeset
38 <init-param>
b11f941f7eb2 Made ArtifactDatabase URL configurable
Tim Englich <tim.englich@intevation.de>
parents: 8
diff changeset
39 <param-name>de.intevation.gnv.artifactdatabase.client.ArtifactDatabase.url.1</param-name>
285
2ac194c2af8d Reverted changes in config from last revision.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 284
diff changeset
40 <param-value>http://localhost:8181</param-value>
23
b11f941f7eb2 Made ArtifactDatabase URL configurable
Tim Englich <tim.englich@intevation.de>
parents: 8
diff changeset
41 </init-param>
b11f941f7eb2 Made ArtifactDatabase URL configurable
Tim Englich <tim.englich@intevation.de>
parents: 8
diff changeset
42
167
1857273577e3 Added Documentation of Configuration-Entries.
Tim Englich <tim.englich@intevation.de>
parents: 24
diff changeset
43 <!-- Load the Servlet once on Systemstartup.
1857273577e3 Added Documentation of Configuration-Entries.
Tim Englich <tim.englich@intevation.de>
parents: 24
diff changeset
44 This should be done to configure the GNV at startup
1857273577e3 Added Documentation of Configuration-Entries.
Tim Englich <tim.englich@intevation.de>
parents: 24
diff changeset
45 and not if the first user will call a Page. -->
8
65ff6fcfee0c Some Basic Stuff for WebProjects
Tim Englich <tim.englich@intevation.de>
parents: 0
diff changeset
46 <load-on-startup>1</load-on-startup>
167
1857273577e3 Added Documentation of Configuration-Entries.
Tim Englich <tim.englich@intevation.de>
parents: 24
diff changeset
47
8
65ff6fcfee0c Some Basic Stuff for WebProjects
Tim Englich <tim.englich@intevation.de>
parents: 0
diff changeset
48 </servlet>
65ff6fcfee0c Some Basic Stuff for WebProjects
Tim Englich <tim.englich@intevation.de>
parents: 0
diff changeset
49 <!-- Standard Action Servlet Mapping -->
65ff6fcfee0c Some Basic Stuff for WebProjects
Tim Englich <tim.englich@intevation.de>
parents: 0
diff changeset
50 <servlet-mapping>
65ff6fcfee0c Some Basic Stuff for WebProjects
Tim Englich <tim.englich@intevation.de>
parents: 0
diff changeset
51 <servlet-name>action</servlet-name>
65ff6fcfee0c Some Basic Stuff for WebProjects
Tim Englich <tim.englich@intevation.de>
parents: 0
diff changeset
52 <url-pattern>*.do</url-pattern>
65ff6fcfee0c Some Basic Stuff for WebProjects
Tim Englich <tim.englich@intevation.de>
parents: 0
diff changeset
53 </servlet-mapping>
0
87bd9d0befc7 Initialer Projektimport
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
54 </web-app>

http://dive4elements.wald.intevation.org