aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-web/src/main
diff options
context:
space:
mode:
authorAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2014-04-10 16:59:08 +0200
committerAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2014-04-10 16:59:08 +0200
commitb4b272b6af9d1f3c51011a407cdc29f64b812865 (patch)
tree284dcfd429c6586e97f96827afaa5e93deabd01b /pdf-as-web/src/main
parentf891dca529c9dc199114ae4f0857d28812315b11 (diff)
downloadpdf-as-4-b4b272b6af9d1f3c51011a407cdc29f64b812865.tar.gz
pdf-as-4-b4b272b6af9d1f3c51011a407cdc29f64b812865.tar.bz2
pdf-as-4-b4b272b6af9d1f3c51011a407cdc29f64b812865.zip
Memory optimizations, added Version to web
Diffstat (limited to 'pdf-as-web/src/main')
-rw-r--r--pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper/PdfAsHelper.java8
-rw-r--r--pdf-as-web/src/main/webapp/index.jsp3
2 files changed, 11 insertions, 0 deletions
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"%>
<html>
<head>
<title>PDF-Signatur</title>
@@ -60,5 +61,7 @@
}
%>
</form>
+
+ <p><small>Version: <%= PdfAsHelper.getVersion() %> - <%= PdfAsHelper.getSCMRevision() %></small></p>
</body>
</html> \ No newline at end of file