Hi All,
I am trying to write simple
servlet having
jdbc code that connect to mysql database and retrieve a details of table fields , and i am using netbeans and wamp server to do my job.
let me explain what problem i am facing.....
Apache
tomcat is complaining regarding Driver that....
java.lang.ClassNotFoundException: com.jdbc.mysql.Driver
and what i have tried to solve this..
1-i attached mysql-connector-java-5.1.6.jar to my project library
but i found the same problem ,when i observed wamp server's containing mysql folder that is- wamp/bin/mysql 5.1.36
and also i have been tried by adding mysql-connector-java-5.1.25 but still facing same above issue...
my simple servlet code is bellow...
i am not getting any clue that what i am missing or any extra stuff to do with my code please help me .