aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-web/src/main/webapp/jsp/download.jsp
diff options
context:
space:
mode:
Diffstat (limited to 'pdf-as-web/src/main/webapp/jsp/download.jsp')
-rw-r--r--pdf-as-web/src/main/webapp/jsp/download.jsp15
1 files changed, 9 insertions, 6 deletions
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 { %>
<meta name="decorator" content="production_en" />
<% } %>
- <link rel="stylesheet" type="text/css" href="https://www.buergerkarte.at/pdf-as/css/pdfas-styles.css" />
- <!-- <link rel="stylesheet" href="https://www.buergerkarte.at/style.css" type="text/css" /> -->
+ <link rel="stylesheet" type="text/css" href="<%=baseUrl%>/css/pdfas-styles.css" />
+ <!-- <link rel="stylesheet" href="<%=serverUrl%>/style.css" type="text/css" /> -->
<% } else { %>
- <link rel="stylesheet" type="text/css" href="https://www.buergerkarte.at/pdf-as/css/extern-styles.css" />
+ <link rel="stylesheet" type="text/css" href="<%=baseUrl%>/css/extern-styles.css" />
<% } %>
<meta http-equiv="pragma" content="no-cache,no-store,private,must-revalidate,max-stale=0,post-check=0,pre-check=0"/>
<meta http-equiv="expires" content="0"/>
@@ -142,17 +145,17 @@
</form></div>
<div class="pdfasverticalspace"></div>
<% if (!startedFromIFrame) { %>
- <div><a href="https://www.buergerkarte.at/test-pdf-as/"><fmt:message key="common.finish"/></a></div>
+ <div><a href="<%=baseUrl%>/"><fmt:message key="common.finish"/></a></div>
<% } %>
</div>
</div>
<div class="rechts" id="sign">
<div class="rechtsinhalt" id="signintern">
<div class="rechtslinks">
- <img src="https://www.buergerkarte.at/pdf-as/images/onlineBKU.png" alt="Chip-Karte" id="Karte"/>
+ <img src="<%=baseUrl%>/images/onlineBKU.png" alt="Chip-Karte" id="Karte"/>
</div>
<div class="rechtsrechts">
- <img src="https://www.buergerkarte.at/pdf-as/images/mobileBKU.png" alt="Handy" id="Handy"/>
+ <img src="<%=baseUrl%>/images/mobileBKU.png" alt="Handy" id="Handy"/>
</div>
<div class="rechtslinks">
<input type="submit" name="<%= FormFields.FIELD_CONNECTOR_SMARTCARD %>" value="<fmt:message key="signupload.signwithcard"/>" alt="Signatur mit Karte" disabled="disabled"/>