Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 854952bc2f5c4637d1eebe9ae040c77c907dea5d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<c:catch var="error">
  <jsp:doBody />
</c:catch>

<c:if test="${error != null}">
[jtest:errorhandler] exception : ${error}
[jtest:errorhandler] exception.message : ${error.message}
</c:if>
<c:if test="${error == null}">
[jtest:errorhandler] exception is null
</c:if>

Back to the top