Since the Conn method is static you do not need to initialize it. The DBUtil class actually handles all that for you. Just send your query string to the method there and get back the instance of the data results class.

No init needed.

Doug

----- Original Message ----- From: "Krishnakant Mane" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
Sent: Friday, April 08, 2005 5:06 AM
Subject: Re: still not clear with connection pooling in tomcat



thanks doug.
I got my application right.
only one problem remains.
where do I initialise the connection.
and what should I do in the init method of the
servlet.
or is it that I wont need to use the init method at
all?
thanks again
Krishnakant.

Send instant messages to your online friends http://uk.messenger.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to