From 11c4bfac46f66ab3ba24b6354a6a372da40c0b1f Mon Sep 17 00:00:00 2001 From: Andreas Fitzek Date: Thu, 9 Jan 2014 12:52:06 +0100 Subject: PDF-AS web Developments --- pdf-as-web/src/main/webapp/WEB-INF/decorators.xml | 13 ++++ .../webapp/WEB-INF/decorators/default_layout.jsp | 41 ++++++++++++ pdf-as-web/src/main/webapp/WEB-INF/sitemesh.xml | 16 +++++ pdf-as-web/src/main/webapp/WEB-INF/web.xml | 74 +++++++++++++++------- 4 files changed, 120 insertions(+), 24 deletions(-) create mode 100644 pdf-as-web/src/main/webapp/WEB-INF/decorators.xml create mode 100644 pdf-as-web/src/main/webapp/WEB-INF/decorators/default_layout.jsp create mode 100644 pdf-as-web/src/main/webapp/WEB-INF/sitemesh.xml (limited to 'pdf-as-web/src/main/webapp/WEB-INF') diff --git a/pdf-as-web/src/main/webapp/WEB-INF/decorators.xml b/pdf-as-web/src/main/webapp/WEB-INF/decorators.xml new file mode 100644 index 00000000..6a6ed0a0 --- /dev/null +++ b/pdf-as-web/src/main/webapp/WEB-INF/decorators.xml @@ -0,0 +1,13 @@ + + + + /assets/* + + + + /* + /Sign + /ProvidePDF + /ErrorPage + + \ No newline at end of file diff --git a/pdf-as-web/src/main/webapp/WEB-INF/decorators/default_layout.jsp b/pdf-as-web/src/main/webapp/WEB-INF/decorators/default_layout.jsp new file mode 100644 index 00000000..1179d48c --- /dev/null +++ b/pdf-as-web/src/main/webapp/WEB-INF/decorators/default_layout.jsp @@ -0,0 +1,41 @@ + +<%@ taglib uri="http://www.opensymphony.com/sitemesh/decorator" + prefix="decorator"%> +<%@page contentType="text/html; charset=UTF-8"%> + + + + + + + + + + <decorator:title></decorator:title> + + + + + + + +
+
+

PDF-Signatur

+
+ +
+
+ +
+
+ + + +
+ + + \ No newline at end of file diff --git a/pdf-as-web/src/main/webapp/WEB-INF/sitemesh.xml b/pdf-as-web/src/main/webapp/WEB-INF/sitemesh.xml new file mode 100644 index 00000000..d8dfb3c9 --- /dev/null +++ b/pdf-as-web/src/main/webapp/WEB-INF/sitemesh.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/pdf-as-web/src/main/webapp/WEB-INF/web.xml b/pdf-as-web/src/main/webapp/WEB-INF/web.xml index 44298afe..81fa6dad 100644 --- a/pdf-as-web/src/main/webapp/WEB-INF/web.xml +++ b/pdf-as-web/src/main/webapp/WEB-INF/web.xml @@ -9,36 +9,32 @@ PDF-AS-WEB Application + + ExceptionCatchFilter + ExceptionCatchFilter + + at.gv.egiz.pdfas.web.filter.ExceptionCatchFilter + + + sitemesh + com.opensymphony.sitemesh.webapp.SiteMeshFilter + - - - - + + sitemesh + /* + + + ExceptionCatchFilter + /* + SignServlet The Sign Servlet allows Users to Sign PDF Documents ... - at.gv.egiz.pdfas.web.servlets.SignServlet + at.gv.egiz.pdfas.web.servlets.ExternSignServlet 5 @@ -59,6 +55,24 @@ at.gv.egiz.pdfas.web.servlets.VerifyServlet + + PDFData + PDFData + + at.gv.egiz.pdfas.web.servlets.PDFData + + + ErrorPage + ErrorPage + + at.gv.egiz.pdfas.web.servlets.ErrorPage + + + TestServlet + TestServlet + + at.gv.egiz.pdfas.web.servlets.TestServlet +