1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23 package de.bea.domingo.servlet;
24
25 import java.io.IOException;
26
27 import javax.servlet.ServletException;
28 import javax.servlet.ServletOutputStream;
29 import javax.servlet.http.HttpServlet;
30 import javax.servlet.http.HttpServletRequest;
31 import javax.servlet.http.HttpServletResponse;
32
33
34 /***
35 * TODO.
36 *
37 * @author <a href=mailto:kriede@users.sourceforge.net>Kurt Riede</a>
38 */
39 public final class TestServlet extends HttpServlet {
40
41 /*** serial version ID for serialization. */
42 private static final long serialVersionUID = 391037336412564878L;
43
44
45 /***
46 * {@inheritDoc}
47 *
48 * @see javax.servlet.http.HttpServlet#doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
49 */
50 protected void doGet(final HttpServletRequest request, final HttpServletResponse response) throws ServletException,
51 IOException {
52 ServletOutputStream out = response.getOutputStream();
53 out.println("<html>");
54 out.println("<body>");
55 out.println("<h1>Test Servlet</h1>");
56 out.println("<p>test servlet</p>");
57 out.println("</body>");
58 out.println("</html>");
59 }
60 }