Skip to content
Snippets Groups Projects
Commit ebe75510 authored by Mic's avatar Mic
Browse files

added exception stacktrace into an html comment

parent 0c09ec3b
Branches
No related tags found
No related merge requests found
<html lang="en"> <html lang="en">
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %> <%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<jsp:include page="fragments/headTag.jsp"/> <jsp:include page="fragments/headTag.jsp"/>
...@@ -11,6 +12,12 @@ ...@@ -11,6 +12,12 @@
<h2>Something happened...</h2> <h2>Something happened...</h2>
<p>${exception.message}</p> <p>${exception.message}</p>
<!-- Exception: ${exception.message}.
<c:forEach items="${exception.stackTrace}" var="stackTrace">
${stackTrace}
</c:forEach>
-->
<jsp:include page="fragments/footer.jsp"/> <jsp:include page="fragments/footer.jsp"/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment