Hi all,
I studied about <c:catch> tag and tried a program.
Here's the snippet
<c:catch>
<%@ include file = "test.jsp" %>
</c:catch>
This
test will appear if catch works
I expected that catch will work but it didn't.
then I tried with <
jsp:include > and <c:import > and it worked
as I expected .
later I understood that include directive will be translated
during compile itself where as the other two(standard action and jstl tag)
will be translated at runtime and that's why catch didn't
work for "include standard action" which has been stopped by
container even before the translation
What I understood is right ?
Thanks in advance