tags:

views:

35

answers:

1

Hello, I am trying to implement Connection Pooling in java.I have written one java code and one jsp file.When I run it on tomcat6.0.20,I got following error.

javax.servlet.ServletException: Cannot create JDBC driver of class '' for connect URL 'null'

on this line Connection conn = ds.getConnection();

A: 

Have you configured the datasource?

Mobs
yes, I have configured the context.xml file of Tomcat.I have written the resource information over there.I have created one web.xml in which I have referenced the resource declare in context.xml
om