diff options
author | Christian Maierhofer <cmaierhofer@iaik.tugraz.at> | 2014-02-25 09:38:04 +0100 |
---|---|---|
committer | Christian Maierhofer <cmaierhofer@iaik.tugraz.at> | 2014-02-25 09:48:43 +0100 |
commit | 4ac58df2e45cf2640bcd7b34823522a3300e86c9 (patch) | |
tree | a0ca1c1bdc3c8fa67b2062e50ede70d063829c9a /pdf-as-web/src/main/java/at/gv/egiz/pdfas | |
parent | c683ceb96e7c3e1d8fea6ebc90d61e0fb41fe9a4 (diff) | |
download | pdf-as-4-4ac58df2e45cf2640bcd7b34823522a3300e86c9.tar.gz pdf-as-4-4ac58df2e45cf2640bcd7b34823522a3300e86c9.tar.bz2 pdf-as-4-4ac58df2e45cf2640bcd7b34823522a3300e86c9.zip |
changed parameter sig_type and pdfFile
Diffstat (limited to 'pdf-as-web/src/main/java/at/gv/egiz/pdfas')
3 files changed, 3 insertions, 3 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 |