Mercurial > dive4elements > gnv-client
annotate gnv/src/main/webapp/WEB-INF/web.xml @ 400:a8b1875dcd93
Just include a select box for choosing the fis if there is no static part in the describe document.
gnv/trunk@563 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Mon, 18 Jan 2010 13:42:44 +0000 |
parents | 2ac194c2af8d |
children | 15497dce8fcd |
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. --> |
24
ec56ef8f3e58
Configurable logging integrated in the Web-Application
Tim Englich <tim.englich@intevation.de>
parents:
23
diff
changeset
|
20 <init-param> |
ec56ef8f3e58
Configurable logging integrated in the Web-Application
Tim Englich <tim.englich@intevation.de>
parents:
23
diff
changeset
|
21 <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
|
22 <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
|
23 </init-param> |
23
b11f941f7eb2
Made ArtifactDatabase URL configurable
Tim Englich <tim.englich@intevation.de>
parents:
8
diff
changeset
|
24 |
167
1857273577e3
Added Documentation of Configuration-Entries.
Tim Englich <tim.englich@intevation.de>
parents:
24
diff
changeset
|
25 <!-- 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
|
26 <init-param> |
b11f941f7eb2
Made ArtifactDatabase URL configurable
Tim Englich <tim.englich@intevation.de>
parents:
8
diff
changeset
|
27 <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
|
28 <param-value>1</param-value> |
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 |
167
1857273577e3
Added Documentation of Configuration-Entries.
Tim Englich <tim.englich@intevation.de>
parents:
24
diff
changeset
|
31 <!-- 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
|
32 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
|
33 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
|
34 - Number in param-name - for each Artifactdatabase. |
1857273577e3
Added Documentation of Configuration-Entries.
Tim Englich <tim.englich@intevation.de>
parents:
24
diff
changeset
|
35 The first one must be 1 --> |
23
b11f941f7eb2
Made ArtifactDatabase URL configurable
Tim Englich <tim.englich@intevation.de>
parents:
8
diff
changeset
|
36 <init-param> |
b11f941f7eb2
Made ArtifactDatabase URL configurable
Tim Englich <tim.englich@intevation.de>
parents:
8
diff
changeset
|
37 <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
|
38 <param-value>http://localhost:8181</param-value> |
23
b11f941f7eb2
Made ArtifactDatabase URL configurable
Tim Englich <tim.englich@intevation.de>
parents:
8
diff
changeset
|
39 </init-param> |
b11f941f7eb2
Made ArtifactDatabase URL configurable
Tim Englich <tim.englich@intevation.de>
parents:
8
diff
changeset
|
40 |
167
1857273577e3
Added Documentation of Configuration-Entries.
Tim Englich <tim.englich@intevation.de>
parents:
24
diff
changeset
|
41 <!-- Load the Servlet once on Systemstartup. |
1857273577e3
Added Documentation of Configuration-Entries.
Tim Englich <tim.englich@intevation.de>
parents:
24
diff
changeset
|
42 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
|
43 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
|
44 <load-on-startup>1</load-on-startup> |
167
1857273577e3
Added Documentation of Configuration-Entries.
Tim Englich <tim.englich@intevation.de>
parents:
24
diff
changeset
|
45 |
8
65ff6fcfee0c
Some Basic Stuff for WebProjects
Tim Englich <tim.englich@intevation.de>
parents:
0
diff
changeset
|
46 </servlet> |
65ff6fcfee0c
Some Basic Stuff for WebProjects
Tim Englich <tim.englich@intevation.de>
parents:
0
diff
changeset
|
47 <!-- Standard Action Servlet Mapping --> |
65ff6fcfee0c
Some Basic Stuff for WebProjects
Tim Englich <tim.englich@intevation.de>
parents:
0
diff
changeset
|
48 <servlet-mapping> |
65ff6fcfee0c
Some Basic Stuff for WebProjects
Tim Englich <tim.englich@intevation.de>
parents:
0
diff
changeset
|
49 <servlet-name>action</servlet-name> |
65ff6fcfee0c
Some Basic Stuff for WebProjects
Tim Englich <tim.englich@intevation.de>
parents:
0
diff
changeset
|
50 <url-pattern>*.do</url-pattern> |
65ff6fcfee0c
Some Basic Stuff for WebProjects
Tim Englich <tim.englich@intevation.de>
parents:
0
diff
changeset
|
51 </servlet-mapping> |
0
87bd9d0befc7
Initialer Projektimport
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
52 </web-app> |