From 59d1febed642847d457c425b6fdf921cb3fe3c53 Mon Sep 17 00:00:00 2001 From: tknall Date: Fri, 5 Oct 2007 11:41:55 +0000 Subject: minor bugfix parsing of parameter "preview" of SignServlet git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@221 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c --- .../java/at/knowcenter/wag/egov/egiz/web/servlets/SignServlet.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/at/knowcenter/wag/egov/egiz/web/servlets/SignServlet.java b/src/main/java/at/knowcenter/wag/egov/egiz/web/servlets/SignServlet.java index 13e6703..16b12e1 100644 --- a/src/main/java/at/knowcenter/wag/egov/egiz/web/servlets/SignServlet.java +++ b/src/main/java/at/knowcenter/wag/egov/egiz/web/servlets/SignServlet.java @@ -220,13 +220,14 @@ public class SignServlet extends HttpServlet ud_extern.file_name = filename; ud_extern.pdfDataSource = TempDirHelper.placePdfIntoTempDir(is, filename); // ud_extern.pdf = extern_pdf; - ud_extern.preview = preview.equalsIgnoreCase("true") ? true : false; +// ud_extern.preview = preview.equalsIgnoreCase("true") ? true : false; + ud_extern.preview = "true".equalsIgnoreCase(preview); ud_extern.sig_app = sig_app; ud_extern.sig_mode = sig_mode; ud_extern.sig_type = sig_type; ud = ud_extern; - + exappinf = new ExternAppInformation(invoke_url, pdf_id, session_id); } else -- cgit v1.2.3