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

📄 systeminfo.jsp

📁 jive3论坛开源 最新 有版主功能 jive3论坛开源 最新 有版主功能 jive3论坛开源 最新 有版主功能
💻 JSP
字号:
<%--  -  - $RCSfile: systeminfo.jsp,v $  - $Revision: 1.3 $  - $Date: 2003/05/23 02:24:59 $  ---%><%@ page import="java.util.*,                 com.jivesoftware.forum.*,                 com.jivesoftware.forum.util.*,                 java.sql.DatabaseMetaData,                 java.sql.Connection,                 com.jivesoftware.base.database.ConnectionManager" %><%@ include file="global.jsp" %><%  // Only allow system admins to see this page    if (!isSystemAdmin) {        throw new UnauthorizedException("You don't have admin privileges to perform this operation.");    }%><%@ include file="header.jsp" %><%  // Title of this page and breadcrumbs    String title = "System Info";    String[][] breadcrumbs = {        {"Main", "main.jsp"},        {title, "systeminfo.jsp"}    };%><%@ include file="title.jsp" %>Below is a summary of the environment Jive Forums is installed on. If you use the online supportforums at jivesoftware.com, be sure to include this information when posting questions.<br><br><span class="jive-table"><table cellpadding="3" cellspacing="2" border="0"><tr>    <td class="jive-label">        Jive Forums Edition    </td>    <td>        <%= Version.getEdition().getName() %>    </td></tr><tr>    <td class="jive-label">        Jive Forums Version    </td>    <td>        <%= Version.getVersionNumber() %>    </td></tr><tr>    <td class="jive-label">        JVM Version and Vendor    </td>    <td>        <%= System.getProperty("java.version") %> <%= System.getProperty("java.vendor") %>    </td></tr><tr>    <td class="jive-label">        Application server    </td>    <td>        <%= application.getServerInfo() %>    </td></tr><%	// Get database info	Connection con = ConnectionManager.getConnection();    DatabaseMetaData metaData = con.getMetaData();%><tr>    <td class="jive-label">        Database Name and Version    </td>    <td>        <%= metaData.getDatabaseProductName() %>        <%= metaData.getDatabaseProductVersion() %>    </td></tr><tr>    <td class="jive-label">        JDBC Driver and Version    </td>    <td>        <%= metaData.getDriverName() %> <%= metaData.getDriverVersion() %>    </td></tr><%  // Close the database connection:    try {        con.close();    }    catch (Exception e) {}%></table></span><br><a href="prop-viewer.jsp">System Properties</a><%@ include file="footer.jsp" %>

⌨️ 快捷键说明

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