标签:
1 protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { 2 //1.直接返回html页面 4 response.setContentType("text/html"); 5 PrintWriter out = response.getWriter(); 6 out.print(this.getClass()); 7 out.println("</HTML>"); 8 out.flush(); 9 out.close(); 10 }
标签:
原文地址:http://www.cnblogs.com/xianghu/p/5634092.html