aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-web/src/main/webapp
diff options
context:
space:
mode:
Diffstat (limited to 'pdf-as-web/src/main/webapp')
-rw-r--r--pdf-as-web/src/main/webapp/WEB-INF/web.xml22
-rw-r--r--pdf-as-web/src/main/webapp/verifystart.jsp2
2 files changed, 22 insertions, 2 deletions
diff --git a/pdf-as-web/src/main/webapp/WEB-INF/web.xml b/pdf-as-web/src/main/webapp/WEB-INF/web.xml
index 800c4505..85811ff0 100644
--- a/pdf-as-web/src/main/webapp/WEB-INF/web.xml
+++ b/pdf-as-web/src/main/webapp/WEB-INF/web.xml
@@ -76,6 +76,18 @@
<description></description>
<servlet-class>at.gv.egiz.pdfas.web.servlets.ErrorPage</servlet-class>
</servlet>
+ <servlet>
+ <servlet-name>PDFVerifyData</servlet-name>
+ <display-name>PDFVerifyData</display-name>
+ <description></description>
+ <servlet-class>at.gv.egiz.pdfas.web.servlets.PDFSignatureData</servlet-class>
+ </servlet>
+ <servlet>
+ <servlet-name>PDFVerifyCert</servlet-name>
+ <display-name>PDFVerifyCert</display-name>
+ <description></description>
+ <servlet-class>at.gv.egiz.pdfas.web.servlets.PDFSignatureCertificateData</servlet-class>
+ </servlet>
<!-- Define mappings that are used by the servlet container to translate
a particular request URI (context-relative) to a particular servlet. The
@@ -104,7 +116,7 @@
</servlet-mapping>
<servlet-mapping>
<servlet-name>VerifyServlet</servlet-name>
- <url-pattern>/VerifyServlet</url-pattern>
+ <url-pattern>/Verify</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>PDFData</servlet-name>
@@ -114,6 +126,14 @@
<servlet-name>ErrorPage</servlet-name>
<url-pattern>/ErrorPage</url-pattern>
</servlet-mapping>
+ <servlet-mapping>
+ <servlet-name>PDFVerifyData</servlet-name>
+ <url-pattern>/signData</url-pattern>
+ </servlet-mapping>
+ <servlet-mapping>
+ <servlet-name>PDFVerifyCert</servlet-name>
+ <url-pattern>/signCert</url-pattern>
+ </servlet-mapping>
<!-- Define the default session timeout for your application, in minutes.
From a servlet or JSP page, you can modify the timeout for a particular session
diff --git a/pdf-as-web/src/main/webapp/verifystart.jsp b/pdf-as-web/src/main/webapp/verifystart.jsp
index 8a5af476..86795d23 100644
--- a/pdf-as-web/src/main/webapp/verifystart.jsp
+++ b/pdf-as-web/src/main/webapp/verifystart.jsp
@@ -3,7 +3,7 @@
</head>
<body>
<h1>Verify PDF-Dokument</h1>
-<form action="Sign" method="POST" enctype="multipart/form-data">
+<form action="Verify" method="POST" enctype="multipart/form-data">
<input type="file" name="pdf-file" />