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

📄 _0002ferror_jsp.java

📁 Struts+Spring+Hibernate开发的BBS,功能很强大很完善
💻 JAVA
字号:
package org.apache.jsp;

import java.io.*;
import 
                 java.util.*;
import 
                 java.net.*;
import 
                 com.jivesoftware.forum.*;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;


public class _0002ferror_jsp extends HttpJspBase {


    static {
    }
    public _0002ferror_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=ISO8859_1");
            pageContext = _jspxFactory.getPageContext(this, request, response,
			"", true, 8192, true);

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

            // HTML // begin [file="/error.jsp";from=(0,53);to=(1,0)]
                out.write("\r\n");

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

            // end
            // begin [file="/error.jsp";from=(10,2);to=(16,0)]
                  // Do a check to see what type of exception the exception variable is.
                    // If it's an UnauthorizedException, redirect to the login page
                    if (exception instanceof UnauthorizedException) {
                        response.sendRedirect("login.jsp?unauth=true");
                        return;
                    }
            // end
            // HTML // begin [file="/error.jsp";from=(16,2);to=(27,10)]
                out.write("\r\n\r\n<html>\r\n<head>\r\n\t<title>´íÎóÒ³Ãæ</title>\r\n</head>\r\n\r\n<body>\r\n\r\n<font face=\"arial,helvetica,sans-serif\">\r\n\r\n<b>ÂÛ̳£º ");

            // end
            // begin [file="/error.jsp";from=(27,13);to=(27,43)]
                out.print( JiveGlobals.getJiveVersion() );
            // end
            // HTML // begin [file="/error.jsp";from=(27,45);to=(37,0)]
                out.write("</b>\r\n<hr size=\"0\">\r\n\r\n<font size=\"-1\">\r\nÏÂÃæÓдíÎó·¢Éú£¬Ç뽫´íÎ󱨸浽JiveSoft¼¼ÊõÖ§³ÖÂÛ̳¡£\r\n<a href=\"http://www.jivesoftware.com/community/\" target=\"_blank\">http://www.jivesoftware.com/community/</a>\r\n</font>\r\n\r\n</font>\r\n\r\n");

            // end
            // begin [file="/error.jsp";from=(37,2);to=(41,0)]
                  exception.printStackTrace();
                    StringWriter sout = new StringWriter();
                    PrintWriter pout = new PrintWriter(sout);
                    exception.printStackTrace(pout);
            // end
            // HTML // begin [file="/error.jsp";from=(41,2);to=(43,4)]
                out.write("\r\n<pre>\r\n    ");

            // end
            // begin [file="/error.jsp";from=(43,7);to=(43,24)]
                out.print( sout.toString() );
            // end
            // HTML // begin [file="/error.jsp";from=(43,26);to=(48,0)]
                out.write("\r\n</pre>\r\n\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 + -