diff gnv/src/main/webapp/WEB-INF/web.xml @ 23:b11f941f7eb2

Made ArtifactDatabase URL configurable gnv/trunk@118 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Wed, 23 Sep 2009 15:29:26 +0000
parents 65ff6fcfee0c
children ec56ef8f3e58
line wrap: on
line diff
--- a/gnv/src/main/webapp/WEB-INF/web.xml	Wed Sep 23 15:17:32 2009 +0000
+++ b/gnv/src/main/webapp/WEB-INF/web.xml	Wed Sep 23 15:29:26 2009 +0000
@@ -9,9 +9,19 @@
         <servlet-class>de.intevation.gnv.servlet.GNVActionServlet</servlet-class>
         <init-param>
             <param-name>config</param-name>
-            <!--  -->
             <param-value>/WEB-INF/config/struts-config.xml</param-value>
         </init-param>
+        
+        <init-param>
+            <param-name>de.intevation.gnv.artifactdatabase.client.ArtifactDatabase.count</param-name>
+            <param-value>1</param-value>
+        </init-param>
+        
+         <init-param>
+            <param-name>de.intevation.gnv.artifactdatabase.client.ArtifactDatabase.url.1</param-name>
+            <param-value>http://localhost:8181</param-value>
+        </init-param>
+        
         <load-on-startup>1</load-on-startup>
     </servlet>
     <!-- Standard Action Servlet Mapping -->

http://dive4elements.wald.intevation.org