systeminfo.jsp

来自「jive3.1.4破解版(非源码)」· JSP 代码 · 共 110 行

JSP
110 行
字号
<%--  -  - $RCSfile: systeminfo.jsp,v $  - $Revision: 1.3.2.1 $  - $Date: 2003/07/24 19:03:15 $  ---%><%@ page import="java.util.*,                 com.jivesoftware.forum.*,                 com.jivesoftware.forum.util.*,                 java.sql.DatabaseMetaData,                 java.sql.Connection,                 com.jivesoftware.base.database.ConnectionManager"    errorPage="error.jsp"%><%@ 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 + =
减小字号Ctrl + -
显示快捷键?