2009-08-02 20:12:16 +00:00
|
|
|
<%@page contentType="text/html"%>
|
2012-01-10 13:21:35 +00:00
|
|
|
<%@page trimDirectiveWhitespaces="true"%>
|
2009-08-02 20:12:16 +00:00
|
|
|
<%@page pageEncoding="UTF-8"%>
|
|
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
|
|
<%
|
|
|
|
// Let's make this easy...
|
2014-02-03 23:24:45 +00:00
|
|
|
// These are defined in Jetty 7 org.eclipse.jetty.server.Dispatcher,
|
|
|
|
// and in Servlet 3.0 (Jetty 8) javax.servlet.RequestDispatcher,
|
|
|
|
// just use the actual strings here to make it compatible with either
|
|
|
|
final Integer ERROR_CODE = (Integer) request.getAttribute("javax.servlet.error.status_code");
|
|
|
|
final String ERROR_URI = (String) request.getAttribute("javax.servlet.error.request_uri");
|
|
|
|
final String ERROR_MESSAGE = (String) request.getAttribute("javax.servlet.error.message");
|
2009-08-02 20:12:16 +00:00
|
|
|
if (ERROR_CODE != null && ERROR_MESSAGE != null) {
|
|
|
|
// this is deprecated but we don't want sendError()
|
|
|
|
response.setStatus(ERROR_CODE.intValue(), ERROR_MESSAGE);
|
|
|
|
}
|
|
|
|
// If it can't find the iframe or viewtheme.jsp I wonder if the whole thing blows up...
|
|
|
|
%>
|
2009-10-23 13:00:38 +00:00
|
|
|
<html><head>
|
2009-11-21 13:33:57 +00:00
|
|
|
<%@include file="css.jsi" %>
|
2009-10-23 13:55:44 +00:00
|
|
|
<%=intl.title("Page Not Found")%>
|
2012-06-05 13:37:10 +00:00
|
|
|
<script src="/js/ajax.js" type="text/javascript"></script>
|
2012-07-17 00:47:08 +00:00
|
|
|
<%@include file="summaryajax.jsi" %>
|
2012-06-05 13:37:10 +00:00
|
|
|
</head><body onload="initAjax()">
|
2009-11-21 13:33:57 +00:00
|
|
|
<%@include file="summary.jsi" %>
|
2012-07-12 13:40:54 +00:00
|
|
|
<h1><%=ERROR_CODE%> <%=ERROR_MESSAGE%></h1>
|
2009-08-22 12:15:19 +00:00
|
|
|
<div class="sorry" id="warning">
|
2009-10-23 13:55:44 +00:00
|
|
|
<%=intl._("Sorry! You appear to be requesting a non-existent Router Console page or resource.")%><hr>
|
2012-07-12 13:40:54 +00:00
|
|
|
<%=intl._("Error 404")%>: <%=ERROR_URI%> <%=intl._("not found")%>.
|
2009-08-15 16:08:33 +00:00
|
|
|
</div></body></html>
|