commit 516996808d29ec67a0107b8a2560e80cafe0b988 Author: Johannes Theiner Date: Fri Feb 15 23:36:24 2019 +0100 fisrst commit Signed-off-by: Johannes Theiner diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f85356d --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +*.iml +.idea +.project \ No newline at end of file diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..c269d7e --- /dev/null +++ b/pom.xml @@ -0,0 +1,62 @@ + + + 4.0.0 + + BauDas Kundenkarten Verwaltung + + de.hs-el.spm + bauDas-kundenkarten + 1.0-SNAPSHOT + war + + + + Johannes Theiner + johannes.theiner@informatik-emden.de + + Technisches Management + Server Admin + + + + + + YouTrack + https://youtrack.joethei.xyz/issues/SPM + + + + + + org.apache.tomcat.maven + tomcat7-maven-plugin + 2.2 + + https://spm.joethei.space/manager/text + TomcatServer + /bauDas + + + + + + + + + javax.servlet + javax.servlet-api + 4.0.1 + provided + + + + nz.ac.waikato.cms.weka + weka-stable + 3.8.3 + + + + + \ No newline at end of file diff --git a/src/main/java/de/hs_el/spm/bauDas/HelloWorld.java b/src/main/java/de/hs_el/spm/bauDas/HelloWorld.java new file mode 100644 index 0000000..2e4dc3c --- /dev/null +++ b/src/main/java/de/hs_el/spm/bauDas/HelloWorld.java @@ -0,0 +1,32 @@ +package de.hs_el.spm.bauDas; + +import javax.servlet.annotation.WebServlet; +import javax.servlet.http.HttpServlet; +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; +import java.io.IOException; +import java.io.PrintWriter; + +/** + * @author Johannes Theiner + * @version 0.1 + * @since 0.1 + */ + +@WebServlet(value = "/") +public class HelloWorld extends HttpServlet { + + @Override + protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws IOException { + resp.setContentType("text/html"); + PrintWriter out = resp.getWriter(); + out.println(""); + out.println(""); + out.println("Hello World!"); + out.println(""); + out.println(""); + out.println("

Hello World!

"); + out.println(""); + out.println(""); + } +} \ No newline at end of file