Hi All, Correct me if I am wrong, but: In the JSP Basics lab, section 2.3 (Modify "ErrorPage" example part of the application), it seems that we are to create our own error page, but the jsp that should invoke the error page does it using the include directive and not using the JSP error handling mechanism (am I wrong?). I.e., as far as my understanding goes, if you add to a JSP page the following:
<%@ page errorPage="myOwnErrorpage.jsp" %> It means that the myOwnErrorpage.jsp will be used to handle an exception that arises when executing the original JSP, no? For example, if I had: int i = 10 / 0; just before the retrieval of the "name" parameter from the request, then the division by zero exception would be thrown and the myOwnErrorpage.jsp would have the exception variable filled. Currently the inclusion of the myOwnErrorpage.jsp, which prints the exception will always print "null" since the page was included and no exception was ever thrown. Again, please correct me if I am wrong. Thanks, Barry --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en -~----------~----~----~----~------~----~------~--~---