comparison flys-client/src/main/webapp/WEB-INF/web.xml @ 2519:427df4e81af0

Call MapFish Printer via servlet to evade viral GPLv3. flys-client/trunk@4398 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Mon, 14 May 2012 09:52:04 +0000
parents 328aa273ef3b
children 885b02130528
comparison
equal deleted inserted replaced
2518:b3bf9e5ce9e6 2519:427df4e81af0
250 </servlet> 250 </servlet>
251 251
252 <servlet-mapping> 252 <servlet-mapping>
253 <servlet-name>MapOutputService</servlet-name> 253 <servlet-name>MapOutputService</servlet-name>
254 <url-pattern>/flys/map</url-pattern> 254 <url-pattern>/flys/map</url-pattern>
255 </servlet-mapping>
256
257 <servlet>
258 <servlet-name>mapfish.print</servlet-name>
259 <servlet-class>org.mapfish.print.servlet.MapPrinterServlet</servlet-class>
260 <init-param>
261 <param-name>config</param-name>
262 <param-value>WEB-INF/config.yaml</param-value>
263 </init-param>
264 </servlet>
265
266 <servlet-mapping>
267 <servlet-name>mapfish.print</servlet-name>
268 <url-pattern>/flys/mapfish-print/*</url-pattern>
255 </servlet-mapping> 269 </servlet-mapping>
256 270
257 <!-- Servlet to bridge between MapFish Print and FLYS3 --> 271 <!-- Servlet to bridge between MapFish Print and FLYS3 -->
258 <servlet> 272 <servlet>
259 <servlet-name>MapPrintService</servlet-name> 273 <servlet-name>MapPrintService</servlet-name>
260 <servlet-class>de.intevation.flys.client.server.MapPrintServiceImpl</servlet-class> 274 <servlet-class>de.intevation.flys.client.server.MapPrintServiceImpl</servlet-class>
261 <init-param> 275 <init-param>
262 <param-name>config</param-name> 276 <param-name>config</param-name>
263 <param-value>WEB-INF/config.yaml</param-value> 277 <param-value>WEB-INF/config.yaml</param-value>
264 </init-param> 278 </init-param>
279 <init-param>
280 <param-name>print-url</param-name>
281 <param-value>http://localhost:8888/flys/mapfish-print</param-value>
282 </init-param>
265 </servlet> 283 </servlet>
266 284
267 <servlet-mapping> 285 <servlet-mapping>
268 <servlet-name>MapPrintService</servlet-name> 286 <servlet-name>MapPrintService</servlet-name>
269 <url-pattern>/flys/map-print</url-pattern> 287 <url-pattern>/flys/map-print</url-pattern>

http://dive4elements.wald.intevation.org