You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Anand Raman <ar...@india-today.com> on 2001/04/11 10:51:31 UTC

Re: Connection Pooling

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