From 585e76985572675fbf8ae44f41d7b359b2c40fbd Mon Sep 17 00:00:00 2001 From: rpiazzi Date: Thu, 29 Sep 2011 11:14:38 +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@845 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c --- pdf-as-web/src/main/webapp/jsp/null_request_page.jsp | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'pdf-as-web') diff --git a/pdf-as-web/src/main/webapp/jsp/null_request_page.jsp b/pdf-as-web/src/main/webapp/jsp/null_request_page.jsp index faf2f26..3b57fd6 100644 --- a/pdf-as-web/src/main/webapp/jsp/null_request_page.jsp +++ b/pdf-as-web/src/main/webapp/jsp/null_request_page.jsp @@ -14,7 +14,8 @@ - + String serverUrl=LocalRequestHelper.getLocalServerAddress(request,response); + String baseUrl=LocalRequestHelper.getLocalContextAddress(request,response); String local_request_url = (String)request.getAttribute("local_request_url"); String data_url = (String) request.getAttribute("data_url"); @@ -94,10 +95,10 @@ <fmt:message key="nullrequestpage.title"/> <% if (!startedFromIFrame) { %> - - + + <% } else { %> - + <% } %>