diff options
author | tknall <tknall@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c> | 2008-04-03 12:28:41 +0000 |
---|---|---|
committer | tknall <tknall@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c> | 2008-04-03 12:28:41 +0000 |
commit | f4c61a145d4f9a537c87fe67db36de8c28f2e352 (patch) | |
tree | 51e6b51375b1c19bf2a2ce332dd254fc5fddc3dd /src/main/webapp/jsp/results.jsp | |
parent | 861c81934a6596f6ec001248fc8f16476b816d2f (diff) | |
download | pdf-as-3-f4c61a145d4f9a537c87fe67db36de8c28f2e352.tar.gz pdf-as-3-f4c61a145d4f9a537c87fe67db36de8c28f2e352.tar.bz2 pdf-as-3-f4c61a145d4f9a537c87fe67db36de8c28f2e352.zip |
Web application adapted for Maven2 (/webapps -> /src/main/webapps).
Recognition of citizen card environment integrated.
New style sheets.
Web app classes adapted in order to avoid popup blocker of ie7 and to avoid an ITS bku bug.
Maven2 repository updated.
Eclipse project settings adapted in order to enable Eclipse Web Tools Platform usage.
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@256 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
Diffstat (limited to 'src/main/webapp/jsp/results.jsp')
-rw-r--r-- | src/main/webapp/jsp/results.jsp | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/src/main/webapp/jsp/results.jsp b/src/main/webapp/jsp/results.jsp new file mode 100644 index 0000000..990e33e --- /dev/null +++ b/src/main/webapp/jsp/results.jsp @@ -0,0 +1,78 @@ +<%@ page contentType="text/html; charset=UTF-8" %>
+<%@ page import="java.util.List" %>
+<%@ page import="java.util.Iterator" %>
+<%@ page import="at.knowcenter.wag.egov.egiz.sig.SignatureResponse" %>
+
+<%
+ List results = (List) request.getAttribute("results");
+ Object bb = request.getAttribute("backbutton");
+ String btlurl = (String)request.getAttribute("btlurl");
+ boolean backbutton = true;
+ if (bb != null && bb.equals("false")) {
+ backbutton = false;
+ }
+%>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html>
+ <head>
+ <title>PDF-Signaturen</title>
+ </head>
+ <body>
+ <h1>PDF-Signaturen</h1>
+ <h2>Prüfergebnis</h2>
+ <%
+ Iterator resit = results.iterator();
+ while (resit.hasNext()) {
+ SignatureResponse result = (SignatureResponse) resit.next();
+ %>
+
+ <div class="pdfasverticalspace"></div>
+ <fieldset class="pdfasresultfieldset">
+ <legend><b>Signatur-Check</b></legend>
+ <div class="<%= "0".equals(result.getSignatureCheckCode()) ? "pdfasok" : "pdfasnok" %>"><%= result.getSignatureCheckInfo() %></div>
+ </fieldset>
+
+ <div class="pdfassmallverticalspace"></div>
+ <fieldset class="pdfasresultfieldset">
+ <legend><b>Zertifikat</b></legend>
+ <table class="pdfaslisttable" cellpadding="1" cellspacing="1">
+ <tr><td class="pdfascaption">Signator:</td><td class="pdfasvalue"><%= result.getX509SubjectName() %></td></tr>
+ <tr><td class="pdfascaption">Aussteller:</td><td class="pdfasvalue"><%= result.getX509IssuerName() %></td></tr>
+ <tr><td class="pdfascaption">Seriennummer:</td><td class="pdfasvalue"><%= result.getX509SerialNumber() %></td></tr>
+ <%
+ List public_properties = result.getPublicProperties();
+ Iterator propit = public_properties.iterator();
+ while (propit.hasNext()) {
+ String public_property = (String) propit.next();
+ %>
+ <tr><td class="pdfascaption">Eigenschaft:</td><td class="pdfasvalue"><%= public_property %></td></tr>
+ <%
+ }
+ %>
+ <tr><td class="pdfascaption">Zertifikat:</td><td class="<%= "0".equals(result.getCertificateCheckCode()) ? "pdfasok" : "pdfasnok" %>"><%= result.getCertificateCheckInfo() %></td></tr>
+ </table>
+ </fieldset>
+
+ <div class="pdfassmallverticalspace"></div>
+ <fieldset class="pdfasresultfieldset">
+ <legend><b>Manifest-Check</b></legend>
+ <div class="<%= "0".equals(result.getSignatureManifestCheckCode()) ? "pdfasok" : "pdfasnok" %>"><%= result.getSignatureManifestCheckInfo() %></div>
+ </fieldset>
+
+ <%
+ if (resit.hasNext()) {
+ %>
+ <br />
+ <%
+ }
+ }
+ %>
+ <div class="pdfasverticalspace"></div>
+ <% if (backbutton) { %>
+ <a href="/pdf-as/jsp/verifyupload.jsp">zurück</a>
+ <% } %>
+ <% if (btlurl != null) { %>
+ <a href="<%=btlurl%>">zurück zur Liste</a>
+ <% } %>
+ </body>
+</html>
|