aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-web/src/main/java/at/gv/egiz
diff options
context:
space:
mode:
Diffstat (limited to 'pdf-as-web/src/main/java/at/gv/egiz')
-rw-r--r--pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/ExternSignServlet.java10
1 files changed, 8 insertions, 2 deletions
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 d1345eef..9ebd5382 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
@@ -341,8 +341,14 @@ public class ExternSignServlet extends HttpServlet {
//read and set placholder web id
- String placeholder_id = PdfAsParameterExtractor.getPlaceholderId(request);
- PlaceholderWebConfiguration.setValue(IConfigurationConstants.PLACEHOLDER_WEB_ID, placeholder_id);
+ try{
+ String placeholder_id = PdfAsParameterExtractor.getPlaceholderId(request);
+ if(!placeholder_id.equalsIgnoreCase(""))
+ PlaceholderWebConfiguration.setValue(IConfigurationConstants.PLACEHOLDER_WEB_ID, placeholder_id);
+ } catch(Exception e) {
+ logger.error(e.getLocalizedMessage());
+ }
+
String filename = PdfAsParameterExtractor.getFilename(request);
if(filename != null) {