This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
hi , I am not able to catch the errors thrown by the JSP page and construct an error page corrosponding to that. I have made an error page also which i am calling from my main Jsp page but how do i catch the runtime errors if any . URGENT Amit
Amit, Assume main.jsp is the main jsp file which may create some runtime exceptions and errorHandle.jsp is your error catcher! When an exception is created in main.jsp, the corresponding "errorPage" arrtibute file in <@page directive is called .The details of the exception are available with a pre-defined object named "exception" to the errorHandle.jsp. Here is a sample code.