aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-web/src/main/webapp/jsp/redirect_to_parent.jsp
diff options
context:
space:
mode:
Diffstat (limited to 'pdf-as-web/src/main/webapp/jsp/redirect_to_parent.jsp')
-rw-r--r--pdf-as-web/src/main/webapp/jsp/redirect_to_parent.jsp33
1 files changed, 33 insertions, 0 deletions
diff --git a/pdf-as-web/src/main/webapp/jsp/redirect_to_parent.jsp b/pdf-as-web/src/main/webapp/jsp/redirect_to_parent.jsp
new file mode 100644
index 0000000..0930219
--- /dev/null
+++ b/pdf-as-web/src/main/webapp/jsp/redirect_to_parent.jsp
@@ -0,0 +1,33 @@
+<%@ page contentType="text/html; charset=UTF-8" language="java" errorPage=""%>
+<%@ page import="at.gv.egiz.pdfas.web.session.SessionAttributes" %>
+
+
+<%@ include file="language.jsp" %>
+
+<head>
+ <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);
+ session.removeAttribute(SessionAttributes.PARENT_WEBAPP_REDIRECT_URL);
+ %>
+</head>
+
+<body>
+ <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">
+ <!--
+ document.redirectform.submit();
+ -->
+ </script>
+</body>