diff options
Diffstat (limited to 'src/main/webapp/jsp/results.jsp')
-rw-r--r-- | src/main/webapp/jsp/results.jsp | 80 |
1 files changed, 0 insertions, 80 deletions
diff --git a/src/main/webapp/jsp/results.jsp b/src/main/webapp/jsp/results.jsp deleted file mode 100644 index f3ab71c..0000000 --- a/src/main/webapp/jsp/results.jsp +++ /dev/null @@ -1,80 +0,0 @@ -<%@ 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" %>
-
-<%@ include file="language.jsp" %>
-
-<%
- 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><fmt:message key="common.title"/></title>
- </head>
- <body>
- <h1><fmt:message key="common.title"/></h1>
- <h2><fmt:message key="results.heading2"/></h2>
- <%
- Iterator resit = results.iterator();
- while (resit.hasNext()) {
- SignatureResponse result = (SignatureResponse) resit.next();
- %>
-
- <div class="pdfasverticalspace"></div>
- <fieldset class="pdfasresultfieldset">
- <legend><b><fmt:message key="results.signaturecheck"/></b></legend>
- <div class="<%= "0".equals(result.getSignatureCheckCode()) ? "pdfasok" : "pdfasnok" %>"><%= result.getSignatureCheckInfo() %></div>
- </fieldset>
-
- <div class="pdfassmallverticalspace"></div>
- <fieldset class="pdfasresultfieldset">
- <legend><b><fmt:message key="results.certificatecheck"/></b></legend>
- <table class="pdfaslisttable" cellpadding="1" cellspacing="1">
- <tr><td class="pdfascaption"><fmt:message key="results.signer"/>:</td><td class="pdfasvalue"><%= result.getX509SubjectName() %></td></tr>
- <tr><td class="pdfascaption"><fmt:message key="results.issuer"/>:</td><td class="pdfasvalue"><%= result.getX509IssuerName() %></td></tr>
- <tr><td class="pdfascaption"><fmt:message key="results.serialnumber"/>:</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"><fmt:message key="results.property"/>:</td><td class="pdfasvalue"><%= public_property %></td></tr>
- <%
- }
- %>
- <tr><td class="pdfascaption"><fmt:message key="results.certificate"/>:</td><td class="<%= "0".equals(result.getCertificateCheckCode()) ? "pdfasok" : "pdfasnok" %>"><%= result.getCertificateCheckInfo() %></td></tr>
- </table>
- </fieldset>
-
- <div class="pdfassmallverticalspace"></div>
- <fieldset class="pdfasresultfieldset">
- <legend><b><fmt:message key="results.manifestcheck"/></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="<%= request.getContextPath() %>/jsp/verifyupload.jsp"><fmt:message key="common.back"/></a>
- <% } %>
- <% if (btlurl != null) { %>
- <a href="<%=btlurl%>"><fmt:message key="common.backtolist"/></a>
- <% } %>
- </body>
-</html>
|