diff options
Diffstat (limited to 'apache-jstl/src/test/taglibjar/META-INF/tags/errorhandler.tag')
-rw-r--r-- | apache-jstl/src/test/taglibjar/META-INF/tags/errorhandler.tag | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/apache-jstl/src/test/taglibjar/META-INF/tags/errorhandler.tag b/apache-jstl/src/test/taglibjar/META-INF/tags/errorhandler.tag index 854952bc2f..ddd44dd491 100644 --- a/apache-jstl/src/test/taglibjar/META-INF/tags/errorhandler.tag +++ b/apache-jstl/src/test/taglibjar/META-INF/tags/errorhandler.tag @@ -1,13 +1,12 @@ <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> -<c:catch var="error"> +<c:catch var="tossable"> <jsp:doBody /> </c:catch> - -<c:if test="${error != null}"> -[jtest:errorhandler] exception : ${error} -[jtest:errorhandler] exception.message : ${error.message} +<c:if test="${tossable != null}"> +[jtest:errorhandler] exception : ${tossable} +[jtest:errorhandler] exception.message : ${tossable.message} </c:if> -<c:if test="${error == null}"> +<c:if test="${tossable == null}"> [jtest:errorhandler] exception is null </c:if> |