aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pdf-as-web/src/main/webapp/jsp/please_wait.jsp8
1 files changed, 5 insertions, 3 deletions
diff --git a/pdf-as-web/src/main/webapp/jsp/please_wait.jsp b/pdf-as-web/src/main/webapp/jsp/please_wait.jsp
index a9351ac..5e18bb3 100644
--- a/pdf-as-web/src/main/webapp/jsp/please_wait.jsp
+++ b/pdf-as-web/src/main/webapp/jsp/please_wait.jsp
@@ -10,6 +10,8 @@
<head>
<%
+ String serverUrl=LocalRequestHelper.getLocalServerAddress(request,response);
+ String baseUrl=LocalRequestHelper.getLocalContextAddress(request,response);
//Check if application is started within an iframe from an extern application
String extern = (String)request.getParameter("extern");
@@ -38,10 +40,10 @@
//Depending on the fact if application is called within an IFrame or normally
//the styles would be different
if (!startedFromIFrame) { %>
- <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="content-type" content="text/html; charset=UTF-8" />