tim@0: <!DOCTYPE web-app PUBLIC tim@0: "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" tim@0: "http://java.sun.com/dtd/web-app_2_3.dtd" > tim@0: tim@0: <web-app> tim@0: <display-name>Archetype Created Web Application</display-name> tim@8: <servlet> tim@8: <servlet-name>action</servlet-name> tim@8: <servlet-class>de.intevation.gnv.servlet.GNVActionServlet</servlet-class> tim@167: tim@167: <!-- The Struts Configuration, relative to the Project-Folder, tim@167: which should be used to configure this Project. --> tim@8: <init-param> tim@8: <param-name>config</param-name> tim@8: <param-value>/WEB-INF/config/struts-config.xml</param-value> tim@8: </init-param> tim@167: tim@167: <!-- The Log4J Configuration, relative to the Project-Folder, tim@167: which should be used in this Project. --> ingo@664: <!-- tim@24: <init-param> tim@24: <param-name>de.intevation.gnv.servlet.log4j.configuration</param-name> tim@24: <param-value>WEB-INF/config/log4j.properties</param-value> tim@24: </init-param> ingo@664: --> tim@23: tim@167: <!-- The Number of ArtifacDatabases which are configured in this Document. --> tim@23: <init-param> tim@23: <param-name>de.intevation.gnv.artifactdatabase.client.ArtifactDatabase.count</param-name> tim@23: <param-value>1</param-value> tim@23: </init-param> tim@23: tim@167: <!-- One URL to an ArtifactDatabase which should be used in this Project. tim@167: It is possible to define several Artifactdatabases according to the tim@167: Number which is configured above. It is necessary to change the Count tim@167: - Number in param-name - for each Artifactdatabase. tim@167: The first one must be 1 --> tim@23: <init-param> tim@23: <param-name>de.intevation.gnv.artifactdatabase.client.ArtifactDatabase.url.1</param-name> ingo@285: <param-value>http://localhost:8181</param-value> tim@23: </init-param> tim@23: tim@167: <!-- Load the Servlet once on Systemstartup. tim@167: This should be done to configure the GNV at startup tim@167: and not if the first user will call a Page. --> tim@8: <load-on-startup>1</load-on-startup> tim@167: tim@8: </servlet> tim@8: <!-- Standard Action Servlet Mapping --> tim@8: <servlet-mapping> tim@8: <servlet-name>action</servlet-name> tim@8: <url-pattern>*.do</url-pattern> tim@8: </servlet-mapping> tim@0: </web-app>