Hi, all, [Mike Steigerwald] I guess I need a code review. Can anyone see what might be wrong with the snippet below? It does not seem to catch an exception generated when the incorrect database password is submitted.
I'm using the Tomcat server. It's throwing the expected exception, but I want to catch it myself and give the client a more intelligible error message. My debugging is constrained by problems with the Sun One IDE. I've examined the servlet code. It looks like it has correctly inserted the try ... finally statements. I can't see why it would miss the Tomcat/DB exception. Thanks in advance for any suggestions. <c:catch var="exception"> <sql:setDataSource var="productDS" url="jdbc:odbc:agdb" driver="sun.jdbc.odbc.JdbcOdbcDriver" user="Admin" password= "${password}" scope="session" /> </c:catch> <c:if test="${exception != null}"> Sorry. Processing could not be performed because... </c:if> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]