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

📄 errorpage_0002ejsp_jsp.java

📁 一个完整的学生管理系统
💻 JAVA
字号:
import java.io.*;
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,106);to=(8,2)]
                out.write("\r\n\r\n\r\n<HTML>\r\n<HEAD><TITLE>Output</TITLE><meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\"></HEAD>\r\n\r\n<BODY BGCOLOR=\"#0099FF\" text=\"#FFFFFF\" link=\"#00FF00\">\r\n<P align=\"center\"><FONT COLOR=\"#660000\" SIZE=2><B> \r\n  ");

            // end
            // begin [file="/errorpage.jsp";from=(8,4);to=(15,0)]
                
                	if (exception != null) {
                		out.print(exception.toString());
                	} else if (request.getAttribute("problem") != null) {
                		String str =(String) request.getAttribute("problem");
                		// byte[] tmpbyte=str.getBytes("ISO8859_1");
                // str=new String(tmpbyte);
            // end
            // HTML // begin [file="/errorpage.jsp";from=(15,2);to=(16,2)]
                out.write("\r\n  ");

            // end
            // begin [file="/errorpage.jsp";from=(16,5);to=(16,10)]
                out.print( str );
            // end
            // HTML // begin [file="/errorpage.jsp";from=(16,12);to=(17,2)]
                out.write(" \r\n  ");

            // end
            // begin [file="/errorpage.jsp";from=(17,4);to=(17,14)]
                 } else { 
            // end
            // HTML // begin [file="/errorpage.jsp";from=(17,16);to=(19,2)]
                out.write("\r\n  (No error code) \r\n  ");

            // end
            // begin [file="/errorpage.jsp";from=(19,4);to=(19,7)]
                 } 
            // end
            // HTML // begin [file="/errorpage.jsp";from=(19,9);to=(27,0)]
                out.write("\r\n  </B></P>\r\n\r\n<P><B>\r\n<p> <a href=\"javascript:history.back();\"> &lt;&lt;Back</a> </p>\r\n</B></P>\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 + -