diff options
author | tknall <tknall@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c> | 2007-10-05 11:41:55 +0000 |
---|---|---|
committer | tknall <tknall@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c> | 2007-10-05 11:41:55 +0000 |
commit | 59d1febed642847d457c425b6fdf921cb3fe3c53 (patch) | |
tree | bcc9b92d7a55bb76b5ff7ba0c0aaa4ca9c6e6883 /src/main/java/at/knowcenter | |
parent | f81b65e34238c86eec39adad644b221fcefab299 (diff) | |
download | pdf-as-3-59d1febed642847d457c425b6fdf921cb3fe3c53.tar.gz pdf-as-3-59d1febed642847d457c425b6fdf921cb3fe3c53.tar.bz2 pdf-as-3-59d1febed642847d457c425b6fdf921cb3fe3c53.zip |
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
Diffstat (limited to 'src/main/java/at/knowcenter')
-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
|