enoent.jsp revision 58
b8a8f5a9b535f39bf9f1b00ec2983bd610bb2373Julian KornbergerCDDL HEADER START
b8a8f5a9b535f39bf9f1b00ec2983bd610bb2373Julian KornbergerThe contents of this file are subject to the terms of the
b8a8f5a9b535f39bf9f1b00ec2983bd610bb2373Julian KornbergerCommon Development and Distribution License (the "License").
b8a8f5a9b535f39bf9f1b00ec2983bd610bb2373Julian KornbergerYou may not use this file except in compliance with the License.
b8a8f5a9b535f39bf9f1b00ec2983bd610bb2373Julian KornbergerSee LICENSE.txt included in this distribution for the specific
b8a8f5a9b535f39bf9f1b00ec2983bd610bb2373Julian Kornbergerlanguage governing permissions and limitations under the License.
file and include the License file at LICENSE.txt.
ident "@(#)enoent.jsp 1.3 05/12/02 SMI"
--%><%@ page import = "javax.servlet.*,
java.io.*"
String context = request.getContextPath();
RuntimeEnvironment env = RuntimeEnvironment.getInstance();
env.register();
String rawSource = env.getSourceRootPath();
if (rawSource.equals("")) {
configError = "SRC_ROOT parameter has not been configured in web.xml! Please configure your webapp.";
if (!env.getSourceRootFile().isDirectory()) {
configError = "SRC_ROOT parameter in web.xml does not point to a valid directory! Please configure your webapp.";
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
<link rel="alternate stylesheet" type="text/css" media="all" title="Paper White" href="<%=context%>/print.css"/>
<div id="bar"><a id="home" href="<%=context%>">Home</a> | <input id="search" name="q" class="q"/> <input type="submit" value="Search" class="submit"/> </div>
<div style="display:block;height:10em"> </div><%@include file="foot.jsp"%>