1<%-- 2CDDL HEADER START 3 4The contents of this file are subject to the terms of the 5Common Development and Distribution License (the "License"). 6You may not use this file except in compliance with the License. 7 8See LICENSE.txt included in this distribution for the specific 9language governing permissions and limitations under the License. 10 11When distributing Covered Code, include this CDDL HEADER in each 12file and include the License file at LICENSE.txt. 13If applicable, add the following below this CDDL HEADER, with the 14fields enclosed by brackets "[]" replaced with your own identifying 15information: Portions Copyright [yyyy] [name of copyright owner] 16 17CDDL HEADER END 18 19Copyright (c) 2005, 2021, Oracle and/or its affiliates. All rights reserved. 20Portions Copyright 2011 Jens Elkner. 21Portions Copyright (c) 2018, Chris Fraire <cfraire@me.com>. 22 23--%> 24<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> 25<%@page session="false" errorPage="error.jsp" isErrorPage="true"%><% 26/* ---------------------- enoent.jsp start --------------------- */ 27{ 28 PageConfig cfg = PageConfig.get(request); 29 cfg.checkSourceRootExistence(); 30 cfg.setTitle("File not found"); 31} 32%><%@ 33 34include file="httpheader.jspf" 35 36%><body> 37<div id="page"> 38 <header id="whole_header"> 39 <%@include file="pageheader.jspf" %> 40 <div id="Masthead">Error: file not found</div> 41 <div id="sbar"><%@ 42 43include file="menu.jspf" 44 45 %></div> 46 </header> 47<% 48{ 49 PageConfig cfg = PageConfig.get(request); 50 String configError = ""; 51 if (!cfg.hasHistory()) { 52 configError = "Resource lacks history info. Was remote SCM side up when indexing occurred? " 53 + "Cleanup history cache dir(or just the .gz for the file or db record) and rerun indexer making sure remote side will respond during indexing."; 54 } 55%> 56 <h3 class="error">Error: File not found!</h3> 57 <p>The requested resource is not available. </p> 58 <p> <%= configError %> </p> 59<% 60} 61/* ---------------------- enoent.jsp end --------------------- */ 62%><%@ 63 64include file="foot.jspf" 65 66%>