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

📄 global.jsp

📁 jive3论坛开源 最新 有版主功能 jive3论坛开源 最新 有版主功能 jive3论坛开源 最新 有版主功能
💻 JSP
字号:
<%@ page import="java.lang.reflect.Method"%><%  // check for <setup>true</setup> in the jive config file. If setup does    // equal true, inactivate this setup tool    boolean showSidebar = true;	boolean doSetup = false;    // Try loading a Jive class:    try {        Class jiveGlobals = Class.forName("com.jivesoftware.base.JiveGlobals");        // authorization class used below        Class authorization = Class.forName("com.jivesoftware.base.AuthToken");        Class[] params = new Class[1];        params[0] = "".getClass();        Method getJiveProperty = jiveGlobals.getMethod("getJiveProperty", params);        if (getJiveProperty == null) {            doSetup = true;        }        else {            // Call JiveGlobals.getJiveProperty("setup")            String[] args = {"setup"};            Object setupVal = getJiveProperty.invoke(null, args);            if (setupVal == null) {                doSetup = true;            }            else {                String setup = (String)setupVal;                if (!"true".equals(setup)) {                    doSetup = true;                }            }        }    }    catch (Exception e) {        doSetup = true;    }        if (!doSetup) {        response.sendRedirect("completed.jsp");        return;    }%>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -