I have included the required jar files also but still it throwing the error.
Apparently you haven't. My guess is that the required JAR files are not being deployed from Eclipse. Make sure you add them to the list of JARs required are defined in the Eclipse project's Java EE Module Dependincies (On the Project Properties page).
Joined: Aug 18, 2008
I have already include all the jar files in eclipse also!
I have copied the jar files to my lib inside the WEB-INF folder,also inside tomcat's lib,also inside eclipse's lib...but still not getting the solution..
Do I need to set something in the classpath in environment variables?
I would also like to mention that jdbc is workin fine with a java class inside the same package!That there is no problem with the jars...should we try it with any other different approach?