⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 index_jsp.java

📁 介绍了j2ee开发常用的学习知识,如servlet,javamail,EJB等知识,并有项目源码.
💻 JAVA
字号:
package org.apache.jsp;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;

public final class index_jsp extends org.apache.jasper.runtime.HttpJspBase
    implements org.apache.jasper.runtime.JspSourceDependent {

  private static java.util.Vector _jspx_dependants;

  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_myTag_attributeHelloTag_sex_name_nobody;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_myTag_Table_row_col;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_myTag_Content;

  private org.apache.jasper.runtime.ResourceInjector _jspx_resourceInjector;

  public java.util.List getDependants() {
    return _jspx_dependants;
  }

  public void _jspInit() {
    _jspx_tagPool_myTag_attributeHelloTag_sex_name_nobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _jspx_tagPool_myTag_Table_row_col = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _jspx_tagPool_myTag_Content = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
  }

  public void _jspDestroy() {
    _jspx_tagPool_myTag_attributeHelloTag_sex_name_nobody.release();
    _jspx_tagPool_myTag_Table_row_col.release();
    _jspx_tagPool_myTag_Content.release();
  }

  public void _jspService(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=UTF-8");
      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;

      String resourceInjectorClassName = config.getInitParameter("com.sun.appserv.jsp.resource.injector");
      if (resourceInjectorClassName != null) {
        _jspx_resourceInjector = (org.apache.jasper.runtime.ResourceInjector) Class.forName(resourceInjectorClassName).newInstance();
        _jspx_resourceInjector.setContext(application);
      }

      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("<html>\n");
      out.write("    <head>\n");
      out.write("        <title>Welcome</title>\n");
      out.write("    </head>\n");
      out.write("    <body>\n");
      out.write("        ");
      if (_jspx_meth_myTag_attributeHelloTag_0(_jspx_page_context))
        return;
      out.write("\n");
      out.write("        ");
      if (_jspx_meth_myTag_Table_0(_jspx_page_context))
        return;
      out.write("\n");
      out.write("    </body>\n");
      out.write("</html>\n");
    } catch (Throwable t) {
      if (!(t instanceof SkipPageException)){
        out = _jspx_out;
        if (out != null && out.getBufferSize() != 0)
          out.clearBuffer();
        if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
      }
    } finally {
      if (_jspxFactory != null) _jspxFactory.releasePageContext(_jspx_page_context);
    }
  }

  private boolean _jspx_meth_myTag_attributeHelloTag_0(PageContext _jspx_page_context)
          throws Throwable {
    PageContext pageContext = _jspx_page_context;
    JspWriter out = _jspx_page_context.getOut();
    //  myTag:attributeHelloTag
    com.tag.AttributeHelloTag _jspx_th_myTag_attributeHelloTag_0 = (com.tag.AttributeHelloTag) _jspx_tagPool_myTag_attributeHelloTag_sex_name_nobody.get(com.tag.AttributeHelloTag.class);
    _jspx_th_myTag_attributeHelloTag_0.setPageContext(_jspx_page_context);
    _jspx_th_myTag_attributeHelloTag_0.setParent(null);
    _jspx_th_myTag_attributeHelloTag_0.setname("hyl");
    _jspx_th_myTag_attributeHelloTag_0.setsex("true");
    int _jspx_eval_myTag_attributeHelloTag_0 = _jspx_th_myTag_attributeHelloTag_0.doStartTag();
    if (_jspx_th_myTag_attributeHelloTag_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _jspx_tagPool_myTag_attributeHelloTag_sex_name_nobody.reuse(_jspx_th_myTag_attributeHelloTag_0);
      return true;
    }
    _jspx_tagPool_myTag_attributeHelloTag_sex_name_nobody.reuse(_jspx_th_myTag_attributeHelloTag_0);
    return false;
  }

  private boolean _jspx_meth_myTag_Table_0(PageContext _jspx_page_context)
          throws Throwable {
    PageContext pageContext = _jspx_page_context;
    JspWriter out = _jspx_page_context.getOut();
    //  myTag:Table
    com.tag.TableTag _jspx_th_myTag_Table_0 = (com.tag.TableTag) _jspx_tagPool_myTag_Table_row_col.get(com.tag.TableTag.class);
    _jspx_th_myTag_Table_0.setPageContext(_jspx_page_context);
    _jspx_th_myTag_Table_0.setParent(null);
    _jspx_th_myTag_Table_0.setRow(2);
    _jspx_th_myTag_Table_0.setCol(2);
    int _jspx_eval_myTag_Table_0 = _jspx_th_myTag_Table_0.doStartTag();
    if (_jspx_eval_myTag_Table_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      if (_jspx_eval_myTag_Table_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
        out = _jspx_page_context.pushBody();
        _jspx_th_myTag_Table_0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
        _jspx_th_myTag_Table_0.doInitBody();
      }
      do {
        out.write("\n");
        out.write("            ");
        if (_jspx_meth_myTag_Content_0((javax.servlet.jsp.tagext.JspTag) _jspx_th_myTag_Table_0, _jspx_page_context))
          return true;
        out.write("\n");
        out.write("        ");
        int evalDoAfterBody = _jspx_th_myTag_Table_0.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
      if (_jspx_eval_myTag_Table_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
        out = _jspx_page_context.popBody();
    }
    if (_jspx_th_myTag_Table_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _jspx_tagPool_myTag_Table_row_col.reuse(_jspx_th_myTag_Table_0);
      return true;
    }
    _jspx_tagPool_myTag_Table_row_col.reuse(_jspx_th_myTag_Table_0);
    return false;
  }

  private boolean _jspx_meth_myTag_Content_0(javax.servlet.jsp.tagext.JspTag _jspx_th_myTag_Table_0, PageContext _jspx_page_context)
          throws Throwable {
    PageContext pageContext = _jspx_page_context;
    JspWriter out = _jspx_page_context.getOut();
    //  myTag:Content
    com.tag.ContentTag _jspx_th_myTag_Content_0 = (com.tag.ContentTag) _jspx_tagPool_myTag_Content.get(com.tag.ContentTag.class);
    _jspx_th_myTag_Content_0.setPageContext(_jspx_page_context);
    _jspx_th_myTag_Content_0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_myTag_Table_0);
    int _jspx_eval_myTag_Content_0 = _jspx_th_myTag_Content_0.doStartTag();
    if (_jspx_eval_myTag_Content_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      if (_jspx_eval_myTag_Content_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
        out = _jspx_page_context.pushBody();
        _jspx_th_myTag_Content_0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
        _jspx_th_myTag_Content_0.doInitBody();
      }
      do {
        out.write("1 2 3 4");
        int evalDoAfterBody = _jspx_th_myTag_Content_0.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
      if (_jspx_eval_myTag_Content_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
        out = _jspx_page_context.popBody();
    }
    if (_jspx_th_myTag_Content_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _jspx_tagPool_myTag_Content.reuse(_jspx_th_myTag_Content_0);
      return true;
    }
    _jspx_tagPool_myTag_Content.reuse(_jspx_th_myTag_Content_0);
    return false;
  }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -