📄 __myfirstjsp_error.java
字号:
/* compiled from JSP: /MyFirstJSP_error.jsp
*
* This code was automatically generated at 17:01:38 on 2003-8-22
* by weblogic.servlet.jsp.Jsp2Java -- do not edit.
*/
package jsp_servlet;
import java.io.*;
import java.util.*;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import javax.servlet.jsp.tagext.*;
// User imports
// built-in init parameters:
// boolean _verbose -- wants debugging
// Well-known variables:
// JspWriter out -- to write to the browser
// HttpServletRequest request -- the request object.
// HttpServletResponse response -- the response object.
// PageContext pageContext -- the page context for this JSP
// HttpSession session -- the session object for the client (if any)
// ServletContext application -- The servlet (application) context
// ServletConfig config -- The ServletConfig for this JSP
// Object page -- the instance of this page's implementation class (i.e., 'this')
/**
* This code was automatically generated at 17:01:38 on 2003-8-22
* by weblogic.servlet.jsp.Jsp2Java -- do not edit.
*
* Copyright (c) 2003 by BEA Systems, Inc. All Rights Reserved.
*/
public final class __myfirstjsp_error
extends
weblogic.servlet.jsp.JspBase
implements weblogic.servlet.jsp.StaleIndicator
{
// StaleIndicator interface public boolean _isStale() { weblogic.servlet.jsp.StaleChecker sci =(weblogic.servlet.jsp.StaleChecker)(getServletConfig().getServletContext()); java.io.File f = null; long lastModWhenBuilt = 0L; if (sci.isResourceStale("/MyFirstJSP_error.jsp", 1061470432921L, "WebLogic Server 7.0 Thu Jun 20 11:47:11 PDT 2002 190955 ")) return true; return false; } public static boolean _staticIsStale(weblogic.servlet.jsp.StaleChecker sci) { java.io.File f = null; long lastModWhenBuilt = 0L; if (sci.isResourceStale("/MyFirstJSP_error.jsp", 1061470432921L, "WebLogic Server 7.0 Thu Jun 20 11:47:11 PDT 2002 190955 ")) return true; return false; }
public void _jspService(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.io.IOException, javax.servlet.ServletException
{
// declare and set well-known variables:
javax.servlet.ServletConfig config = getServletConfig();
javax.servlet.ServletContext application = config.getServletContext();
javax.servlet.jsp.tagext.Tag _activeTag = null;
// variables for Tag extension protocol
Object page = this;
javax.servlet.jsp.JspWriter out;
javax.servlet.jsp.PageContext pageContext = javax.servlet.jsp.JspFactory.getDefaultFactory().getPageContext(this, request, response, null, true, 8192, true);
response.setHeader("Content-Type", "text/html; charset=GBK"); out = pageContext.getOut(); JspWriter _originalOut = out;
javax.servlet.http.HttpSession session = request.getSession(true);
Throwable exception = (Throwable)request.getAttribute("javax.servlet.jsp.jspException");
try { // error page try block response.setContentType("text/html; charset=GBK"); out.print("\r\n\n<html>\n<body bgcolor=\"#ffffff\">\n\n<h1>Error page MyFirstJSP</h1>\n\n<br>An error occured in the bean. Error Message is: "); out.print(String.valueOf( exception.getMessage() )); //[ /MyFirstJSP_error.jsp; Line: 8] out.print("<br>\nStack Trace is : <pre><font color=\"red\">"); //[ /MyFirstJSP_error.jsp; Line: 9] java.io.CharArrayWriter cw = new java.io.CharArrayWriter(); //[ /MyFirstJSP_error.jsp; Line: 10] java.io.PrintWriter pw = new java.io.PrintWriter(cw,true); //[ /MyFirstJSP_error.jsp; Line: 11] exception.printStackTrace(pw); //[ /MyFirstJSP_error.jsp; Line: 12] out.println(cw.toString()); //[ /MyFirstJSP_error.jsp; Line: 13] //[ /MyFirstJSP_error.jsp; Line: 14] //[ /MyFirstJSP_error.jsp; Line: 14] out.print("</font></pre>\n<br></body>\n</html>\r\n"); } catch (Throwable __ee) { while (out != null && out != _originalOut) out = pageContext.popBody(); ((weblogic.servlet.jsp.PageContextImpl)pageContext).handlePageException((Throwable)__ee); }
//before final close brace...
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -