>in java bean, I wrote JDBC code to execute SQL commands, which will throws
>and catch exceptions.
if you catch the exceptions then how would it propogate to your error.jsp.
Are you throwing the exception from your JDBC code all the way to the caller
which
i presume is a scriplet code in you jsp.
> For examples, the error.jsp can't catch the exception which
> occurs when the user
> type the wrong username during log in.
You should be able to access uncaught exceptions in your error.jsp
using exception implicit jsp variable. Are you handling your exceptions
or are you throwing it so that it is uncaught in your jsp scriplet??
-Shiraz
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets