From ac04b409db57ee9cd723d80e356b506d0347e494 Mon Sep 17 00:00:00 2001 From: rpiazzi Date: Thu, 29 Sep 2011 11:14:18 +0000 Subject: Set src locations to dynamic (checking automatically if pdf-as or test-pdf-as is started) git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@843 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c --- pdf-as-web/src/main/webapp/jsp/download.jsp | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'pdf-as-web') diff --git a/pdf-as-web/src/main/webapp/jsp/download.jsp b/pdf-as-web/src/main/webapp/jsp/download.jsp index 1c73562..04cdf75 100644 --- a/pdf-as-web/src/main/webapp/jsp/download.jsp +++ b/pdf-as-web/src/main/webapp/jsp/download.jsp @@ -9,6 +9,9 @@ <%@page import="at.gv.egiz.pdfas.web.FormFields"%> <% + String serverUrl=LocalRequestHelper.getLocalServerAddress(request,response); + String baseUrl=LocalRequestHelper.getLocalContextAddress(request,response); + String downloadURL = (String) session.getAttribute(SessionAttributes.DOWNLOAD_URL_FOR_SIGNED_PDF_DOCUMENT); String connector = (String)session.getAttribute(SignServlet.SUBMITFORM_SIGNATURE_DEVICE_KEY); @@ -63,10 +66,10 @@ <% } else { %> <% } %> - - + + <% } else { %> - + <% } %> @@ -142,17 +145,17 @@
<% if (!startedFromIFrame) { %> -
+
<% } %>
- Handy + Handy