One possible approach could be to create a instance of your ConnectionPool
class in a servlet and then place the instance in the servlet context.
Then other jsp pages could acess the ConnectionPool Object using the
implicit application object.
Don't forget to have the servlet loaded by the webserver on startup.
Have a nice day.
With regards,
Sachin S. Khanna.
www.emailanorder.com

----- Original Message -----
From: Bhavesh Vakil <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, January 06, 2001 6:36 PM
Subject: Connection Pool


> Hi to all,
>
> I use Apache 1.3.12 + Tomcat 3.1 + Oracle 8.1.6 + Oracle 8.1.6 (JDBC 2.0)
> driver on LINUX. I read Oracle 8.1.6 JDBC document and test all
 connection
> pool + connection cache ] related programs in (.java) form. It works fine.
>
> My question is how I initialize [ connection pool / connection cache ]
> instance in JSP. This initialize is only at once and then after all my JSP
> pages related to application use this connection pool instance to generate
> logical connections.
>
> Whether I prepare bean ? if yes then pl. explain complete hierarchy, how I
> use this bean ?
>
> I read some thing about globals.jsa file. If any one know about
globals.jsa
> file then pl. explain, role of globals.jsa in JSP development and how to
use
> this file.
>
>
> Regards,
> Bhavesh.
>
>
> __________________________________________________
> Do You Yahoo!?
> Talk to your friends online with Yahoo! Messenger.
> http://im.yahoo.com
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to