code: protected void doGet(HttpServletRequest request, HttpServletResponse response)
              throws ServletException, IOException
      {
          response.setContentType("text/html");
          response.setHeader("Pragma", "no-cache");
  
          PrintWriter out = response.getWriter();
  
          out.println("<html><head><title>OJB Distributed Locking Servlet Status Page</title>");
          out.println("</head><body><h1>OJB Distributed Locking Servlet</h1>");
          out.println("The servlet is running.<p>");
  
          if(lastError == null)
          {
              out.println("The LockServer is running.<p>");
              out.println("LockManager info: " + lockmanager.getLockInfo() + "<p>");
              out.println("Processed Lock Request: " + numRequests + "<p>");
          }
          else
          {
              out.println("<h2>The LockServer has a problem!</h2>");
              out.println("The error message is:<p>");
              out.println(lastError.getMessage() + "<p>");
              lastError.printStackTrace(out);
              lastError = null;
          }
  
          out.println("</body></html>");
      }
docs: /* (non-Javadoc)
  @see javax.servlet.http.HttpServlet#doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)