diff --git a/README.md b/README.md new file mode 100644 index 0000000..3a371c6 --- /dev/null +++ b/README.md @@ -0,0 +1,4 @@ +java-hello-world-webapp +======================= + +A simple java web app \ No newline at end of file diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..513e65d --- /dev/null +++ b/pom.xml @@ -0,0 +1,21 @@ + + 4.0.0 + org.cloudifysource.examples + java-hello-world-webapp + war + 1.0-SNAPSHOT + java-hello-world-webapp Maven Webapp + http://maven.apache.org + + + junit + junit + 3.8.1 + test + + + + java-hello-world + + diff --git a/src/main/webapp/WEB-INF/web.xml b/src/main/webapp/WEB-INF/web.xml new file mode 100644 index 0000000..9f88c1f --- /dev/null +++ b/src/main/webapp/WEB-INF/web.xml @@ -0,0 +1,7 @@ + + + + Archetype Created Web Application + diff --git a/src/main/webapp/index.jsp b/src/main/webapp/index.jsp new file mode 100644 index 0000000..26df97a --- /dev/null +++ b/src/main/webapp/index.jsp @@ -0,0 +1,5 @@ + + +

Hello World ?

+ + diff --git a/test b/test index a6525f9..068b42e 100644 --- a/test +++ b/test @@ -1 +1,7 @@ -this is test file for java project + +//added helloworld.java file// +class HelloWorld { + public static void main(String[] args) { + System.out.println("Hello, World!"); + } +}