标签:exception tps char weight height log class position pos
protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { response.setContentType("text/html;charset=UTF-8"); PrintWriter out=response.getWriter(); out.print("第yi个页面"); RequestDispatcher dis=this.getServletContext().getRequestDispatcher("/servlet/getscope"); dis.include(request,response); out.close(); }
protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { response.setContentType("text/html;charset=UTF-8"); PrintWriter out=response.getWriter(); out.print("第er个页面"); }
(十二)会话跟踪技术之servlet通信(forward和include)
标签:exception tps char weight height log class position pos
原文地址:http://www.cnblogs.com/shyroke/p/6492708.html