aboutsummaryrefslogtreecommitdiff
path: root/src/main/webapp/jsp/error.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/error.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/error.jsp')
-rw-r--r--src/main/webapp/jsp/error.jsp9
1 files changed, 8 insertions, 1 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);
}