From 68a6b55068c5d5a1a2656f642c6b870fbe3cd141 Mon Sep 17 00:00:00 2001 From: Andreas Fitzek Date: Fri, 6 Jun 2014 16:17:21 +0200 Subject: support for Locale Paramter including Mobile BKU --- .../src/main/java/at/gv/egiz/pdfas/web/servlets/ExternSignServlet.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets') 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 9d19fd45..f3c3fcca 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 @@ -247,6 +247,9 @@ public class ExternSignServlet extends HttpServlet { String errorUrl = PdfAsParameterExtractor.getInvokeErrorURL(request); PdfAsHelper.setErrorURL(request, response, errorUrl); + String locale = PdfAsParameterExtractor.getLocale(request); + PdfAsHelper.setLocale(request, response, locale); + if(pdfData == null) { throw new PdfAsException("No Signature data available"); } -- cgit v1.2.3