📄 _header__jsp.java
字号:
/*
* JSP generated by Resin 2.1.2 (built Tue Jun 11 08:26:56 PDT 2002)
*/
package _admin._forum;
import javax.servlet.*;
import javax.servlet.jsp.*;
import javax.servlet.http.*;
import com.coolservlets.forum.*;
import com.coolservlets.forum.util.*;
public class _header__jsp extends com.caucho.jsp.JavaPage{
private boolean _caucho_isDead;
public void
_jspService(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException, javax.servlet.ServletException
{
com.caucho.jsp.QPageContext pageContext = (com.caucho.jsp.QPageContext) com.caucho.jsp.QJspFactory.create().getPageContext(this, request, response, null, true, 8192, true);
javax.servlet.jsp.JspWriter out = (javax.servlet.jsp.JspWriter) pageContext.getOut();
javax.servlet.ServletConfig config = getServletConfig();
javax.servlet.Servlet page = this;
javax.servlet.http.HttpSession session = pageContext.getSession();
javax.servlet.ServletContext application = pageContext.getServletContext();
response.setContentType("text/html;charset=gb2312");
request.setCharacterEncoding("GB2312");
try {
pageContext.write(_jsp_string0, 0, _jsp_string0.length);
/**
* $RCSfile: header.jsp,v $
* $Revision: 1.3 $
* $Date: 2000/12/18 02:06:21 $
*/
pageContext.write(_jsp_string1, 0, _jsp_string1.length);
pageContext.write(_jsp_string0, 0, _jsp_string0.length);
pageContext.write(_jsp_string0, 0, _jsp_string0.length);
com.coolservlets.forum.util.admin.AdminBean adminBean;
synchronized (session) {
adminBean = (com.coolservlets.forum.util.admin.AdminBean) session.getValue("adminBean");
if (adminBean == null) {
adminBean = new com.coolservlets.forum.util.admin.AdminBean();
session.putValue("adminBean", adminBean);
}
}
pageContext.write(_jsp_string1, 0, _jsp_string1.length);
////////////////////////////////
// Jive authorization check
// check the bean for the existence of an authorization token.
// Its existence proves the user is valid. If it's not found, redirect
// to the login page
Authorization authToken = adminBean.getAuthToken();
if( authToken == null ) {
response.sendRedirect( "login.jsp" );
return;
}
pageContext.write(_jsp_string1, 0, _jsp_string1.length);
////////////////////////////////////////
// figure out what type of user we are:
boolean isSystemAdmin = ((Boolean)session.getValue("jiveAdmin.systemAdmin")).booleanValue();
boolean isForumAdmin = ((Boolean)session.getValue("jiveAdmin.forumAdmin")).booleanValue();
boolean isGroupAdmin = ((Boolean)session.getValue("jiveAdmin.groupAdmin")).booleanValue();
pageContext.write(_jsp_string1, 0, _jsp_string1.length);
////////////////
// get parameters
String tab = ParamUtils.getParameter(request,"tab");
if( tab == null ) {
tab = "global";
}
pageContext.write(_jsp_string2, 0, _jsp_string2.length);
pageContext.write(_jsp_string3, 0, _jsp_string3.length);
out.print(( (tab.equals("global"))?"on":"off" ));
pageContext.write(_jsp_string4, 0, _jsp_string4.length);
out.print(( (tab.equals("forums"))?"on":"off" ));
pageContext.write(_jsp_string5, 0, _jsp_string5.length);
pageContext.write(_jsp_string6, 0, _jsp_string6.length);
} catch (java.lang.Throwable _jsp_e) {
pageContext.handlePageException(_jsp_e);
} finally {
JspFactory.getDefaultFactory().releasePageContext(pageContext);
}
}
private com.caucho.java.LineMap _caucho_line_map;
private java.util.ArrayList _caucho_depends = new java.util.ArrayList();
public boolean _caucho_isModified()
{
if (_caucho_isDead)
return true;
if (com.caucho.util.CauchoSystem.getVersionId() != 2057024144)
return true;
for (int i = _caucho_depends.size() - 1; i >= 0; i--) {
com.caucho.vfs.Depend depend;
depend = (com.caucho.vfs.Depend) _caucho_depends.get(i);
if (depend.isModified())
return true;
}
return false;
}
public long _caucho_lastModified()
{
return 0;
}
public com.caucho.java.LineMap _caucho_getLineMap()
{
return _caucho_line_map;
}
public void destroy()
{
_caucho_isDead = true;
super.destroy();
}
public void init(com.caucho.java.LineMap lineMap,
com.caucho.vfs.Path appDir)
throws javax.servlet.ServletException
{
com.caucho.vfs.Path resinHome = com.caucho.util.CauchoSystem.getResinHome();
com.caucho.vfs.MergePath mergePath = new com.caucho.vfs.MergePath();
mergePath.addMergePath(appDir);
mergePath.addMergePath(resinHome);
mergePath.addClassPath(getClass().getClassLoader());
_caucho_line_map = new com.caucho.java.LineMap("_header__jsp.java", "/admin/forum/header.jsp");
_caucho_line_map.add(14, 1);
_caucho_line_map.add(2, 30);
_caucho_line_map.add(14, 39);
_caucho_line_map.add(18, 49);
_caucho_line_map.add(60, 79);
com.caucho.vfs.Depend depend;
depend = new com.caucho.vfs.Depend(mergePath.lookup("file:/e:/jnjt/admin/forum/header.jsp"), 1029827336028L, 2756L);
_caucho_depends.add(depend);
}
private static byte []_jsp_string3;
private static byte []_jsp_string2;
private static byte []_jsp_string6;
private static byte []_jsp_string1;
private static byte []_jsp_string5;
private static byte []_jsp_string0;
private static byte []_jsp_string4;
static {
try {
_jsp_string3 = "\r\n<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"100%\" height=\"100%\">\r\n<tr height=\"100%\">\r\n <td height=\"100%\" width=\"1%\" nowrap valign=\"bottom\"\r\n ><br>\r\n <a href=\"sidebar.jsp?tree=system\" onclick=\"location.href='header.jsp?tab=global';\" target=\"sidebar\"\r\n ><img src=\"images/tabs_global_".getBytes("GB2312");
_jsp_string2 = "\r\n\r\n<html>\r\n<head>\r\n <title>header.jsp</title>\r\n <link rel=\"stylesheet\" href=\"style/global.css\">\r\n</head>\r\n\r\n<body background=\"../images/background.gif\" marginwidth=0 marginheight=0 leftmargin=0 topmargin=0 bgcolor=\"#ffffff\">\r\n".getBytes("GB2312");
_jsp_string6 = "\r\n<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n <tr>\r\n <td>È«¾ÖÉèÖÃ</td>\r\n <td>ÂÛ̳ÉèÖÃ</td>\r\n <td>¹ÜÀíÔ±Í˳ö</td>\r\n </tr>\r\n</table>\r\n</body>\r\n</html>\r\n".getBytes("GB2312");
_jsp_string1 = "\r\n\r\n".getBytes("GB2312");
_jsp_string5 = ".gif\" width=\"138\" height=\"35\" alt=\"\" border=\"0\"\r\n ></a></td>\r\n <td height=\"100%\" width=\"98%\" valign=\"bottom\"\r\n > </td\r\n >\r\n <td height=\"100%\" width=\"1%\" valign=\"bottom\"\r\n ><a href=\"index.jsp?logout=true\"\r\n ><img src=\"images/logout.gif\" width=\"64\" height=\"85\" alt=\"\" border=\"0\" target=\"_top\"></a></td>\r\n</tr>\r\n</table>\r\n".getBytes("GB2312");
_jsp_string0 = "\r\n".getBytes("GB2312");
_jsp_string4 = ".gif\" width=\"138\" height=\"35\" alt=\"\" border=\"0\"\r\n ></a><a href=\"sidebar.jsp?tree=forum\" onclick=\"location.href='header.jsp?tab=forums';\" target=\"sidebar\"\r\n ><img src=\"images/tabs_forum_".getBytes("GB2312");
} catch (java.io.UnsupportedEncodingException e) {
e.printStackTrace();
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -