diff flys-client/src/main/webapp/WEB-INF/web.xml @ 2496:7e077899e259

Added dependency to MapFish Print flys-client/trunk@4309 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Thu, 26 Apr 2012 11:32:57 +0000
parents 88b51e6e0334
children 328aa273ef3b
line wrap: on
line diff
--- a/flys-client/src/main/webapp/WEB-INF/web.xml	Thu Apr 26 09:52:17 2012 +0000
+++ b/flys-client/src/main/webapp/WEB-INF/web.xml	Thu Apr 26 11:32:57 2012 +0000
@@ -423,6 +423,20 @@
     <url-pattern>/flys/fileupload</url-pattern>
   </servlet-mapping>
 
+  <servlet>
+    <servlet-name>mapfish.print</servlet-name>
+    <servlet-class>org.mapfish.print.servlet.MapPrinterServlet</servlet-class>
+    <init-param>
+      <param-name>config</param-name>
+      <param-value>config.yaml</param-value>
+    </init-param>
+  </servlet>
+
+  <servlet-mapping>
+    <servlet-name>mapfish.print</servlet-name>
+    <url-pattern>/flys/map-print</url-pattern>
+  </servlet-mapping>
+
   <!-- Default page to serve -->
   <welcome-file-list>
     <welcome-file>FLYS.html</welcome-file>

http://dive4elements.wald.intevation.org