Re: web application - student need help

2007-01-07 Thread Caroline Jen
(); } catch( SQLException sqlEx ) { System.out.println( "Problem occurs while closing " + sqlEx ); } conn = null; } } } } -Caroline --- Michael Ni <[EMAIL PROTECTED]> wrote: > thx car

Re: web application - student need help

2007-01-05 Thread Caroline Jen
Did you configure a connection pool in Tomcat? Then, get a connection object from the pool for each data search method invocation. I am at work now. I do not have the configuration with me. I can post the configuration and the database access code when I get home. Meanwhile, do a search on the

Re: database connection pooling

2005-11-22 Thread Caroline Jen
Hi, you should definitely close the connection right after the method that is invoked. The connection should be closed in the 'finally' block. May we know the reason why you think the closing would defeat the purpose of connection pooling? --- Khawaja Shams <[EMAIL PROTECTED]> wrote: > Hello, >