error.jsp revision 0
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankgCDDL HEADER START
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankgThe contents of this file are subject to the terms of the
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankgCommon Development and Distribution License (the "License").
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankgYou may not use this file except in compliance with the License.
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankgSee LICENSE.txt included in this distribution for the specific
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankglanguage governing permissions and limitations under the License.
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankgWhen distributing Covered Code, include this CDDL HEADER in each
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankgfile and include the License file at LICENSE.txt.
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankgIf applicable, add the following below this CDDL HEADER, with the
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankgfields enclosed by brackets "[]" replaced with your own identifying
0662ed52e814f8f08ef0e09956413a792584eddffuankginformation: Portions Copyright [yyyy] [name of copyright owner]
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankgCDDL HEADER END
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankgCopyright 2005 Sun Microsystems, Inc. All rights reserved.
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankgUse is subject to license terms.
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankgident "%Z%%M% %I% %E% SMI"
4fbd71b56ec5cc48f64b6bea20154bfcce857944fuankg--%><%@ page import = "javax.servlet.*,
44f575c8cb19a7a5cd61664a7848be6bc197df02fuankg%><%@ page session="false" %><%@ page isErrorPage="true" %><%
44f575c8cb19a7a5cd61664a7848be6bc197df02fuankgString context = request.getContextPath();
44f575c8cb19a7a5cd61664a7848be6bc197df02fuankgString rawSource = getServletContext().getInitParameter("SRC_ROOT");
44f575c8cb19a7a5cd61664a7848be6bc197df02fuankgString configError = "";
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg configError = "SRC_ROOT parameter has not been configured in web.xml! Please configure your webapp.";
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg if(!(new File(rawSource)).isDirectory()) {
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg configError = "SRC_ROOT parameter in web.xml does not point to a valid directory! Please configure your webapp.";
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg%><?xml version="1.0" encoding="iso-8859-1"?>
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg <title>Error!</title>
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg <link rel="icon" href="<%=context%>/img/icon.png" type="image/png"/>
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg <link rel="stylesheet" type="text/css" href="<%=context%>/style.css"/>
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg <link rel="stylesheet" type="text/css" href="<%=context%>/print.css" media="print" />
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg <link rel="alternate stylesheet" type="text/css" media="all" title="Paper White" href="<%=context%>/print.css"/>
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg<div id="page">
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg<form action="<%=context%>/search">
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg <div id="header">
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg <%= getServletContext().getInitParameter("HEADER") %>
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg<div id="Masthead"></div>
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg<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>
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg<h3 class="error">There was an error!</h3>
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg<%=configError%><%
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg<%@include file="foot.html"%>