tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anand Raman <ara...@india-today.com>
Subject Re: Connection Pooling
Date Wed, 11 Apr 2001 08:51:31 GMT
i guess all u will have to do is

servlet.getAttribute("attr-name");

cast this down to ur ConnectionPool object and call the appropriate
method to get the connection..

hope this helps
Anand
On Wed, Apr 11, 2001 at 01:07:20PM +0100, Lakshmeenarayana G G wrote:
>Hi...
>I am creating the object of Connection pool manager in my Start up JSP.
>The pool manager object is in Application scope.
>I want to access the pool manager and get one connection object from one of my Bean used
in the JSP.
>How can i access the application scopre object from my Bean.
>Is it possible.?
>
>Please help...
>Thanks in advance.
>
>Regards.
>
>L G Goundalkar
>Intertec Communications Pvt Ltd
>INDIA

Mime
View raw message