index.jsp revision 1331
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber<%--
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane GraberCDDL HEADER START
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane GraberThe contents of this file are subject to the terms of the
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane GraberCommon Development and Distribution License (the "License").
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane GraberYou may not use this file except in compliance with the License.
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane GraberSee LICENSE.txt included in this distribution for the specific
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graberlanguage governing permissions and limitations under the License.
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane GraberWhen distributing Covered Code, include this CDDL HEADER in each
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graberfile and include the License file at LICENSE.txt.
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane GraberIf applicable, add the following below this CDDL HEADER, with the
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graberfields enclosed by brackets "[]" replaced with your own identifying
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graberinformation: Portions Copyright [yyyy] [name of copyright owner]
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane GraberCDDL HEADER END
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane GraberCopyright 2005 Sun Microsystems, Inc. All rights reserved.
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane GraberUse is subject to license terms.
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane GraberPortions Copyright 2011 Jens Elkner.
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber--%><%@ page session="false" errorPage="error.jsp" %><%@
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graberinclude file="projects.jspf"
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber%><%
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber/* ---------------------- index.jsp start --------------------- */
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber{
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber cfg = PageConfig.get(request);
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber cfg.setTitle("Search");
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber long lmdate = cfg.getEnv().getConfiguration().getLastModified();
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber if (request.getDateHeader("If-Modified-Since") >= lmdate) {
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber response.setStatus(HttpServletResponse.SC_NOT_MODIFIED);
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber return;
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber }
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber response.setDateHeader("Last-Modified", lmdate);
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber%><%@
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graberinclude file="httpheader.jspf"
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber%><body>
10a5fab6f3ad5cab234b198da31633e41c8ee364Stéphane Graber <div id="page">
9accc2efea59a685942501c13e8eb7a21f74a5f6Stéphane Graber <div id="whole_header">
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber <div id="header"><%@
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graberinclude file="pageheader.jspf"
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber %></div>
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber <div id="Masthead"></div>
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber <div id="sbar"><%@
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graberinclude file="menu.jspf"
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber %></div>
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber </div>
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber <div id="results">
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber<%= cfg.getEnv().getConfiguration().getBodyIncludeFileContent() %>
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber </div>
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber<%
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber}
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber/* ---------------------- index.jsp end --------------------- */
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber%><%@
fad967669817061cda3aafc40be04dcb712a4767Dwight Engen
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graberinclude file="foot.jspf"
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber
71d3a6590fe665421d7a0026d699b0654ddfc7f6Stéphane Graber%>