will this be applicable for the entire application or do i need to define errorPage in every jsp in my application.
If you declare the above in the DD, it applies to the entire application. ie, if "any" exception is encountered in "any" page then it is redirected to the "ErrorPage.jsp".
Note:
you should declare <%@ page isErrorPage="true" %> in the ErrorPage.jsp if you want access to the default "session" object
For any specific JSP page, if you want to configure a "different" error page instead of the default ErrorPage.jsp, then you can specify it by using <%@page errorPage="relativeURL"%>. This declaration will override the default declaration in the DD..
HTH.
Cheers!!
[ November 19, 2008: Message edited by: Srikanth Nutigattu ]