📄 __main.java
字号:
/* compiled from JSP: /main.jsp
*
* This code was automatically generated at 15:41:03 on 2006-3-15
* 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 15:41:03 on 2006-3-15
* by weblogic.servlet.jsp.Jsp2Java -- do not edit.
*
* Copyright (c) 2006 by BEA Systems, Inc. All Rights Reserved.
*/
public final class __main
extends
weblogic.servlet.jsp.JspBase
implements weblogic.servlet.jsp.StaleIndicator
{
private static void _releaseTags(javax.servlet.jsp.tagext.Tag t) { while (t != null) { javax.servlet.jsp.tagext.Tag tmp = t; t = t.getParent(); try { tmp.release(); } catch (Exception ignore) {} } } // 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("/main.jsp", 1142407248000L, "8.1.4.0", "Asia/Shanghai")) return true; return false; } public static boolean _staticIsStale(weblogic.servlet.jsp.StaleChecker sci) { java.io.File f = null; long lastModWhenBuilt = 0L; if (sci.isResourceStale("/main.jsp", 1142407248000L, "8.1.4.0", "Asia/Shanghai")) return true; return false; } private static void _writeText(ServletResponse rsp, JspWriter out, String block, byte[] blockBytes) throws IOException { if (!_WL_ENCODED_BYTES_OK || _hasEncodingChanged(rsp)) { out.print(block); } else { ((weblogic.servlet.jsp.ByteWriter)out).write(blockBytes, block); } } private static boolean _hasEncodingChanged(ServletResponse rsp) { if (_WL_ORIGINAL_ENCODING.equals(rsp.getCharacterEncoding())) { return false; } return true; } private static boolean _WL_ENCODED_BYTES_OK = true; private static final String _WL_ORIGINAL_ENCODING = "UTF-8"; private static byte[] _getBytes(String block) { try { return block.getBytes(_WL_ORIGINAL_ENCODING); } catch (java.io.UnsupportedEncodingException u) { _WL_ENCODED_BYTES_OK = false; } return null; } private final static String _wl_block0 = "\r\n\r\n\r\n\r\n\r\n"; private final static byte[] _wl_block0Bytes = _getBytes(_wl_block0); private final static String _wl_block1 = "\r\n<HTML>\r\n<HEAD>\r\n<link REL=\"SHORTCUT ICON\">\r\n<SCRIPT type=\"text/javascript\">\r\nfunction switchSysBar(){\r\nexpireDate=new Date;\r\nexpireDate.setYear(expireDate.getYear()+1);\r\nif (document.all(\"switchPoint\").innerText==3){\r\ndocument.all(\"switchPoint\").innerText=4;\r\ndocument.cookie=\"switchPoint=\"+\"4\"+\";expires=\"+expireDate.toGMTString()+\";\";\r\ndocument.all(\"frmTitle\").style.display=\"none\";\r\n}else{\r\ndocument.all(\"switchPoint\").innerText=3;\r\ndocument.cookie=\"switchPoint=\"+\"3\"+\";expires=\"+expireDate.toGMTString()+\";\";\r\ndocument.all(\"frmTitle\").style.display=\"\";\r\n}}\r\n</SCRIPT>\r\n<NOSCRIPT>\r\n<IFRAME SRC=\"*.html\">\r\n</IFRAME>\r\n</NOSCRIPT>\r\n<title>"; private final static byte[] _wl_block1Bytes = _getBytes(_wl_block1); private final static String _wl_block2 = "</title>\r\n<STYLE type=text/css>\r\n.navPoint {COLOR: 5E95C3; CURSOR: hand; FONT-FAMILY: Webdings; FONT-SIZE: 9pt}\r\n</STYLE>\r\n<link href=\"css/css0.css\" rel=\"stylesheet\" type=\"text/css\">\r\n</head>\r\n<BODY scroll=\'no\' style=\"MARGIN: 0px\" id=\'all\' oncontextmenu=\"return false\">\r\n<TABLE border=\'0\' cellPadding=\'0\' cellSpacing=\'0\' height=\"100%\" width=\"100%\">\r\n<TBODY>\r\n<TR>\r\n<TD height=\"100%\" align=\'middle\' vAlign=center noWrap id=frmTitle name=\"frmTitle\">\r\n<IFRAME frameBorder=\'0\' id=\'leftFrame1\' name=\'leftFrame1\' scrolling=\'auto\' src=\"left.lww\" style=\"HEIGHT: 100%; VISIBILITY: inherit; WIDTH: 135px; Z-INDEX: 2\"></IFRAME>\r\n<TD class=\"T2\" style=\"WIDTH: 9pt\">\r\n<TABLE border=\'0\' cellPadding=\'0\' cellSpacing=\'0\' height=\"100%\">\r\n<TBODY>\r\n<tr>\r\n<TD onclick=\'switchSysBar()\' style=\"HEIGHT: 100%\" ><SPAN class=\'navPoint\' id=\'switchPoint\'>3</SPAN>\r\n</TBODY>\r\n</TABLE>\r\n</TD>\r\n<SCRIPT>\r\nvar spoint = 3;\r\nif (spoint==4){\r\ndocument.all(\"switchPoint\").innerText=4;\r\ndocument.all(\"frmTitle\").style.display=\"none\";\r\n}\r\n</SCRIPT>\r\n<TD style=\"WIDTH: 100%\"><IFRAME frameBorder=\'0\' id=\'bbscs_mainFrame\' name=\'bbscs_mainFrame\' scrolling=\'yes\' src=\""; private final static byte[] _wl_block2Bytes = _getBytes(_wl_block2); private final static String _wl_block3 = "\" style=\"HEIGHT: 100%; VISIBILITY: inherit; WIDTH: 100%; Z-INDEX: 1\"></IFRAME>\r\n</TD>\r\n</TR>\r\n</TBODY>\r\n</TABLE>\r\n</body>\r\n</html>\r\n"; private final static byte[] _wl_block3Bytes = _getBytes(_wl_block3);
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 int _int0 = 0; com.laoer.bbscs.web.tag.WebInfoTag _bbscs_webInfo0 = null;
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=UTF-8"); out = pageContext.getOut(); JspWriter _originalOut = out;
javax.servlet.http.HttpSession session = request.getSession(true);
try { // error page try block response.setContentType("text/html; charset=UTF-8"); _writeText(response, out, _wl_block0, _wl_block0Bytes); java.lang.String tourl = null; //[ /main.jsp; Line: 6] tourl = (java.lang.String)request.getAttribute("tourl"); //[ /main.jsp; Line: 6] if (tourl == null) { // begin 'tourl' instantiation block... //[ /main.jsp; Line: 6] { // Don't need to synchronize on request scope //[ /main.jsp; Line: 6] tourl = (java.lang.String)request.getAttribute("tourl"); //[ /main.jsp; Line: 6] if (tourl == null) { // begin 'tourl' synchronized instantiation block... //[ /main.jsp; Line: 6] tourl = new java.lang.String(); //[ /main.jsp; Line: 6] request.setAttribute("tourl", tourl); //[ /main.jsp; Line: 6] } // end synchronized bean instantiation block... //[ /main.jsp; Line: 6] } // end synchronized bean scope block... //[ /main.jsp; Line: 6] } // end bean instantiation block... //[ /main.jsp; Line: 6] _writeText(response, out, _wl_block1, _wl_block1Bytes); //^%$__TAG_CODEGEN : begin webInfo custom tag block... //[ /main.jsp; Line: 28] /*** declare AT_BEGIN TagExtra Vars here ***/ //[ /main.jsp; Line: 28] if (_bbscs_webInfo0 == null) _bbscs_webInfo0 = new com.laoer.bbscs.web.tag.WebInfoTag(); //[ /main.jsp; Line: 28] _bbscs_webInfo0.setPageContext(pageContext); //[ /main.jsp; Line: 28] _bbscs_webInfo0.setParent((javax.servlet.jsp.tagext.Tag)null); //[ /main.jsp; Line: 28] _activeTag = _bbscs_webInfo0; //[ /main.jsp; Line: 28] _bbscs_webInfo0.setType(weblogic.utils.StringUtils.valueOf("forumname")); //[ /main.jsp; Line: 28] _int0 = _bbscs_webInfo0.doStartTag(); //[ /main.jsp; Line: 28] if (_int0 == BodyTag.EVAL_BODY_BUFFERED) { //[ /main.jsp; Line: 28] throw new JspTagException("Since tag class com.laoer.bbscs.web.tag.WebInfoTag does not implement BodyTag, it cannot return BodyTag.EVAL_BODY_BUFFERED"); //[ /main.jsp; Line: 28] } //[ /main.jsp; Line: 28] /*** sync AT_BEGIN TagExtra Vars here ***/ //[ /main.jsp; Line: 28] _int0 = _bbscs_webInfo0.doEndTag(); //[ /main.jsp; Line: 28] if (_int0 == Tag.SKIP_PAGE) { _activeTag = null; _releaseTags(_bbscs_webInfo0); return; } //[ /main.jsp; Line: 28] _activeTag = _bbscs_webInfo0.getParent(); _bbscs_webInfo0.release(); //[ /main.jsp; Line: 28] /*** sync AT_BEGIN TagExtra Vars here ***/ //[ /main.jsp; Line: 28] /*** declare & sync AT_END TagExtra Vars here ***/ //[ /main.jsp; Line: 28] _writeText(response, out, _wl_block2, _wl_block2Bytes); out.print(String.valueOf(tourl)); //[ /main.jsp; Line: 55] _writeText(response, out, _wl_block3, _wl_block3Bytes); } catch (Throwable __ee) { while (out != null && out != _originalOut) out = pageContext.popBody(); _releaseTags(_activeTag); ((weblogic.servlet.jsp.PageContextImpl)pageContext).handlePageException((Throwable)__ee); }
//before final close brace...
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -