Hi all,


 I am having the following code on my jsp page.

 ***********************************************************
 Driver myDriver = (Driver)
 Class.forName("weblogic.jdbc.pool.Driver").newInstance();
    Properties props = new Properties();
    props.put("connectionPoolID", "dashboardPool");
    Connection conn1 =  myDriver.connect("jdbc:weblogic:pool", props);

    System.out.println("Connection started");

 *****************************
 then i am sending values to a bean in the following fashion

 <% errorFlag = schedule.checkFeedSchedule(feedTag,myDriver,conn1);%>

 *************************************
 This is taking time , is this approach correct?? or is there a better way
 than this.

 please help

 Regards,
 Sandarbh

===========================================================================
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