summaryrefslogtreecommitdiff
path: root/Business Logic
diff options
context:
space:
mode:
authorMario Lipinski <Mario Lipinski@d4452222-2f33-11de-9270-010000000000>2009-04-28 03:22:22 +0000
committerMario Lipinski <Mario Lipinski@d4452222-2f33-11de-9270-010000000000>2009-04-28 03:22:22 +0000
commit098f5b035217bb82b9117ce3ac8d615a139849b1 (patch)
tree9f56c7e105a94f3136f9617017a601e04441333b /Business Logic
parent56608ad3a8ddcb2db26603fb5d680b11f6d7416b (diff)
downloadcacert-birdshack-098f5b035217bb82b9117ce3ac8d615a139849b1.tar.gz
cacert-birdshack-098f5b035217bb82b9117ce3ac8d615a139849b1.tar.xz
cacert-birdshack-098f5b035217bb82b9117ce3ac8d615a139849b1.zip
config
git-svn-id: http://svn.cacert.cl/Software/BirdShack@28 d4452222-2f33-11de-9270-010000000000
Diffstat (limited to 'Business Logic')
-rw-r--r--Business Logic/trunk/src/org/cacert/birdshack/bl/api/Controller.java9
-rw-r--r--Business Logic/trunk/webapps/ROOT/WEB-INF/web.xml21
2 files changed, 22 insertions, 8 deletions
diff --git a/Business Logic/trunk/src/org/cacert/birdshack/bl/api/Controller.java b/Business Logic/trunk/src/org/cacert/birdshack/bl/api/Controller.java
index 4f49880..e8f6aa3 100644
--- a/Business Logic/trunk/src/org/cacert/birdshack/bl/api/Controller.java
+++ b/Business Logic/trunk/src/org/cacert/birdshack/bl/api/Controller.java
@@ -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
index 0000000..f971088
--- /dev/null
+++ b/Business Logic/trunk/webapps/ROOT/WEB-INF/web.xml
@@ -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>