index_0002ejsp_jsp.java
上传用户:dinglihq
上传日期:2013-02-04
资源大小:99958k
文件大小:8k
源码类别:

Java编程

开发平台:

Java

  1. import javax.servlet.*;
  2. import javax.servlet.http.*;
  3. import javax.servlet.jsp.*;
  4. import org.apache.jasper.runtime.*;
  5. public class index_0002ejsp_jsp extends HttpJspBase {
  6.   private static java.util.Vector _jspx_includes;
  7.   private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_html_form_method_action;
  8.   private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_html_text_property;
  9.   private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_html_submit_value_property;
  10.   private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_html_reset_value;
  11.   public index_0002ejsp_jsp() {
  12.     _jspx_tagPool_html_form_method_action = new org.apache.jasper.runtime.TagHandlerPool();
  13.     _jspx_tagPool_html_text_property = new org.apache.jasper.runtime.TagHandlerPool();
  14.     _jspx_tagPool_html_submit_value_property = new org.apache.jasper.runtime.TagHandlerPool();
  15.     _jspx_tagPool_html_reset_value = new org.apache.jasper.runtime.TagHandlerPool();
  16.   }
  17.   public java.util.List getIncludes() {
  18.     return _jspx_includes;
  19.   }
  20.   public void _jspDestroy() {
  21.     _jspx_tagPool_html_form_method_action.release();
  22.     _jspx_tagPool_html_text_property.release();
  23.     _jspx_tagPool_html_submit_value_property.release();
  24.     _jspx_tagPool_html_reset_value.release();
  25.   }
  26.   public void _jspService(HttpServletRequest request, HttpServletResponse response)
  27.         throws java.io.IOException, ServletException {
  28.     JspFactory _jspxFactory = null;
  29.     javax.servlet.jsp.PageContext pageContext = null;
  30.     HttpSession session = null;
  31.     ServletContext application = null;
  32.     ServletConfig config = null;
  33.     JspWriter out = null;
  34.     Object page = this;
  35.     JspWriter _jspx_out = null;
  36.     try {
  37.       _jspxFactory = JspFactory.getDefaultFactory();
  38.       response.setContentType("text/html; charset=GBK");
  39.       pageContext = _jspxFactory.getPageContext(this, request, response,
  40.        null, true, 8192, true);
  41.       application = pageContext.getServletContext();
  42.       config = pageContext.getServletConfig();
  43.       session = pageContext.getSession();
  44.       out = pageContext.getOut();
  45.       _jspx_out = out;
  46.       out.write("rn");
  47.       out.write("rn");
  48.       out.write("rn");
  49.       out.write("rn");
  50.       out.write("rn");
  51.       out.write("<head>rn");
  52.       out.write("<title>rnlog_okrn");
  53.       out.write("</title>rn");
  54.       out.write("</head>rn");
  55.       out.write("<body>rn");
  56.       out.write("<h1>simple jsp based on struts ");
  57.       out.write("</h1>rn");
  58.       out.write("<p>rn");
  59.       if (_jspx_meth_html_form_0(pageContext))
  60.         return;
  61.       out.write("rn");
  62.       out.write("</body>rn");
  63.       out.write("</html:html>");
  64.     } catch (Throwable t) {
  65.       out = _jspx_out;
  66.       if (out != null && out.getBufferSize() != 0)
  67.         out.clearBuffer();
  68.       if (pageContext != null) pageContext.handlePageException(t);
  69.     } finally {
  70.       if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext);
  71.     }
  72.   }
  73.   private boolean _jspx_meth_html_form_0(javax.servlet.jsp.PageContext pageContext)
  74.           throws Throwable {
  75.     JspWriter out = pageContext.getOut();
  76.     /* ----  html:form ---- */
  77.     org.apache.struts.taglib.html.FormTag _jspx_th_html_form_0 = (org.apache.struts.taglib.html.FormTag) _jspx_tagPool_html_form_method_action.get(org.apache.struts.taglib.html.FormTag.class);
  78.     _jspx_th_html_form_0.setPageContext(pageContext);
  79.     _jspx_th_html_form_0.setParent(null);
  80.     _jspx_th_html_form_0.setAction("/logonAction");
  81.     _jspx_th_html_form_0.setMethod("POST");
  82.     int _jspx_eval_html_form_0 = _jspx_th_html_form_0.doStartTag();
  83.     if (_jspx_eval_html_form_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
  84.       do {
  85.         out.write("rnrn");
  86.         out.write("<br>rn");
  87.         if (_jspx_meth_html_text_0(_jspx_th_html_form_0, pageContext))
  88.           return true;
  89.         out.write("rn");
  90.         if (_jspx_meth_html_text_1(_jspx_th_html_form_0, pageContext))
  91.           return true;
  92.         out.write("rn");
  93.         out.write("<br>rn");
  94.         if (_jspx_meth_html_submit_0(_jspx_th_html_form_0, pageContext))
  95.           return true;
  96.         out.write("rn");
  97.         if (_jspx_meth_html_reset_0(_jspx_th_html_form_0, pageContext))
  98.           return true;
  99.         out.write("<br>rn");
  100.         int evalDoAfterBody = _jspx_th_html_form_0.doAfterBody();
  101.         if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
  102.           break;
  103.       } while (true);
  104.     }
  105.     if (_jspx_th_html_form_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
  106.       return true;
  107.     _jspx_tagPool_html_form_method_action.reuse(_jspx_th_html_form_0);
  108.     return false;
  109.   }
  110.   private boolean _jspx_meth_html_text_0(javax.servlet.jsp.tagext.Tag _jspx_th_html_form_0, javax.servlet.jsp.PageContext pageContext)
  111.           throws Throwable {
  112.     JspWriter out = pageContext.getOut();
  113.     /* ----  html:text ---- */
  114.     org.apache.struts.taglib.html.TextTag _jspx_th_html_text_0 = (org.apache.struts.taglib.html.TextTag) _jspx_tagPool_html_text_property.get(org.apache.struts.taglib.html.TextTag.class);
  115.     _jspx_th_html_text_0.setPageContext(pageContext);
  116.     _jspx_th_html_text_0.setParent(_jspx_th_html_form_0);
  117.     _jspx_th_html_text_0.setProperty("username");
  118.     int _jspx_eval_html_text_0 = _jspx_th_html_text_0.doStartTag();
  119.     if (_jspx_th_html_text_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
  120.       return true;
  121.     _jspx_tagPool_html_text_property.reuse(_jspx_th_html_text_0);
  122.     return false;
  123.   }
  124.   private boolean _jspx_meth_html_text_1(javax.servlet.jsp.tagext.Tag _jspx_th_html_form_0, javax.servlet.jsp.PageContext pageContext)
  125.           throws Throwable {
  126.     JspWriter out = pageContext.getOut();
  127.     /* ----  html:text ---- */
  128.     org.apache.struts.taglib.html.TextTag _jspx_th_html_text_1 = (org.apache.struts.taglib.html.TextTag) _jspx_tagPool_html_text_property.get(org.apache.struts.taglib.html.TextTag.class);
  129.     _jspx_th_html_text_1.setPageContext(pageContext);
  130.     _jspx_th_html_text_1.setParent(_jspx_th_html_form_0);
  131.     _jspx_th_html_text_1.setProperty("password");
  132.     int _jspx_eval_html_text_1 = _jspx_th_html_text_1.doStartTag();
  133.     if (_jspx_th_html_text_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
  134.       return true;
  135.     _jspx_tagPool_html_text_property.reuse(_jspx_th_html_text_1);
  136.     return false;
  137.   }
  138.   private boolean _jspx_meth_html_submit_0(javax.servlet.jsp.tagext.Tag _jspx_th_html_form_0, javax.servlet.jsp.PageContext pageContext)
  139.           throws Throwable {
  140.     JspWriter out = pageContext.getOut();
  141.     /* ----  html:submit ---- */
  142.     org.apache.struts.taglib.html.SubmitTag _jspx_th_html_submit_0 = (org.apache.struts.taglib.html.SubmitTag) _jspx_tagPool_html_submit_value_property.get(org.apache.struts.taglib.html.SubmitTag.class);
  143.     _jspx_th_html_submit_0.setPageContext(pageContext);
  144.     _jspx_th_html_submit_0.setParent(_jspx_th_html_form_0);
  145.     _jspx_th_html_submit_0.setProperty("submit");
  146.     _jspx_th_html_submit_0.setValue("Submit");
  147.     int _jspx_eval_html_submit_0 = _jspx_th_html_submit_0.doStartTag();
  148.     if (_jspx_th_html_submit_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
  149.       return true;
  150.     _jspx_tagPool_html_submit_value_property.reuse(_jspx_th_html_submit_0);
  151.     return false;
  152.   }
  153.   private boolean _jspx_meth_html_reset_0(javax.servlet.jsp.tagext.Tag _jspx_th_html_form_0, javax.servlet.jsp.PageContext pageContext)
  154.           throws Throwable {
  155.     JspWriter out = pageContext.getOut();
  156.     /* ----  html:reset ---- */
  157.     org.apache.struts.taglib.html.ResetTag _jspx_th_html_reset_0 = (org.apache.struts.taglib.html.ResetTag) _jspx_tagPool_html_reset_value.get(org.apache.struts.taglib.html.ResetTag.class);
  158.     _jspx_th_html_reset_0.setPageContext(pageContext);
  159.     _jspx_th_html_reset_0.setParent(_jspx_th_html_form_0);
  160.     _jspx_th_html_reset_0.setValue("Reset");
  161.     int _jspx_eval_html_reset_0 = _jspx_th_html_reset_0.doStartTag();
  162.     if (_jspx_th_html_reset_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
  163.       return true;
  164.     _jspx_tagPool_html_reset_value.reuse(_jspx_th_html_reset_0);
  165.     return false;
  166.   }
  167. }