Mercurial > dive4elements > gnv-client
comparison gnv/src/main/java/de/intevation/gnv/action/mapviewer/MapViewerCallAction.java @ 1023:e887763a37e2
Enabled debug logging of the xml document that is used in the MapViewer call (#323).
gnv/trunk@1277 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Fri, 26 Nov 2010 10:04:22 +0000 |
parents | 28a0628b11b0 |
children | b45faa9315ce |
comparison
equal
deleted
inserted
replaced
1022:28a0628b11b0 | 1023:e887763a37e2 |
---|---|
62 HttpServletRequest request, | 62 HttpServletRequest request, |
63 HttpServletResponse response) throws Exception { | 63 HttpServletResponse response) throws Exception { |
64 log.debug("MapViewerCallAction.execute"); | 64 log.debug("MapViewerCallAction.execute"); |
65 InputStream inputStream = null; | 65 InputStream inputStream = null; |
66 String documentvalue = request.getParameter("document"); | 66 String documentvalue = request.getParameter("document"); |
67 log.debug("REQUEST DOCUMENT: " + documentvalue); | |
67 if (documentvalue != null){ | 68 if (documentvalue != null){ |
68 documentvalue = documentvalue.trim(); | 69 documentvalue = documentvalue.trim(); |
69 inputStream = new ByteArrayInputStream(documentvalue.getBytes()); | 70 inputStream = new ByteArrayInputStream(documentvalue.getBytes()); |
70 }else{ | 71 }else{ |
71 inputStream = request.getInputStream(); | 72 inputStream = request.getInputStream(); |