tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Parsons Technical Services" <parsonstechni...@earthlink.net>
Subject Re: still not clear with connection pooling in tomcat
Date Fri, 08 Apr 2005 11:23:20 GMT
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" <compactsolution@yahoo.co.uk>
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: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message