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

📄 errorpage_0002ejsp_jsp.java

📁 使用EJB + JSP + JavaBean + Servlet开发的一个远程销售通用平台
💻 JAVA
字号:
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;


public class errorpage_0002ejsp_jsp extends HttpJspBase {


    static {
    }
    public errorpage_0002ejsp_jsp( ) {
    }

    private static boolean _jspx_inited = false;

    public final void _jspx_init() throws org.apache.jasper.runtime.JspException {
    }

    public void _jspService(HttpServletRequest request, HttpServletResponse  response)
        throws java.io.IOException, ServletException {

        JspFactory _jspxFactory = null;
        PageContext pageContext = null;
        HttpSession session = null;
        Throwable exception = (Throwable) request.getAttribute("javax.servlet.jsp.jspException");
        ServletContext application = null;
        ServletConfig config = null;
        JspWriter out = null;
        Object page = this;
        String  _value = null;
        try {

            if (_jspx_inited == false) {
                synchronized (this) {
                    if (_jspx_inited == false) {
                        _jspx_init();
                        _jspx_inited = true;
                    }
                }
            }
            _jspxFactory = JspFactory.getDefaultFactory();
            response.setContentType("text/html;charset=gb2312");
            pageContext = _jspxFactory.getPageContext(this, request, response,
            			"", true, 8192, true);

            application = pageContext.getServletContext();
            config = pageContext.getServletConfig();
            session = pageContext.getSession();
            out = pageContext.getOut();

            // HTML // begin [file="/errorpage.jsp";from=(0,25);to=(2,0)]
                out.write("\r\n\r\n");

            // end
            // HTML // begin [file="/errorpage.jsp";from=(2,50);to=(3,0)]
                out.write("\r\n");

            // end
            // HTML // begin [file="/errorpage.jsp";from=(3,30);to=(3,32)]
                out.write("  ");

            // end
            // HTML // begin [file="/errorpage.jsp";from=(3,68);to=(32,10)]
                out.write("\r\n\r\n<html>\r\n<head>\r\n<title>错误信息</title>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r\n<style type=\"text/css\">\r\n<!--\r\n.tableline {  border-color: #FF0033 ff0033 ff0033; border-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px}\r\n-->\r\n</style>\r\n</head>\r\n\r\n<body bgcolor=\"#FFFFFF\">\r\n<table width=\"100%\" border=\"0\" cellpadding=\"2\" cellspacing=\"2\" class=tableline>\r\n  <tr>\r\n    <td height=\"34\">\r\n      <table width=\"100%\" border=\"0\" cellpadding=\"2\" cellspacing=\"2\">\r\n        <tr>\r\n          <td>&nbsp;</td>\r\n        </tr>\r\n        <tr>\r\n          <td>\r\n            <div align=\"center\"><b><font face=\"华文细黑\" size=\"5\" color=\"#FF3333\"><img src=\"error.jpg\" width=\"43\" height=\"40\">\r\n              JSP脚本在执行时产生例外:</font></b></div>\r\n          </td>\r\n        </tr>\r\n        <tr>\r\n          <td><font color=\"#0000FF\">\r\n          ");

            // end
            // begin [file="/errorpage.jsp";from=(32,13);to=(32,33)]
                out.print(exception.toString());
            // end
            // HTML // begin [file="/errorpage.jsp";from=(32,35);to=(32,37)]
                out.write("  ");

            // end
            // HTML // begin [file="/errorpage.jsp";from=(32,54);to=(44,0)]
                out.write("\r\n          </font></td>\r\n        </tr>\r\n        <tr>\r\n          <td>&nbsp;</td>\r\n        </tr>\r\n      </table>\r\n    </td>\r\n  </tr>\r\n</table>\r\n</body>\r\n</html>\r\n");

            // end

        } catch (Throwable t) {
            if (out != null && out.getBufferSize() != 0)
                out.clearBuffer();
            if (pageContext != null) pageContext.handlePageException(t);
        } finally {
            if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext);
        }
    }
}

⌨️ 快捷键说明

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