1 16 17 package org.apache.tester; 18 19 20 import java.io.*; 21 import javax.servlet.*; 22 import javax.servlet.http.*; 23 24 30 31 public class Include00a extends HttpServlet { 32 33 34 public void doGet(HttpServletRequest request, HttpServletResponse response) 35 throws IOException, ServletException { 36 37 StringBuffer sb = new StringBuffer (); 39 response.setContentType("text/plain"); 40 PrintWriter writer = response.getWriter(); 41 42 writer.print("Include00a PASSED"); 44 while (true) { 45 String message = StaticLogger.read(); 46 if (message == null) 47 break; 48 writer.println(message); 49 } 50 StaticLogger.reset(); 51 52 } 53 54 } 55 | Popular Tags |