From 29ad090c29567ff1a4d3a2ec9b8ad0b5d80ee24d Mon Sep 17 00:00:00 2001 From: pdanner Date: Mon, 6 Dec 2010 16:34:52 +0000 Subject: git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@671 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c --- .../src/main/webapp/jsp/null_request_page.jsp | 108 +++++++++++++++++++++ 1 file changed, 108 insertions(+) create mode 100644 pdf-as-web/src/main/webapp/jsp/null_request_page.jsp (limited to 'pdf-as-web/src/main/webapp/jsp/null_request_page.jsp') 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 new file mode 100644 index 0000000..77699e3 --- /dev/null +++ b/pdf-as-web/src/main/webapp/jsp/null_request_page.jsp @@ -0,0 +1,108 @@ +<%@ page contentType="text/html; charset=UTF-8"%> +<%@ page import="at.gv.egiz.pdfas.web.servlets.UpdateFormServlet"%> +<%@ page import="java.util.Locale" %> +<%@ page import="at.gv.egiz.pdfas.api.commons.Constants" %> +<%@ page import="at.gv.egiz.pdfas.web.session.VerifySessionInformation"%> +<%@ page import="at.gv.egiz.pdfas.web.session.SignSessionInformation" %> +<%@ page import="at.gv.egiz.pdfas.web.session.SessionAttributes" %> +<%@ include file="language.jsp" %> +<% + String local_request_url = (String)request.getAttribute("local_request_url"); + String data_url = (String) request.getAttribute("data_url"); + HttpSessionBindingListener si = (HttpSessionBindingListener) session.getAttribute(SessionAttributes.ATTRIBUTE_SESSION_INFORMATION); + Locale locale = (Locale) session.getAttribute(LocaleParamFilter.LOCALE_SESSION_KEY); + + boolean isExternalInvocation = false; + boolean isServerBKU = false; + if (si instanceof SignSessionInformation) { + SignSessionInformation ssi = (SignSessionInformation) si; + isExternalInvocation = ssi.exappinf != null; + isServerBKU = Constants.SIGNATURE_DEVICE_MOC.equals(ssi.connector); + } else { + VerifySessionInformation vsi = (VerifySessionInformation) si; + isExternalInvocation = vsi.exappinf != null; + isServerBKU = Constants.SIGNATURE_DEVICE_MOC.equals(vsi.connector); + } +%> + + + + + <fmt:message key="nullrequestpage.title"/> + + + + + <% if (!isExternalInvocation) { %> +

+

+ <% } // end if %> + + <% if (isServerBKU) { %> + <% if (!isExternalInvocation) { %> +
+ <% } // end if %> +
+ + + + + <% if (locale != null) { %> + + <% } // end if %> +
+ <% if (!isExternalInvocation) { %> +
+ + <% } else { // end if %> + + <% } // end if %> + + <% } else { %> + <% if (isExternalInvocation) { %> +
+ <% } else { %> +
+
+ <% } // end if %> +
+ + + <% if (locale != null) { %> + + <% } // end if %> + <% if (!isExternalInvocation) { %> + " /> + <% } // end if %> +
+ <% } // end if %> + + <% if (!isExternalInvocation) { %> +
+ + <% } // end if %> + + + + -- cgit v1.2.3