I Have a very basic question.

I am using weblogic and have created the connection pool in the properties
file.

How do i then connect to the database? should i have an init method for the
initial connection?

All I want to do is initially connect to the database and query some tables

the code is something like this

Class.forName (jdbcClass).newInstance();
Connection conn = DriverManager.getConnection(jdbcURL,user,password);

how would i then maintain the connection through all my jsp pages.

Thanks for all the help.

-Nisha

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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