aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-web/src
diff options
context:
space:
mode:
authorrpiazzi <rpiazzi@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2011-09-29 10:57:25 +0000
committerrpiazzi <rpiazzi@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2011-09-29 10:57:25 +0000
commit50ae8c605c198bfb9c70848d5962ffafd0c63dd2 (patch)
tree5b69afde55d035dfc6cd27ccb23e98e18b3afdd7 /pdf-as-web/src
parent2d1fa0643a7f8e8bf74b95d249a9152174b2c3ad (diff)
downloadpdf-as-3-50ae8c605c198bfb9c70848d5962ffafd0c63dd2.tar.gz
pdf-as-3-50ae8c605c198bfb9c70848d5962ffafd0c63dd2.tar.bz2
pdf-as-3-50ae8c605c198bfb9c70848d5962ffafd0c63dd2.zip
Added dynamic src locations for resources
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@841 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
Diffstat (limited to 'pdf-as-web/src')
-rw-r--r--pdf-as-web/src/main/webapp/sitemesh/standalone.jsp7
1 files changed, 4 insertions, 3 deletions
diff --git a/pdf-as-web/src/main/webapp/sitemesh/standalone.jsp b/pdf-as-web/src/main/webapp/sitemesh/standalone.jsp
index dc06d57..0e21dbf 100644
--- a/pdf-as-web/src/main/webapp/sitemesh/standalone.jsp
+++ b/pdf-as-web/src/main/webapp/sitemesh/standalone.jsp
@@ -48,6 +48,7 @@
String headerUrl="http://www.buergerkarte.at/header.php?lang=";
//String headerUrl="http://www.buergerkarte.at/header.php";
String serverUrl=LocalRequestHelper.getLocalServerAddress(request,response);
+ String baseUrl=LocalRequestHelper.getLocalContextAddress(request,response);
String requestLang = (String)request.getParameter("lang");
@@ -154,9 +155,9 @@
<meta name="Description" content="B&uuml;rgerkarte" />
<meta name="Keywords" content="Citizen Card, Austrian Citizen Card, Citizen Card Austria" />
<decorator:head/>
- <link rel="stylesheet" type="text/css" href="https://www.buergerkarte.at/test-pdf-as/css/pdfas-styles.css" />
- <link rel="shortcut icon" href="https://www.buergerkarte.at/dateien/favicon.ico" type="image/vnd.microsoft.icon" />
- <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="shortcut icon" href="<%=serverUrl %>/dateien/favicon.ico" type="image/vnd.microsoft.icon" />
+ <link rel="stylesheet" href="<%=serverUrl %>/style.css" type="text/css" />
</head>
<body>