comparison flys-client/src/main/webapp/WEB-INF/web.xml @ 2502:328aa273ef3b

Call MapPrinter directly and not via the MapFish Print servlet. flys-client/trunk@4347 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Fri, 04 May 2012 15:19:30 +0000
parents 7e077899e259
children 427df4e81af0
comparison
equal deleted inserted replaced
2501:87634a9a8478 2502:328aa273ef3b
236 <servlet> 236 <servlet>
237 <servlet-name>ChartOutputService</servlet-name> 237 <servlet-name>ChartOutputService</servlet-name>
238 <servlet-class>de.intevation.flys.client.server.ChartOutputServiceImpl</servlet-class> 238 <servlet-class>de.intevation.flys.client.server.ChartOutputServiceImpl</servlet-class>
239 </servlet> 239 </servlet>
240 240
241 <servlet-mapping>
242 <servlet-name>ChartOutputService</servlet-name>
243 <url-pattern>/flys/chart</url-pattern>
244 </servlet-mapping>
245
246 <!-- MapFish Print -->
241 <servlet> 247 <servlet>
242 <servlet-name>MapOutputService</servlet-name> 248 <servlet-name>MapOutputService</servlet-name>
243 <servlet-class>de.intevation.flys.client.server.MapOutputServiceImpl</servlet-class> 249 <servlet-class>de.intevation.flys.client.server.MapOutputServiceImpl</servlet-class>
244 </servlet> 250 </servlet>
245 251
246 <servlet-mapping> 252 <servlet-mapping>
247 <servlet-name>MapOutputService</servlet-name> 253 <servlet-name>MapOutputService</servlet-name>
248 <url-pattern>/flys/map</url-pattern> 254 <url-pattern>/flys/map</url-pattern>
249 </servlet-mapping> 255 </servlet-mapping>
250 256
251 <servlet-mapping> 257 <!-- Servlet to bridge between MapFish Print and FLYS3 -->
252 <servlet-name>ChartOutputService</servlet-name> 258 <servlet>
253 <url-pattern>/flys/chart</url-pattern> 259 <servlet-name>MapPrintService</servlet-name>
254 </servlet-mapping> 260 <servlet-class>de.intevation.flys.client.server.MapPrintServiceImpl</servlet-class>
261 <init-param>
262 <param-name>config</param-name>
263 <param-value>WEB-INF/config.yaml</param-value>
264 </init-param>
265 </servlet>
266
267 <servlet-mapping>
268 <servlet-name>MapPrintService</servlet-name>
269 <url-pattern>/flys/map-print</url-pattern>
270 </servlet-mapping>
271
255 272
256 <servlet> 273 <servlet>
257 <servlet-name>FixingsKMChartService</servlet-name> 274 <servlet-name>FixingsKMChartService</servlet-name>
258 <servlet-class>de.intevation.flys.client.server.FixingsKMChartServiceImpl</servlet-class> 275 <servlet-class>de.intevation.flys.client.server.FixingsKMChartServiceImpl</servlet-class>
259 </servlet> 276 </servlet>
419 </servlet> 436 </servlet>
420 437
421 <servlet-mapping> 438 <servlet-mapping>
422 <servlet-name>FileUpload</servlet-name> 439 <servlet-name>FileUpload</servlet-name>
423 <url-pattern>/flys/fileupload</url-pattern> 440 <url-pattern>/flys/fileupload</url-pattern>
424 </servlet-mapping>
425
426 <servlet>
427 <servlet-name>mapfish.print</servlet-name>
428 <servlet-class>org.mapfish.print.servlet.MapPrinterServlet</servlet-class>
429 <init-param>
430 <param-name>config</param-name>
431 <param-value>config.yaml</param-value>
432 </init-param>
433 </servlet>
434
435 <servlet-mapping>
436 <servlet-name>mapfish.print</servlet-name>
437 <url-pattern>/flys/map-print</url-pattern>
438 </servlet-mapping> 441 </servlet-mapping>
439 442
440 <!-- Default page to serve --> 443 <!-- Default page to serve -->
441 <welcome-file-list> 444 <welcome-file-list>
442 <welcome-file>FLYS.html</welcome-file> 445 <welcome-file>FLYS.html</welcome-file>

http://dive4elements.wald.intevation.org