FileDocCategorySizeDatePackage
OCCIConnectionReportServlet.javaAPI DocExample1154Tue Nov 21 14:19:14 GMT 2000None

OCCIConnectionReportServlet

public class OCCIConnectionReportServlet extends HttpServlet

Fields Summary
Constructors Summary
Methods Summary
public voiddoGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)


  response.setContentType("text/html");
  PrintWriter out = response.getWriter();
  out.println("<html>");
  out.println("<head>");
  out.println("<title>Oracle Cached Connection " + 
   "Implementation Report Servlet</title>");
  out.println("</head>");
  out.println("<body>");
  out.println(
   "<h1>Oracle Cached Connection Implementations</h1>");
  out.println("<pre>");
  String[] lines = OCCIConnection.getReport();
  if (lines != null && lines.length > 0) {
   for (int i=0;i < lines.length;i++) {
    out.println(lines[i]);
   }
  }
  else
   out.println("No caches implemented!");
  out.println("</pre>");
  out.println("</body>");
  out.println("</html>");
 
public voiddoPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)

  doGet(request, response);