config
authorMario Lipinski <Mario Lipinski@d4452222-2f33-11de-9270-010000000000>
Tue, 28 Apr 2009 03:22:22 +0000 (03:22 +0000)
committerMario Lipinski <Mario Lipinski@d4452222-2f33-11de-9270-010000000000>
Tue, 28 Apr 2009 03:22:22 +0000 (03:22 +0000)
git-svn-id: http://svn.cacert.cl/Software/BirdShack@28 d4452222-2f33-11de-9270-010000000000

Business Logic/trunk/src/org/cacert/birdshack/bl/api/Controller.java
Business Logic/trunk/webapps/ROOT/WEB-INF/web.xml [new file with mode: 0644]

index 4f49880..e8f6aa3 100644 (file)
@@ -26,14 +26,7 @@ public class Controller extends HttpServlet {
                        throws ServletException, IOException {
         resp.setContentType("text/plain");
         PrintWriter out = resp.getWriter();
-        out.println("<html>");
-        out.println("<head>");
-        out.println("<title>Hello World123!</title>");
-        out.println("</head>");
-        out.println("<body>");
-        out.println("<h1>Hello Worldasdf!</h1>");
-        out.println("</body>");
-        out.println("</html>");
+        out.println("test");
        }
        
        
diff --git a/Business Logic/trunk/webapps/ROOT/WEB-INF/web.xml b/Business Logic/trunk/webapps/ROOT/WEB-INF/web.xml
new file mode 100644 (file)
index 0000000..f971088
--- /dev/null
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<web-app xmlns="http://java.sun.com/xml/ns/javaee"
+   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+   xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
+   version="2.5"> 
+
+    <description>
+      Beschreibung
+    </description>
+    <display-name>Name</display-name>
+
+    <servlet>
+        <servlet-name>Controller</servlet-name>
+        <servlet-class>org.cacert.birdshack.bl.api.Controller</servlet-class>
+    </servlet>
+
+    <servlet-mapping>
+        <servlet-name>Controller</servlet-name>
+        <url-pattern>/</url-pattern>
+    </servlet-mapping>
+</web-app>