status.jsp revision 1186
e2417e4143bb892e4599b01de7b031763421bb64Daniel J Walsh<%--
e2417e4143bb892e4599b01de7b031763421bb64Daniel J Walsh$Id$
cad45ba11ec3572296361f53f5852ffb97a97fa3Lennart Poettering
e2417e4143bb892e4599b01de7b031763421bb64Daniel J WalshCDDL HEADER START
e2417e4143bb892e4599b01de7b031763421bb64Daniel J Walsh
e2417e4143bb892e4599b01de7b031763421bb64Daniel J WalshThe contents of this file are subject to the terms of the
e2417e4143bb892e4599b01de7b031763421bb64Daniel J WalshCommon Development and Distribution License (the "License").
e2417e4143bb892e4599b01de7b031763421bb64Daniel J WalshYou may not use this file except in compliance with the License.
e2417e4143bb892e4599b01de7b031763421bb64Daniel J Walsh
e2417e4143bb892e4599b01de7b031763421bb64Daniel J WalshSee LICENSE.txt included in this distribution for the specific
03e22642617f360a6b55cb853bcf59604754ea5dKay Sieverslanguage governing permissions and limitations under the License.
03e22642617f360a6b55cb853bcf59604754ea5dKay Sievers
e2417e4143bb892e4599b01de7b031763421bb64Daniel J WalshWhen distributing Covered Code, include this CDDL HEADER in each
e2417e4143bb892e4599b01de7b031763421bb64Daniel J Walshfile and include the License file at LICENSE.txt.
e2417e4143bb892e4599b01de7b031763421bb64Daniel J WalshIf applicable, add the following below this CDDL HEADER, with the
e2417e4143bb892e4599b01de7b031763421bb64Daniel J Walshfields enclosed by brackets "[]" replaced with your own identifying
e2417e4143bb892e4599b01de7b031763421bb64Daniel J Walshinformation: Portions Copyright [yyyy] [name of copyright owner]
03e22642617f360a6b55cb853bcf59604754ea5dKay Sievers
e2417e4143bb892e4599b01de7b031763421bb64Daniel J WalshCDDL HEADER END
03e22642617f360a6b55cb853bcf59604754ea5dKay Sievers
e2417e4143bb892e4599b01de7b031763421bb64Daniel J WalshCopyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
e2417e4143bb892e4599b01de7b031763421bb64Daniel J WalshPortions Copyright 2011 Jens Elkner.
e2417e4143bb892e4599b01de7b031763421bb64Daniel J Walsh
718db96199eb307751264e4163555662c9a389faLennart Poettering--%><%@page session="false" errorPage="error.jsp" import="
71d35b6b5563817dfbe757ab9e3b9f018b2db491Thomas Hindoe Paaboel Andersenorg.opensolaris.opengrok.configuration.RuntimeEnvironment,
718db96199eb307751264e4163555662c9a389faLennart Poetteringorg.opensolaris.opengrok.web.Util"
e94937df954451eb4aa63573f0d7404ed2db987eLukas Nykryn%><%@
ffc227c9568eb0a12dc750761d1e5d68ea125aadLennart Poettering
8a188de9e0ea41509beda12084126d7a75ebe86eWaLyong Choinclude file="projects.jspf"
cad45ba11ec3572296361f53f5852ffb97a97fa3Lennart Poettering
cad45ba11ec3572296361f53f5852ffb97a97fa3Lennart Poettering%><%
cad45ba11ec3572296361f53f5852ffb97a97fa3Lennart Poettering/* ---------------------- status.jsp start --------------------- */
8a188de9e0ea41509beda12084126d7a75ebe86eWaLyong Cho{
8a188de9e0ea41509beda12084126d7a75ebe86eWaLyong Cho cfg = PageConfig.get(request);
4f4f70361a64957c45a2d8f40bfb04c77b454697Lennart Poettering cfg.setTitle("Status");
8a188de9e0ea41509beda12084126d7a75ebe86eWaLyong Cho%><%@
4f4f70361a64957c45a2d8f40bfb04c77b454697Lennart Poettering
4f4f70361a64957c45a2d8f40bfb04c77b454697Lennart Poetteringinclude file="httpheader.jspf"
1e648011b20c8126412d3cf2699d575d9ba9e0feLukas Nykryn
4f4f70361a64957c45a2d8f40bfb04c77b454697Lennart Poettering%>
cad45ba11ec3572296361f53f5852ffb97a97fa3Lennart Poettering<body>
cad45ba11ec3572296361f53f5852ffb97a97fa3Lennart Poettering <div id="page">
cad45ba11ec3572296361f53f5852ffb97a97fa3Lennart Poettering <div id="whole_header">
8a188de9e0ea41509beda12084126d7a75ebe86eWaLyong Cho <div id="header"><%@
8a188de9e0ea41509beda12084126d7a75ebe86eWaLyong Cho
cad45ba11ec3572296361f53f5852ffb97a97fa3Lennart Poetteringinclude file="pageheader.jspf"
e2417e4143bb892e4599b01de7b031763421bb64Daniel J Walsh
%>
</div>
<div id="Masthead"></div>
</div>
<div id="status">
<h1>OpenGrok status page</h1>
<p>
This page is only used for testing purposes to dump some of the
internal settings on your OpenGrok server.</p><%
if (cfg.getEnv().isChattyStatusPage()) {
Util.dumpConfiguration(out);
} else {
%><p>
For security reasons, printing of internal settings is not enabled by
default. To enable, set the property <tt>chattyStatusPage</tt> to
<tt>true</tt> in <tt>configuration.xml</tt>.</p><%
}
%>
</div>
<%
}
/* ---------------------- status.jsp start --------------------- */
%><%@
include file="foot.jspf"
%>