httpheader.jspf revision 838924562130977ca1a3d3839d146fcda39ea1af
3436009bb8409e0a2d7f10a81fc99506ed3e6ca5Lubos KoscoCDDL HEADER START
3436009bb8409e0a2d7f10a81fc99506ed3e6ca5Lubos KoscoThe contents of this file are subject to the terms of the
3436009bb8409e0a2d7f10a81fc99506ed3e6ca5Lubos KoscoCommon Development and Distribution License (the "License").
e94351dfdca192305581a6c67c7e45e3f86db967Lubos KoscoYou may not use this file except in compliance with the License.
3436009bb8409e0a2d7f10a81fc99506ed3e6ca5Lubos KoscoSee LICENSE.txt included in this distribution for the specific
3436009bb8409e0a2d7f10a81fc99506ed3e6ca5Lubos Koscolanguage governing permissions and limitations under the License.
362770187d4d72fd9b70bb1106899d71e03722cbLubos KoscoWhen distributing Covered Code, include this CDDL HEADER in each
362770187d4d72fd9b70bb1106899d71e03722cbLubos Koscofile and include the License file at LICENSE.txt.
362770187d4d72fd9b70bb1106899d71e03722cbLubos KoscoIf applicable, add the following below this CDDL HEADER, with the
362770187d4d72fd9b70bb1106899d71e03722cbLubos Koscofields enclosed by brackets "[]" replaced with your own identifying
3436009bb8409e0a2d7f10a81fc99506ed3e6ca5Lubos Koscoinformation: Portions Copyright [yyyy] [name of copyright owner]
34ce5c2f0e9b0f6bf05895501c9f7171d4a5bab7Lubos KoscoCDDL HEADER END
3436009bb8409e0a2d7f10a81fc99506ed3e6ca5Lubos KoscoCopyright (c) 2007, 2016, Oracle and/or its affiliates. All rights reserved.
3436009bb8409e0a2d7f10a81fc99506ed3e6ca5Lubos KoscoPortions Copyright 2011 Jens Elkner.
cfg = PageConfig.get(request);
cfg.setTitle("your title");
--%><%@page import="org.opensolaris.opengrok.web.Prefix"%>
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" import="
include file="pageconfig.jspf"
/* ---------------------- httpheader.jsp start --------------------- */
cfg = PageConfig.get(request);
String styleDir = cfg.getCssDir();
String ctxPath = request.getContextPath();
String dstyle = styleDir + '/' + "style.css";
String pstyle = styleDir + '/' + "print.css";
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" type="text/css" media="all"
<link rel="alternate stylesheet" type="text/css" media="all"
"title=\"RSS feed for " + cfg.getPath() + "\" " +
type="application/opensearchdescription+xml"
<script type="text/javascript">/* <![CDATA[ */
window.contextPath = '<%= ctxPath %>';
<%--<script type="text/javascript" src="<%=ctxPath%>/js/jquery.autocomplete-1.1.pack.js"></script> --%>
<title><%=cfg.getTitle()%></title><%
/* ---------------------- httpheader.jsp end --------------------- */