From 79c6c1d042fdad06294f4db57c5b8c91b6a0e5d0 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Wed, 19 Dec 2012 23:42:12 +0100 Subject: o Adding a basic web app. --- src/main/webapp/WEB-INF/tags/common/footer.tagx | 9 ++++++ .../webapp/WEB-INF/tags/common/head-element.tagx | 34 +++++++++++++++++++++ src/main/webapp/WEB-INF/tags/common/headjs.tagx | 10 +++++++ src/main/webapp/WEB-INF/web.xml | 35 ++++++++++++++++++++++ 4 files changed, 88 insertions(+) create mode 100644 src/main/webapp/WEB-INF/tags/common/footer.tagx create mode 100644 src/main/webapp/WEB-INF/tags/common/head-element.tagx create mode 100644 src/main/webapp/WEB-INF/tags/common/headjs.tagx create mode 100644 src/main/webapp/WEB-INF/web.xml (limited to 'src/main/webapp/WEB-INF') diff --git a/src/main/webapp/WEB-INF/tags/common/footer.tagx b/src/main/webapp/WEB-INF/tags/common/footer.tagx new file mode 100644 index 0000000..7f686ee --- /dev/null +++ b/src/main/webapp/WEB-INF/tags/common/footer.tagx @@ -0,0 +1,9 @@ + +
+
+ +

Footer, yo!

+ +
+
+
diff --git a/src/main/webapp/WEB-INF/tags/common/head-element.tagx b/src/main/webapp/WEB-INF/tags/common/head-element.tagx new file mode 100644 index 0000000..5321612 --- /dev/null +++ b/src/main/webapp/WEB-INF/tags/common/head-element.tagx @@ -0,0 +1,34 @@ + + + + + + + + + <c:if test="${not empty title }">${title } - </c:if>Yeah + + + + + + + + + + + + + diff --git a/src/main/webapp/WEB-INF/tags/common/headjs.tagx b/src/main/webapp/WEB-INF/tags/common/headjs.tagx new file mode 100644 index 0000000..4e39e63 --- /dev/null +++ b/src/main/webapp/WEB-INF/tags/common/headjs.tagx @@ -0,0 +1,10 @@ + + + + + + + diff --git a/src/main/webapp/WEB-INF/web.xml b/src/main/webapp/WEB-INF/web.xml new file mode 100644 index 0000000..de37fae --- /dev/null +++ b/src/main/webapp/WEB-INF/web.xml @@ -0,0 +1,35 @@ + + + + Jersey + + com.sun.jersey.spi.container.servlet.ServletContainer + + javax.ws.rs.Application + io.trygvis.esper.testing.web.JerseyApplication + + + jersey.config.servlet.filter.staticContentRegex + /(image|css|external)/.* + + + com.sun.jersey.config.feature.FilterForwardOn404 + true + + + com.sun.jersey.api.json.POJOMappingFeature + true + + + + Jersey + /* + + + index.jspx + + -- cgit v1.2.3