📄 _error2.java
字号:
/*@lineinfo:filename=/Error2.jsp*/
/*@lineinfo:generated-code*/
import oracle.jsp.runtime.*;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import to.model.Login.*;
public class _Error2 extends com.orionserver.http.OrionHttpJspPage {
public final String _globalsClassName = null;
// ** Begin Declarations
// ** End Declarations
public void _jspService(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, ServletException {
response.setContentType( "text/html;charset=GBK");
/* set up the intrinsic variables using the pageContext goober:
** session = HttpSession
** application = ServletContext
** out = JspWriter
** page = this
** config = ServletConfig
** all session/app beans declared in globals.jsa
*/
PageContext pageContext = JspFactory.getDefaultFactory().getPageContext( this, request, response, null, true, JspWriter.DEFAULT_BUFFER, true);
// Note: this is not emitted if the session directive == false
HttpSession session = pageContext.getSession();
if (pageContext.getAttribute(OracleJspRuntime.JSP_REQUEST_REDIRECTED, PageContext.REQUEST_SCOPE) != null) {
pageContext.setAttribute(OracleJspRuntime.JSP_PAGE_DONTNOTIFY, "true", PageContext.PAGE_SCOPE);
JspFactory.getDefaultFactory().releasePageContext(pageContext);
return;
}
int __jsp_tag_starteval;
ServletContext application = pageContext.getServletContext();
JspWriter out = pageContext.getOut();
_Error2 page = this;
ServletConfig config = pageContext.getServletConfig();
try {
// global beans
// end global beans
out.write(__oracle_jsp_text[0]);
out.write(__oracle_jsp_text[1]);
/*@lineinfo:user-code*//*@lineinfo:13^6*/ loginItem li=(loginItem)session.getAttribute("user"); if(li==null) { response.sendRedirect("OfficeLogin.jsp"); }
/*@lineinfo:generated-code*/
out.write(__oracle_jsp_text[2]);
}
catch( Throwable e) {
try {
if (out != null) out.clear();
}
catch( Exception clearException) {
}
pageContext.handlePageException( e);
}
finally {
OracleJspRuntime.extraHandlePCFinally(pageContext,false);
JspFactory.getDefaultFactory().releasePageContext(pageContext);
}
}
private static final char __oracle_jsp_text[][]=new char[3][];
static {
try {
__oracle_jsp_text[0] =
"\n".toCharArray();
__oracle_jsp_text[1] =
"\n<html>\n<head>\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=GBK\">\n<title>错误页</title>\n<style title=\"text/css\">\n table{font-size:13px}\n</style>\n</head>\n<body>\n <table cellspacing=\"1\" cellpadding=\"1\" border=\"0\" width=\"800\" align=\"center\">\n ".toCharArray();
__oracle_jsp_text[2] =
"\n \n <tr>\n <td colspan=\"4\" height=\"1\"><hr/></td>\n </tr>\n <tr bgcolor=\"#006699\">\n <td colspan=\"4\" align=\"center\"><font color=\"White\">出现问题:</font></td>\n </tr>\n <tr>\n <td height=\"27\"> </td>\n <td colspan=\"2\" height=\"27\">没有足够的权限!</td>\n <td height=\"27\"> </td>\n </tr>\n <tr>\n <td height=\"30\"> </td>\n <td colspan=\"2\" height=\"30\"></td>\n <td height=\"30\"> </td>\n </tr>\n <tr>\n <td height=\"33\"> </td>\n <td colspan=\"2\" height=\"33\"> </td>\n <td height=\"33\"> </td>\n </tr>\n <tr>\n <td height=\"30\"> </td>\n <td colspan=\"2\" height=\"30\"> </td>\n <td height=\"30\"> </td>\n </tr>\n </table>\n</body>\n</html>\n\n".toCharArray();
}
catch (Throwable th) {
System.err.println(th);
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -