Mercurial > dive4elements > gnv-client
annotate gnv/src/main/webapp/WEB-INF/web.xml @ 1142:12abbf15f18a
dummy merge for repo head
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Fri, 28 Sep 2012 12:15:20 +0200 |
parents | 090d8331e5fd |
children |
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 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
|
19 <init-param> |
b11f941f7eb2
Made ArtifactDatabase URL configurable
Tim Englich <tim.englich@intevation.de>
parents:
8
diff
changeset
|
20 <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
|
21 <param-value>1</param-value> |
b11f941f7eb2
Made ArtifactDatabase URL configurable
Tim Englich <tim.englich@intevation.de>
parents:
8
diff
changeset
|
22 </init-param> |
b11f941f7eb2
Made ArtifactDatabase URL configurable
Tim Englich <tim.englich@intevation.de>
parents:
8
diff
changeset
|
23 |
167
1857273577e3
Added Documentation of Configuration-Entries.
Tim Englich <tim.englich@intevation.de>
parents:
24
diff
changeset
|
24 <!-- 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
|
25 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
|
26 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
|
27 - Number in param-name - for each Artifactdatabase. |
1857273577e3
Added Documentation of Configuration-Entries.
Tim Englich <tim.englich@intevation.de>
parents:
24
diff
changeset
|
28 The first one must be 1 --> |
23
b11f941f7eb2
Made ArtifactDatabase URL configurable
Tim Englich <tim.englich@intevation.de>
parents:
8
diff
changeset
|
29 <init-param> |
b11f941f7eb2
Made ArtifactDatabase URL configurable
Tim Englich <tim.englich@intevation.de>
parents:
8
diff
changeset
|
30 <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
|
31 <param-value>http://localhost:8181</param-value> |
23
b11f941f7eb2
Made ArtifactDatabase URL configurable
Tim Englich <tim.englich@intevation.de>
parents:
8
diff
changeset
|
32 </init-param> |
b11f941f7eb2
Made ArtifactDatabase URL configurable
Tim Englich <tim.englich@intevation.de>
parents:
8
diff
changeset
|
33 |
167
1857273577e3
Added Documentation of Configuration-Entries.
Tim Englich <tim.englich@intevation.de>
parents:
24
diff
changeset
|
34 <!-- Load the Servlet once on Systemstartup. |
1857273577e3
Added Documentation of Configuration-Entries.
Tim Englich <tim.englich@intevation.de>
parents:
24
diff
changeset
|
35 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
|
36 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
|
37 <load-on-startup>1</load-on-startup> |
167
1857273577e3
Added Documentation of Configuration-Entries.
Tim Englich <tim.englich@intevation.de>
parents:
24
diff
changeset
|
38 |
8
65ff6fcfee0c
Some Basic Stuff for WebProjects
Tim Englich <tim.englich@intevation.de>
parents:
0
diff
changeset
|
39 </servlet> |
65ff6fcfee0c
Some Basic Stuff for WebProjects
Tim Englich <tim.englich@intevation.de>
parents:
0
diff
changeset
|
40 <!-- Standard Action Servlet Mapping --> |
65ff6fcfee0c
Some Basic Stuff for WebProjects
Tim Englich <tim.englich@intevation.de>
parents:
0
diff
changeset
|
41 <servlet-mapping> |
65ff6fcfee0c
Some Basic Stuff for WebProjects
Tim Englich <tim.englich@intevation.de>
parents:
0
diff
changeset
|
42 <servlet-name>action</servlet-name> |
65ff6fcfee0c
Some Basic Stuff for WebProjects
Tim Englich <tim.englich@intevation.de>
parents:
0
diff
changeset
|
43 <url-pattern>*.do</url-pattern> |
65ff6fcfee0c
Some Basic Stuff for WebProjects
Tim Englich <tim.englich@intevation.de>
parents:
0
diff
changeset
|
44 </servlet-mapping> |
0
87bd9d0befc7
Initialer Projektimport
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
45 </web-app> |