Hi all,
How can we throw an exception from an erroneous
JSP to error page.
Am using the page directive <%@ page errorPage="errorpage.jsp" %>
in each page.
But I don't know how to throw an exception in case any exception is raised.
For ex:
<%
String s[] = getNamesFromList();
%>
Say this raises an exception then how do i catch the same and throw it .
Your suggestions are welcome.
Regards,
Mahesh