Improve output: distinguish between failed assertions (failures) and unexpected exceptions (errors), and print a filtered stack trace for any exception.
This commit is contained in:
commit
4f2e303079
1839 changed files with 235630 additions and 0 deletions
18
webapp/web/templates/error/error404.jsp
Normal file
18
webapp/web/templates/error/error404.jsp
Normal file
|
@ -0,0 +1,18 @@
|
|||
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
|
||||
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||
<%@page isErrorPage="true" %>
|
||||
|
||||
<% if ( pageContext.getErrorData().getRequestURI().indexOf("/images/") < 0 ) {
|
||||
request.setAttribute("bodyJsp", "/templates/error/error404content.jsp");
|
||||
request.setAttribute("title", "Not Found");
|
||||
%>
|
||||
|
||||
<jsp:forward page="/templates/page/basicPage.jsp">
|
||||
<jsp:param name="uriStr" value="${pageContext.errorData.requestURI}"/>
|
||||
</jsp:forward>
|
||||
|
||||
<% } %>
|
||||
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue