How to handle the JSP Exception in Java
Hi All,
In JSP i have written
<%@ page errorPage="/Error.jsp"%>
<% int i=10/0; %>
Then i have forwarded this Excpetion in Error.jsp.
In Error.jsp
<%@ page isErrorPage="true" %>
This error page is getting displayed.But i want to catch thrown exception in java file.How i can do it
Thanks in advance
sheetal
__________________
sheetal
|