hi
pls tell me how to connect database pool of db2 from a jsp page

Retrieved from http://www.thescripts.com/forum/thread183033.html:

COM.ibm.db2.jdbc.DB2ConnectionPoolDataSource ds = new
COM.ibm.db2.jdbc.DB2ConnectionPoolDataSource();
ds.setDatabaseName(...);
ds.setUser(...);
ds.setPassword(...);

javax.sql.PooledConnection c = null;
c = ds.getPooledConnection(...)

~ mellamokb

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.