summaryrefslogtreecommitdiff
path: root/Business Logic
diff options
context:
space:
mode:
authorMario Lipinski <Mario Lipinski@d4452222-2f33-11de-9270-010000000000>2009-04-28 03:09:45 +0000
committerMario Lipinski <Mario Lipinski@d4452222-2f33-11de-9270-010000000000>2009-04-28 03:09:45 +0000
commit56608ad3a8ddcb2db26603fb5d680b11f6d7416b (patch)
tree1a8f4857ef2e29f4aabce26a6d21e084c1486b90 /Business Logic
parent70928c741dc8e8e50beaa204de31d45d5c2adac2 (diff)
downloadcacert-birdshack-56608ad3a8ddcb2db26603fb5d680b11f6d7416b.tar.gz
cacert-birdshack-56608ad3a8ddcb2db26603fb5d680b11f6d7416b.tar.xz
cacert-birdshack-56608ad3a8ddcb2db26603fb5d680b11f6d7416b.zip
testing around with servlets
git-svn-id: http://svn.cacert.cl/Software/BirdShack@27 d4452222-2f33-11de-9270-010000000000
Diffstat (limited to 'Business Logic')
-rw-r--r--Business Logic/trunk/src/org/cacert/birdshack/bl/api/Controller.java14
1 files changed, 3 insertions, 11 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 6559828..4f49880 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
@@ -22,24 +22,16 @@ public class Controller extends HttpServlet {
*/
private static final long serialVersionUID = 1L;
- /**
- *
- */
- public Controller() {
- // TODO Auto-generated constructor stub
- }
-
- @Override
protected void doGet(HttpServletRequest req, HttpServletResponse resp)
throws ServletException, IOException {
- resp.setContentType("text/html");
+ resp.setContentType("text/plain");
PrintWriter out = resp.getWriter();
out.println("<html>");
out.println("<head>");
- out.println("<title>Hello World!</title>");
+ out.println("<title>Hello World123!</title>");
out.println("</head>");
out.println("<body>");
- out.println("<h1>Hello World!</h1>");
+ out.println("<h1>Hello Worldasdf!</h1>");
out.println("</body>");
out.println("</html>");
}