From bbdadf60ff2d11a4e74ebe3a389ed51944cc1df0 Mon Sep 17 00:00:00 2001 From: rpiazzi Date: Thu, 29 Sep 2011 11:14:47 +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@846 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c --- pdf-as-web/src/main/webapp/jsp/please_wait.jsp | 8 +++++--- 1 file 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 @@ <% + 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) { %> - - + + <% } else { %> - + <% } %> -- cgit v1.2.3