2009-08-02 20:12:16 +00:00
|
|
|
<%@page contentType="text/html"%>
|
|
|
|
<%@page pageEncoding="UTF-8"%>
|
|
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
|
|
<%
|
|
|
|
// Let's make this easy...
|
|
|
|
final Integer ERROR_CODE = (Integer) request.getAttribute(org.mortbay.jetty.servlet.ServletHandler.__J_S_ERROR_STATUS_CODE);
|
|
|
|
final String ERROR_URI = (String) request.getAttribute(org.mortbay.jetty.servlet.ServletHandler.__J_S_ERROR_REQUEST_URI);
|
|
|
|
final String ERROR_MESSAGE = (String) request.getAttribute(org.mortbay.jetty.servlet.ServletHandler.__J_S_ERROR_MESSAGE);
|
|
|
|
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-08-22 12:15:19 +00:00
|
|
|
<html><head><title>I2P Router Console - Page Not Found</title>
|
2009-08-02 20:12:16 +00:00
|
|
|
<%@include file="css.jsp" %>
|
2009-08-27 19:43:57 +00:00
|
|
|
</head><body>
|
2009-08-02 20:12:16 +00:00
|
|
|
<%
|
|
|
|
if (System.getProperty("router.consoleNonce") == null) {
|
|
|
|
System.setProperty("router.consoleNonce", new java.util.Random().nextLong() + "");
|
|
|
|
}
|
|
|
|
%>
|
|
|
|
<%@include file="summary.jsp" %>
|
|
|
|
<h1><%=ERROR_CODE%> <%=ERROR_MESSAGE%></h1>
|
2009-08-22 12:15:19 +00:00
|
|
|
<div class="sorry" id="warning">
|
2009-08-22 17:42:15 +00:00
|
|
|
Sorry! You appear to be requesting a non-existent Router Console page or resource.<hr>
|
2009-08-22 12:15:19 +00:00
|
|
|
Error 404: <%=ERROR_URI%> not found.
|
2009-08-15 16:08:33 +00:00
|
|
|
</div></body></html>
|