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

Business Logic/trunk/src/org/cacert/birdshack/bl/api/Controller.java

index 6559828..4f49880 100644 (file)
@@ -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>");
        }