diff flys-client/src/main/webapp/WEB-INF/web.xml @ 1366:d0eb2202ffbe

Added a BaseServlet that is used to setup config things like log4j. flys-client/trunk@3067 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Tue, 25 Oct 2011 11:07:14 +0000
parents 4c65c5b60a86
children 9085cffbb7c4
line wrap: on
line diff
--- a/flys-client/src/main/webapp/WEB-INF/web.xml	Tue Oct 25 10:29:37 2011 +0000
+++ b/flys-client/src/main/webapp/WEB-INF/web.xml	Tue Oct 25 11:07:14 2011 +0000
@@ -7,6 +7,18 @@
   
   <!-- Servlets -->
   <servlet>
+    <servlet-name>BaseServlet</servlet-name>
+    <servlet-class>de.intevation.flys.client.server.BaseServlet</servlet-class>
+
+    <init-param>
+        <param-name>log4j-properties</param-name>
+        <param-value>/WEB-INF/log4j.properties</param-value>
+    </init-param>
+
+    <load-on-startup>1</load-on-startup>
+  </servlet>
+
+  <servlet>
     <servlet-name>user</servlet-name>
     <servlet-class>de.intevation.flys.client.server.UserServiceImpl</servlet-class>
   </servlet>

http://dive4elements.wald.intevation.org