index.jsp revision 1330
1281N/A<%--
144N/ACDDL HEADER START
144N/A
144N/AThe contents of this file are subject to the terms of the
1281N/ACommon Development and Distribution License (the "License").
144N/AYou may not use this file except in compliance with the License.
144N/A
144N/ASee LICENSE.txt included in this distribution for the specific
144N/Alanguage governing permissions and limitations under the License.
144N/A
144N/AWhen distributing Covered Code, include this CDDL HEADER in each
144N/Afile and include the License file at LICENSE.txt.
144N/AIf applicable, add the following below this CDDL HEADER, with the
144N/Afields enclosed by brackets "[]" replaced with your own identifying
144N/Ainformation: Portions Copyright [yyyy] [name of copyright owner]
144N/A
144N/ACDDL HEADER END
144N/A
144N/ACopyright 2005 Sun Microsystems, Inc. All rights reserved.
144N/AUse is subject to license terms.
144N/A
1186N/APortions Copyright 2011 Jens Elkner.
1186N/A--%><%@ page session="false" errorPage="error.jsp" %><%@
1186N/A
1186N/Ainclude file="projects.jspf"
1186N/A
1186N/A%><%
1186N/A/* ---------------------- index.jsp start --------------------- */
1281N/A{
1281N/A cfg = PageConfig.get(request);
1186N/A cfg.setTitle("Search");
1186N/A long lmdate = cfg.getEnv().getConfiguration().getLastModified();
1186N/A if (request.getDateHeader("If-Modified-Since") >= lmdate) {
1186N/A response.setStatus(HttpServletResponse.SC_NOT_MODIFIED);
1186N/A return;
66N/A }
1281N/A response.setDateHeader("Last-Modified", lmdate);
1281N/A
1281N/A%><%@
1186N/A
1186N/Ainclude file="httpheader.jspf"
1186N/A
1281N/A%><body>
1281N/A <div id="page">
1281N/A <div id="whole_header">
1281N/A <div id="header"><%@
1281N/A
1281N/Ainclude file="pageheader.jspf"
1186N/A
1186N/A %></div>
1186N/A <div id="Masthead"></div>
1281N/A <div id="sbar"><%@
1281N/A
1281N/Ainclude file="menu.jspf"
1186N/A
1186N/A %></div>
1186N/A </div>
1281N/A <div id="results"><%@
1281N/A
1281N/Ainclude file="index_body.html"
1281N/A
1281N/A %></div>
1186N/A<%
1186N/A}
1186N/A/* ---------------------- index.jsp end --------------------- */
1281N/A%><%@
1281N/A
1281N/Ainclude file="foot.jspf"
1281N/A
1281N/A%>