aboutsummaryrefslogtreecommitdiff
path: root/src/main/webapp/jsp
diff options
context:
space:
mode:
authortknall <tknall@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2009-03-19 17:33:16 +0000
committertknall <tknall@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2009-03-19 17:33:16 +0000
commit5812d840b420697b6821080a7cbb0f3c792fc1ac (patch)
treead121e81334e77787798ed4d163d6988a8528513 /src/main/webapp/jsp
parentbb883b6f93c08ef276ec30ad383b6ad0f12bf4a8 (diff)
downloadpdf-as-3-5812d840b420697b6821080a7cbb0f3c792fc1ac.tar.gz
pdf-as-3-5812d840b420697b6821080a7cbb0f3c792fc1ac.tar.bz2
pdf-as-3-5812d840b420697b6821080a7cbb0f3c792fc1ac.zip
Build script for command line version updated.
JavaDoc fixes. Some updates for debugging messages. Parser for MOCCA-CreateXMLSignatureResponses enhanced. Many updates and fixes for the external web app interface. New profile for invisible signatures added. git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@333 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
Diffstat (limited to 'src/main/webapp/jsp')
-rw-r--r--src/main/webapp/jsp/error.jsp9
-rw-r--r--src/main/webapp/jsp/redirect_to_parent.jsp13
2 files changed, 19 insertions, 3 deletions
diff --git a/src/main/webapp/jsp/error.jsp b/src/main/webapp/jsp/error.jsp
index 4bd49a4..bcac0dc 100644
--- a/src/main/webapp/jsp/error.jsp
+++ b/src/main/webapp/jsp/error.jsp
@@ -6,6 +6,7 @@
<%@ page import="at.knowcenter.wag.egov.egiz.web.SessionAttributes" %>
<%@ page import="org.apache.commons.httpclient.util.EncodingUtil" %>
<%@ page import="org.apache.commons.httpclient.NameValuePair" %>
+<%@ page import="at.gv.egiz.pdfas.web.helper.SignServletHelper" %>
<%@ page import="java.io.*" %>
<%@ include file="language.jsp" %>
@@ -16,14 +17,19 @@
<head>
<title><fmt:message key="error.title"/></title>
<base href="<%=LocalRequestHelper.getLocalContextAddress(request,response)%>/"/>
+ <meta http-equiv="Cache-Control" content="no-cache"/>
+ <meta http-equiv="Pragma" content="no-cache"/>
+ <meta http-equiv="Expires" content="-1"/>
</head>
<%
- PresentableException pe = (PresentableException)request.getAttribute("PresentableException");
+ PresentableException pe;
if (exception != null && exception instanceof PresentableException)
{
pe = (PresentableException)exception;
SignServlet.prepareDispatchToErrorPage(pe, request);
+ } else {
+ pe = (PresentableException)request.getAttribute("PresentableException");
}
String error = request.getParameter("error");
@@ -56,6 +62,7 @@
session.setAttribute(SessionAttributes.PARENT_WEBAPP_REDIRECT_URL, errorUrl);
}
String redirectHelper = response.encodeRedirectURL(request.getContextPath() + "/jsp/redirect_to_parent.jsp");
+ SignServletHelper.disableBrowserCacheForResponse(response);
response.sendRedirect(redirectHelper);
}
diff --git a/src/main/webapp/jsp/redirect_to_parent.jsp b/src/main/webapp/jsp/redirect_to_parent.jsp
index 7791109..6bce9f6 100644
--- a/src/main/webapp/jsp/redirect_to_parent.jsp
+++ b/src/main/webapp/jsp/redirect_to_parent.jsp
@@ -5,7 +5,10 @@
<%@ include file="language.jsp" %>
<head>
- <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
+ <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
+ <meta http-equiv="Cache-Control" content="no-cache"/>
+ <meta http-equiv="Pragma" content="no-cache"/>
+ <meta http-equiv="Expires" content="-1"/>
<title><fmt:message key="pleasewait.title"/></title>
<%
String query = (String) session.getAttribute(SessionAttributes.PARENT_WEBAPP_REDIRECT_URL);
@@ -14,7 +17,13 @@
</head>
<body>
- <form action="<%= query %>" method="post" name="redirectform" id="redirectform" target="_parent">
+ <form action="<%= query %>" method="post" name="redirectform" id="redirectform" target="_top">
+ <!--
+ <p>Redirecting the browser to</p>
+ <p><code><%= query %></code></p>
+ <p>Session-ID: <code><%= session.getId() %></code></p>
+ <input type="submit" value="submit"/>
+ -->
</form>
<script language="javascript" type="text/javascript">
<!--