fixed path
This commit is contained in:
parent
06f87b7956
commit
069b631bc8
|
@ -105,7 +105,7 @@ public class GeoportalExporter {
|
|||
if (userAgentName != null) {
|
||||
LOG.info("Serving request as User-Agent {}", userAgentName);
|
||||
String pollingCode = ucdID+"_"+projectID+"_"+System.currentTimeMillis();
|
||||
String viewPdfURL = req.getServletContext()+"/view/"+pollingCode;
|
||||
String viewPdfURL = req.getServletPath()+"/view/"+pollingCode;
|
||||
String entity = entityHTMLMessage("Exporting as PDF...", "The project with " + projectID, true, viewPdfURL);
|
||||
return Response.ok(entity).encoding("UTF-8").header(ConstantsResolver.CONTENT_TYPE, "text/html")
|
||||
.build();
|
||||
|
@ -251,8 +251,6 @@ public class GeoportalExporter {
|
|||
LOG.info(this.getClass().getSimpleName() + " viewPDF - GET starts...");
|
||||
LOG.debug("param is: pdfCode: {}", pdfCode);
|
||||
|
||||
checkPathParameterNotNull(req, EXPORT_TYPE, pdfCode);
|
||||
|
||||
try {
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue