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 +- .../src/main/webapp/assets/css/bootstrap-theme.css | 397 ++ .../main/webapp/assets/css/bootstrap-theme.min.css | 7 + .../src/main/webapp/assets/css/bootstrap.css | 7118 ++++++++++++++++++++ .../src/main/webapp/assets/css/bootstrap.min.css | 7 + pdf-as-web/src/main/webapp/assets/css/pdfas.css | 79 + .../assets/fonts/glyphicons-halflings-regular.eot | Bin 0 -> 20290 bytes .../assets/fonts/glyphicons-halflings-regular.svg | 229 + .../assets/fonts/glyphicons-halflings-regular.ttf | Bin 0 -> 41236 bytes .../assets/fonts/glyphicons-halflings-regular.woff | Bin 0 -> 23292 bytes pdf-as-web/src/main/webapp/assets/js/bootstrap.js | 2006 ++++++ .../src/main/webapp/assets/js/bootstrap.min.js | 7 + pdf-as-web/src/main/webapp/index.jsp | 21 + pdf-as-web/src/main/webapp/signstart.jsp | 14 - 17 files changed, 9991 insertions(+), 38 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 create mode 100644 pdf-as-web/src/main/webapp/assets/css/bootstrap-theme.css create mode 100644 pdf-as-web/src/main/webapp/assets/css/bootstrap-theme.min.css create mode 100644 pdf-as-web/src/main/webapp/assets/css/bootstrap.css create mode 100644 pdf-as-web/src/main/webapp/assets/css/bootstrap.min.css create mode 100644 pdf-as-web/src/main/webapp/assets/css/pdfas.css create mode 100644 pdf-as-web/src/main/webapp/assets/fonts/glyphicons-halflings-regular.eot create mode 100644 pdf-as-web/src/main/webapp/assets/fonts/glyphicons-halflings-regular.svg create mode 100644 pdf-as-web/src/main/webapp/assets/fonts/glyphicons-halflings-regular.ttf create mode 100644 pdf-as-web/src/main/webapp/assets/fonts/glyphicons-halflings-regular.woff create mode 100644 pdf-as-web/src/main/webapp/assets/js/bootstrap.js create mode 100644 pdf-as-web/src/main/webapp/assets/js/bootstrap.min.js create mode 100644 pdf-as-web/src/main/webapp/index.jsp delete mode 100644 pdf-as-web/src/main/webapp/signstart.jsp (limited to 'pdf-as-web/src/main/webapp') 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 +