About Question enthuware.jwpv6.2.1161 :
Posted: Tue Apr 08, 2014 1:20 pm
Hi,
The explanation for this question states that:
"The variable exception of class Throwable is available to JSP pages that are designated as error pages. You can set a page to be an error page either through web.xml or by adding a page directive: <%@page isErrorPage="true" %> "
But isn't it true that variable exception is only available if isErrorPage="true" is set i.e. if you just configure a page to be an error page using web.xml, you will not have access to the exception implicit object.
Thanks,
Niall
The explanation for this question states that:
"The variable exception of class Throwable is available to JSP pages that are designated as error pages. You can set a page to be an error page either through web.xml or by adding a page directive: <%@page isErrorPage="true" %> "
But isn't it true that variable exception is only available if isErrorPage="true" is set i.e. if you just configure a page to be an error page using web.xml, you will not have access to the exception implicit object.
Thanks,
Niall