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

📄 error_jsp.java

📁 北航继续教育学院论坛的源码,演示网址www.buaaforum.com,采用struts+spring+ibats技术,数据库用 mysql
💻 JAVA
📖 第 1 页 / 共 3 页
字号:
package org.apache.jsp.WEB_002dINF.app.error;

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

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

  private static java.util.Vector _jspx_dependants;

  static {
    _jspx_dependants = new java.util.Vector(6);
    _jspx_dependants.add("/WEB-INF/app/error/../comm/header.jsp");
    _jspx_dependants.add("/WEB-INF/app/error/../comm/taglibs.jsp");
    _jspx_dependants.add("/WEB-INF/tld/struts-bean.tld");
    _jspx_dependants.add("/WEB-INF/tld/struts-html.tld");
    _jspx_dependants.add("/WEB-INF/tld/struts-logic.tld");
    _jspx_dependants.add("/WEB-INF/tld/yhbbs.tld");
  }

  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_yhbbs_init_nobody;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_html_html;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_bean_write_name_nobody;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_logic_present_name;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_bean_write_property_name_nobody;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_logic_notPresent_name;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_logic_greaterThan_value_property_name;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_html_errors_nobody;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_yhbbs_footer_nobody;

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

  public void _jspInit() {
    _jspx_tagPool_yhbbs_init_nobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _jspx_tagPool_html_html = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _jspx_tagPool_bean_write_name_nobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _jspx_tagPool_logic_present_name = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _jspx_tagPool_bean_write_property_name_nobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _jspx_tagPool_logic_notPresent_name = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _jspx_tagPool_logic_greaterThan_value_property_name = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _jspx_tagPool_html_errors_nobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _jspx_tagPool_yhbbs_footer_nobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
  }

  public void _jspDestroy() {
    _jspx_tagPool_yhbbs_init_nobody.release();
    _jspx_tagPool_html_html.release();
    _jspx_tagPool_bean_write_name_nobody.release();
    _jspx_tagPool_logic_present_name.release();
    _jspx_tagPool_bean_write_property_name_nobody.release();
    _jspx_tagPool_logic_notPresent_name.release();
    _jspx_tagPool_logic_greaterThan_value_property_name.release();
    _jspx_tagPool_html_errors_nobody.release();
    _jspx_tagPool_yhbbs_footer_nobody.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;

      out.write('\r');
      out.write('\n');
      out.write('\r');
      out.write('\n');
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("<link href=\"webapp/comm/css/yhbbs5.css\" type=\"text/css\" rel=\"stylesheet\">");
      out.write('\r');
      out.write('\n');
      if (_jspx_meth_yhbbs_init_0(_jspx_page_context))
        return;
      out.write('\r');
      out.write('\n');
      if (_jspx_meth_html_html_0(_jspx_page_context))
        return;
      out.write("\r\n");
      out.write("<html>\r\n");
      out.write("<head>\r\n");
      out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\r\n");
      out.write("<title>论坛错误信息</title>\r\n");
      out.write("</head>\r\n");
      out.write("<body>\r\n");
      out.write("<div class=\"tabwidth\">\r\n");
      out.write("\t<table class=tab1 align=center cellSpacing=0 cellPadding=0 width=100% >\r\n");
      out.write("\t\t<tr height=25px class=tr_2>\r\n");
      out.write("\t\t<td>&nbsp;&nbsp;<a href=index.htm>『");
      if (_jspx_meth_bean_write_3(_jspx_page_context))
        return;
      out.write("』</a>&nbsp;&nbsp;→&nbsp;&nbsp;操作出错!</td>\r\n");
      out.write("\t\t</tr>\r\n");
      out.write("\t</table><br>\r\n");
      out.write("\t<table class=tab1 align=center cellSpacing=0 cellPadding=0 width=100% >\r\n");
      out.write("\t\t<tr><td align=center class=tab_c height=28px><b><font color=#FFFFFF>论坛提示出错信息如下:</font></b></td></tr>\r\n");
      out.write("\t\t<tr><td class=td_t><br>&nbsp;&nbsp;<b>错误信息:</b><br></td></tr>\r\n");
      out.write("\t\t<tr><td>&nbsp;&nbsp;&nbsp;&nbsp;<b>");
      if (_jspx_meth_html_errors_0(_jspx_page_context))
        return;
      out.write("<b></td></tr>\r\n");
      out.write("\t\t<tr><td><br>&nbsp;&nbsp;&nbsp;&nbsp;如果还不知道是什么原因,请联系系统管理员!<br><br>\r\n");
      out.write("\t\t  <center><a href=index.htm>论坛首页</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href='javascript:history.go(-1);'>返&nbsp;&nbsp;回</a></center><br><br>\r\n");
      out.write("\t\t</td></tr>\r\n");
      out.write("\t</table><br>\r\n");
      out.write("</div>\r\n");
      out.write("<div class=\"tabwidth\">");
      if (_jspx_meth_yhbbs_footer_0(_jspx_page_context))
        return;
      out.write("</div>\r\n");
      out.write("</body>\r\n");
      out.write("</html>");
    } 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_yhbbs_init_0(PageContext _jspx_page_context)
          throws Throwable {
    PageContext pageContext = _jspx_page_context;
    JspWriter out = _jspx_page_context.getOut();
    //  yhbbs:init
    com.yhbbs.comm.tag.InitTag _jspx_th_yhbbs_init_0 = (com.yhbbs.comm.tag.InitTag) _jspx_tagPool_yhbbs_init_nobody.get(com.yhbbs.comm.tag.InitTag.class);
    _jspx_th_yhbbs_init_0.setPageContext(_jspx_page_context);
    _jspx_th_yhbbs_init_0.setParent(null);
    int _jspx_eval_yhbbs_init_0 = _jspx_th_yhbbs_init_0.doStartTag();
    if (_jspx_th_yhbbs_init_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
      return true;
    _jspx_tagPool_yhbbs_init_nobody.reuse(_jspx_th_yhbbs_init_0);
    return false;
  }

  private boolean _jspx_meth_html_html_0(PageContext _jspx_page_context)
          throws Throwable {
    PageContext pageContext = _jspx_page_context;
    JspWriter out = _jspx_page_context.getOut();
    //  html:html
    org.apache.struts.taglib.html.HtmlTag _jspx_th_html_html_0 = (org.apache.struts.taglib.html.HtmlTag) _jspx_tagPool_html_html.get(org.apache.struts.taglib.html.HtmlTag.class);
    _jspx_th_html_html_0.setPageContext(_jspx_page_context);
    _jspx_th_html_html_0.setParent(null);
    int _jspx_eval_html_html_0 = _jspx_th_html_html_0.doStartTag();
    if (_jspx_eval_html_html_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("\r\n");
        out.write("<head>\r\n");
        out.write("<title>");
        if (_jspx_meth_bean_write_0(_jspx_th_html_html_0, _jspx_page_context))
          return true;
        out.write("</title>\r\n");
        out.write("<meta name=\"description\" content=\"中关村软件园社区|上地中关村软件园社区|中关村软件园论坛|上地中关村软件园论坛 \">\r\n");

⌨️ 快捷键说明

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