From 43e512389be4ae1864c6bc7442a420af10f61e95 Mon Sep 17 00:00:00 2001 From: rpiazzi Date: Thu, 13 Oct 2011 16:37:30 +0000 Subject: Change the attribute name for language from "lang" to "locale" git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@863 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c --- pdf-as-web/src/main/webapp/sitemesh/standalone.jsp | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'pdf-as-web/src/main/webapp') diff --git a/pdf-as-web/src/main/webapp/sitemesh/standalone.jsp b/pdf-as-web/src/main/webapp/sitemesh/standalone.jsp index 4b1ab94..11075c5 100644 --- a/pdf-as-web/src/main/webapp/sitemesh/standalone.jsp +++ b/pdf-as-web/src/main/webapp/sitemesh/standalone.jsp @@ -50,12 +50,7 @@ String serverUrl=LocalRequestHelper.getLocalServerAddress(request,response); String baseUrl=LocalRequestHelper.getLocalContextAddress(request,response); - /*if (serverUrl.contains("http")) { - serverUrl.replace("http","https"); - baseUrl.replace("http","https"); - }*/ - - String requestLang = (String)request.getParameter("lang"); + String requestLang = (String)session.getAttribute(SessionAttributes.LANGUAGE); String language = ""; @@ -183,8 +178,7 @@ - - <%= phpHeader %> + <%= phpHeader %>
-- cgit v1.2.3