comparison flys-client/src/main/java/de/intevation/flys/client/server/CSVExportServiceImpl.java @ 1425:bc06a671ef60

Removed the URL parameter from service calls. The service implementations read the URL from the web.xml config file now. flys-client/trunk@3367 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Raimund Renkert <raimund.renkert@intevation.de>
date Thu, 08 Dec 2011 09:12:27 +0000
parents ab8eb2f544f2
children 6e694603cde1
comparison
equal deleted inserted replaced
1424:8974e220b193 1425:bc06a671ef60
39 39
40 public static final String ERROR_NO_EXPORT_FOUND = 40 public static final String ERROR_NO_EXPORT_FOUND =
41 "error_no_export_found"; 41 "error_no_export_found";
42 42
43 public List<String[]> getCSV( 43 public List<String[]> getCSV(
44 String url,
45 String locale, 44 String locale,
46 String uuid, 45 String uuid,
47 String name) 46 String name)
48 throws ServerException 47 throws ServerException
49 { 48 {
50 logger.info("CSVExportServiceImpl.getCSV"); 49 logger.info("CSVExportServiceImpl.getCSV");
50
51 String url = getServletContext().getInitParameter("server-url");
51 52
52 Document requestDoc = XMLUtils.newDocument(); 53 Document requestDoc = XMLUtils.newDocument();
53 54
54 XMLUtils.ElementCreator ec = new XMLUtils.ElementCreator( 55 XMLUtils.ElementCreator ec = new XMLUtils.ElementCreator(
55 requestDoc, 56 requestDoc,

http://dive4elements.wald.intevation.org