Hi, If I have a connection pool bean which is declared in 'application' scope, how can I make it availabe to servlet? I can get the connection using this bean but I don't have an idea to past the bean object to the servlets. Thanks a lot.
You can import and instantiate the bean like you do in any other java class.
Joined: Jun 21, 2001
The fact is, the bean is already instantiated in other jsp page, it manage the connection pool, my goal is to get a connection from this pool bean inside my servlet so i don't have to recreate another pool. If i instantiate another pool bean in my servlet, will i have two bean objects that hold a set of connection separately?