diff options
author | knowcenter <knowcenter@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c> | 2007-07-26 15:16:35 +0000 |
---|---|---|
committer | knowcenter <knowcenter@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c> | 2007-07-26 15:16:35 +0000 |
commit | 5f15345f30e5afe3f8ce0e55306047eee466400b (patch) | |
tree | 52d83ab967efc3e2ea91819cd551f8ee9ed05bf0 /webapp/jsp | |
parent | e068943d97cd50be536babe3a54268fe47f8d8e4 (diff) | |
download | pdf-as-3-5f15345f30e5afe3f8ce0e55306047eee466400b.tar.gz pdf-as-3-5f15345f30e5afe3f8ce0e55306047eee466400b.tar.bz2 pdf-as-3-5f15345f30e5afe3f8ce0e55306047eee466400b.zip |
Verification of single signatures now works. Error page (error.jsp) uses CSS formating.
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@158 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
Diffstat (limited to 'webapp/jsp')
-rw-r--r-- | webapp/jsp/error.jsp | 6 | ||||
-rw-r--r-- | webapp/jsp/null_request_page.jsp | 38 | ||||
-rw-r--r-- | webapp/jsp/results.jsp | 1 |
3 files changed, 5 insertions, 40 deletions
diff --git a/webapp/jsp/error.jsp b/webapp/jsp/error.jsp index 0d77ead..e0e0954 100644 --- a/webapp/jsp/error.jsp +++ b/webapp/jsp/error.jsp @@ -1,8 +1,10 @@ +<%@ page import="at.knowcenter.wag.egov.egiz.web.LocalRequestHelper" %>
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>PDF-AS Amtssignaturen Resultat</title>
-<link rel="stylesheet" type="text/css" href="/pdf-as/css/styles.css" />
+<link rel="stylesheet" type="text/css" href="<%=LocalRequestHelper.getLocalServerAddress(request,response)%>pdf-as/css/styles.css" />
</head>
<body>
<%
@@ -20,7 +22,7 @@ <strong><%= cause %></strong>
</div>
</div>
-<a class="big" href="/pdf-as/">Weiter...</a>
+<a class="big" href="<%=LocalRequestHelper.getLocalServerAddress(request,response)%>pdf-as/">Weiter...</a>
</div>
</body>
</html>
\ No newline at end of file diff --git a/webapp/jsp/null_request_page.jsp b/webapp/jsp/null_request_page.jsp index 7bb3541..3299b18 100644 --- a/webapp/jsp/null_request_page.jsp +++ b/webapp/jsp/null_request_page.jsp @@ -10,44 +10,6 @@ <title>PDF-AS Amtssignaturen Lokale Verbindung</title>
<link rel="stylesheet" type="text/css" href="/pdf-as/css/styles.css" />
-<script type="text/javascript">
-
-var req;
-
-function init() {
-
- if (window.XMLHttpRequest) { req = new XMLHttpRequest(); }
- else if (window.ActiveXObject) { req = new ActiveXObject("Microsoft.XMLHTTP"); }
-
- var url = "<%= local_request_url %>";
- var formdata = "XMLRequest=<?xml version='1.0' encoding='UTF-8'?><NullOperationRequest xmlns='http://www.buergerkarte.at/namespaces/securitylayer/1.2#'/>";
- formdata += "&DataURL=<%= data_url %>";
-
- req.open("post", url, true);
- req.setRequestHeader('Content-Type','application/x-www-form-urlencoded');
- req.onreadystatechange = processXMLResponse;
- req.send(formdata);
-}
-
-function processXMLResponse() {
- try
- {
- //readyState of 4 or 'complete' represents
- //that data has been returned
- if (xmlHttp.readyState == 4 ||
- xmlHttp.readyState == 'complete')
- {
- var response = req.responseText;
- alert(response);
- }
- else
- alert("not ok");
- }
- catch(e){}
-}
-
-</script>
-
</head>
<body onload="document.submitform.submit()">
diff --git a/webapp/jsp/results.jsp b/webapp/jsp/results.jsp index 02e084f..cffe158 100644 --- a/webapp/jsp/results.jsp +++ b/webapp/jsp/results.jsp @@ -89,6 +89,7 @@ <%
}
%>
+
</div>
</body>
</html>
|