日期:2014-05-16  浏览次数:20382 次

JSP运行原理(二)

public void (HttpServletRequest request, HttpServletResponse response)

??????? throws java.io.IOException, ServletException {

??? JspFactory _jspxFactory = null;

??? PageContext pageContext = null;

??? HttpSession session = null;

??? ServletContext application = null;

??? ServletConfig config = null;

??? JspWriter out = null;

??? Object page = this;

??? JspWriter _jspx_out = null;

??? PageContext _jspx_page_context = null;

??? try {

????? _jspxFactory = JspFactory.getDefaultFactory();

????? response.setContentType("text/html;charset=gb2312");

????? pageContext = _jspxFactory.getPageContext(this, request, response,

???????????????? null, true, 8192, true);

????? _jspx_page_context = pageContext;

????? application = pageContext.getServletContext();

????? config = pageContext.getServletConfig();

????? session = pageContext.getSession();

????? out = pageContext.getOut();

????? _jspx_out = out;

????? out.write("\r\n");

out.write("<html>\r\n");

????? out.write("?? <head>\r\n");

????? out.write("????? <title>登录成功</title>\r\n");

????? out.write("?? </head>\r\n");

????? out.write("?? <body>\r\n");

????? out.write("????? <h2>");

????? out.write((java.lang.Strin