From b4b272b6af9d1f3c51011a407cdc29f64b812865 Mon Sep 17 00:00:00 2001 From: Andreas Fitzek Date: Thu, 10 Apr 2014 16:59:08 +0200 Subject: Memory optimizations, added Version to web --- .../src/main/java/at/gv/egiz/pdfas/web/helper/PdfAsHelper.java | 8 ++++++++ pdf-as-web/src/main/webapp/index.jsp | 3 +++ 2 files changed, 11 insertions(+) (limited to 'pdf-as-web/src/main') diff --git a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper/PdfAsHelper.java b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper/PdfAsHelper.java index 47243a43..f9d3e720 100644 --- a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper/PdfAsHelper.java +++ b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper/PdfAsHelper.java @@ -809,4 +809,12 @@ public class PdfAsHelper { } return false; } + + public static String getVersion() { + return PdfAsFactory.getVersion(); + } + + public static String getSCMRevision() { + return PdfAsFactory.getSCMRevision(); + } } diff --git a/pdf-as-web/src/main/webapp/index.jsp b/pdf-as-web/src/main/webapp/index.jsp index 82458f77..42f2a168 100644 --- a/pdf-as-web/src/main/webapp/index.jsp +++ b/pdf-as-web/src/main/webapp/index.jsp @@ -1,4 +1,5 @@ <%@page import="at.gv.egiz.pdfas.web.config.WebConfiguration"%> +<%@page import="at.gv.egiz.pdfas.web.helper.PdfAsHelper"%> PDF-Signatur @@ -60,5 +61,7 @@ } %> + +

Version: <%= PdfAsHelper.getVersion() %> - <%= PdfAsHelper.getSCMRevision() %>

\ No newline at end of file -- cgit v1.2.3