aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-web/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'pdf-as-web/src/main')
-rw-r--r--pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper/PdfAsParameterExtractor.java2
-rw-r--r--pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/ExternSignServlet.java2
-rw-r--r--pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/VerifyServlet.java2
-rw-r--r--pdf-as-web/src/main/webapp/index.jsp2
-rw-r--r--pdf-as-web/src/main/webapp/verifystart.jsp2
5 files changed, 5 insertions, 5 deletions
diff --git a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper/PdfAsParameterExtractor.java b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper/PdfAsParameterExtractor.java
index 532bfadb..c4acf5a8 100644
--- a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper/PdfAsParameterExtractor.java
+++ b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper/PdfAsParameterExtractor.java
@@ -36,7 +36,7 @@ public class PdfAsParameterExtractor {
public static final String PARAM_LOCALE = "locale";
public static final String PARAM_NUM_BYTES = "num-bytes";
public static final String PARAM_PDF_URL = "pdf-url";
- public static final String PARAM_SIG_TYPE = "sig_type";
+ public static final String PARAM_SIG_TYPE = "sig-type";
public static final String PARAM_SIG_POS_P = "sig-pos-p";
public static final String PARAM_SIG_POS_Y = "sig-pos-y";
public static final String PARAM_SIG_POS_X = "sig-pos-x";
diff --git a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/ExternSignServlet.java b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/ExternSignServlet.java
index 8b36f3a5..bc485131 100644
--- a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/ExternSignServlet.java
+++ b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/ExternSignServlet.java
@@ -56,7 +56,7 @@ public class ExternSignServlet extends HttpServlet {
public static final String PDF_AS_WEB_CONF = "pdf-as-web.conf";
- private static final String UPLOAD_PDF_DATA = "pdfFile";
+ private static final String UPLOAD_PDF_DATA = "pdf-file";
private static final String UPLOAD_DIRECTORY = "upload";
private static final int THRESHOLD_SIZE = 1024 * 1024 * 3; // 3MB
private static final int MAX_FILE_SIZE = 1024 * 1024 * 40; // 40MB
diff --git a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/VerifyServlet.java b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/VerifyServlet.java
index 1f84e151..342e95de 100644
--- a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/VerifyServlet.java
+++ b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/VerifyServlet.java
@@ -61,7 +61,7 @@ public class VerifyServlet extends HttpServlet {
private static final Logger logger = LoggerFactory
.getLogger(ExternSignServlet.class);
- private static final String UPLOAD_PDF_DATA = "pdfFile";
+ private static final String UPLOAD_PDF_DATA = "pdf-file";
private static final String UPLOAD_DIRECTORY = "upload";
private static final int THRESHOLD_SIZE = 1024 * 1024 * 3; // 3MB
private static final int MAX_FILE_SIZE = 1024 * 1024 * 40; // 40MB
diff --git a/pdf-as-web/src/main/webapp/index.jsp b/pdf-as-web/src/main/webapp/index.jsp
index 6383f8a3..eba5db46 100644
--- a/pdf-as-web/src/main/webapp/index.jsp
+++ b/pdf-as-web/src/main/webapp/index.jsp
@@ -7,7 +7,7 @@
<form role="form" action="Sign" method="POST"
enctype="multipart/form-data">
<input type="hidden" name="source" id="source" value="internal" /> <input
- type="file" name="pdfFile" id="pdfFile" accept="application/pdf">
+ type="file" name="pdf-file" id="pdf-file" accept="application/pdf">
<%
if (request.getAttribute("FILEERR") != null) {
%>
diff --git a/pdf-as-web/src/main/webapp/verifystart.jsp b/pdf-as-web/src/main/webapp/verifystart.jsp
index cf8187bf..8a5af476 100644
--- a/pdf-as-web/src/main/webapp/verifystart.jsp
+++ b/pdf-as-web/src/main/webapp/verifystart.jsp
@@ -5,7 +5,7 @@
<h1>Verify PDF-Dokument</h1>
<form action="Sign" method="POST" enctype="multipart/form-data">
- <input type="file" name="pdffile" />
+ <input type="file" name="pdf-file" />
<input type="submit" value="Verfiy">
</form>