Hi :> I had implemented a SQLBean which it's constructor will have to
throw an exception if certain init. operations are not successful.
I am using that bean in JSP using <jsp:useBean tag. I discovered that
whenever that bean indeed throws an exception in the constructor method,
my jsp page will display:

javax.servlet.ServletException: Could not load class 'JavaBeans.SQLBean'.
Class was not found.

If no exception is thrown, everything goes fine.

So how do i catch an exception in JSP and do some necessary actions instead
of the above error msg?? or if there are some other problems unknown??

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to