diff options
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/at/knowcenter/wag/egov/egiz/web/servlets/SignServlet.java | 5 |
1 files 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
|