diff --git a/hello-world-war-master/README.md b/hello-world-war-master/README.md new file mode 100644 index 0000000..2d4e291 --- /dev/null +++ b/hello-world-war-master/README.md @@ -0,0 +1,4 @@ +Hello World! (WAR-style) +=============== + +This is the simplest possible Java webapp for testing servlet container deployments. It should work on any container and requires no other dependencies or configuration. diff --git a/hello-world-war-master/dist/hello-world.war b/hello-world-war-master/dist/hello-world.war new file mode 100644 index 0000000..03c6722 Binary files /dev/null and b/hello-world-war-master/dist/hello-world.war differ diff --git a/hello-world-war-master/pom.xml b/hello-world-war-master/pom.xml new file mode 100644 index 0000000..85f2e2e --- /dev/null +++ b/hello-world-war-master/pom.xml @@ -0,0 +1,29 @@ + + 4.0.0 + com.efsavage + hello-world-war + 1.0.0 + war + Hello World Web Application Repository + Simplest possible Java Webapp + + + + + org.mortbay.jetty + jetty-maven-plugin + 8.1.5.v20120716 + + 0 + + + + org.apache.maven.plugins + maven-war-plugin + 2.1.1 + + + + + \ No newline at end of file diff --git a/hello-world-war-master/src/main/webapp/WEB-INF/web.xml b/hello-world-war-master/src/main/webapp/WEB-INF/web.xml new file mode 100644 index 0000000..5952928 --- /dev/null +++ b/hello-world-war-master/src/main/webapp/WEB-INF/web.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/hello-world-war-master/src/main/webapp/index.jsp b/hello-world-war-master/src/main/webapp/index.jsp new file mode 100644 index 0000000..ead0e51 --- /dev/null +++ b/hello-world-war-master/src/main/webapp/index.jsp @@ -0,0 +1,13 @@ + + +Hello World! + + +

Hello World!

+

+ It is now + <%= new java.util.Date() %>

+

+ You are coming from + <%= request.getRemoteAddr() %>

+ \ No newline at end of file