aboutsummaryrefslogtreecommitdiff
path: root/src/main/webapp/jsp/download.jsp
diff options
context:
space:
mode:
authorpdanner <pdanner@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2010-12-06 16:53:47 +0000
committerpdanner <pdanner@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2010-12-06 16:53:47 +0000
commit125cc4075896aceda7cb02ecee84e18604294ff4 (patch)
treef54741df4a14969c28f7c58edaadce47b4ca9480 /src/main/webapp/jsp/download.jsp
parent63c48dfb86e24a82f828628d5f2518732c201993 (diff)
downloadpdf-as-3-125cc4075896aceda7cb02ecee84e18604294ff4.tar.gz
pdf-as-3-125cc4075896aceda7cb02ecee84e18604294ff4.tar.bz2
pdf-as-3-125cc4075896aceda7cb02ecee84e18604294ff4.zip
Moved to pdf-as-web project
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@674 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
Diffstat (limited to 'src/main/webapp/jsp/download.jsp')
-rw-r--r--src/main/webapp/jsp/download.jsp44
1 files changed, 0 insertions, 44 deletions
diff --git a/src/main/webapp/jsp/download.jsp b/src/main/webapp/jsp/download.jsp
deleted file mode 100644
index 95109e3..0000000
--- a/src/main/webapp/jsp/download.jsp
+++ /dev/null
@@ -1,44 +0,0 @@
-<%@ page contentType="text/html; charset=UTF-8"%>
-
-<%@ include file="language.jsp" %>
-
-<%@ page import="at.knowcenter.wag.egov.egiz.web.SessionAttributes" %>
-<%@ page import="at.knowcenter.wag.egov.egiz.web.LocalRequestHelper" %>
-
-<%
- String downloadURL = (String) session.getAttribute(SessionAttributes.DOWNLOAD_URL_FOR_SIGNED_PDF_DOCUMENT);
-%>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html>
- <head>
- <title><fmt:message key="download.title"/></title>
- <script language="javascript" type="text/javascript">
- <!--
- function disableElement(elementId) {
- document.getElementById(elementId).disabled = true;
- document.getElementById(elementId).blur();
- }
- function hitButton() {
- document.submitform.submit();
- disableElement("SendRequestButton");
- document.getElementById("SendRequestButton").value = "<fmt:message key="download.button.alreadydone"/>";
- return(true);
- }
- -->
- </script>
- <base href="<%= LocalRequestHelper.getLocalContextAddress(request, response) %>/"/>
- </head>
-
- <body>
- <h1><fmt:message key="common.title"/></h1>
- <h2><fmt:message key="download.heading2"/></h2>
- <div class="pdfasnote"><fmt:message key="download.note"/></div>
- <div class="pdfasverticalspace"></div>
- <form action="<%= downloadURL %>" name="submitform" accept-charset="UTF-8" method="post" enctype="application/x-www-form-urlencoded">
- <input type="submit" id="SendRequestButton" value="<fmt:message key="download.button.download"/>" onclick="return hitButton();"/>
- </form>
- <div class="pdfasverticalspace"></div>
- <a href="<%= (response.encodeRedirectURL(request.getContextPath() + "/") + "?") %><fmt:message key="common.locale.param"/>"><fmt:message key="common.back"/></a>
- </body>
-
-</html>