This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi everybody, i need help, i couldn't connect JSP with MySql. I have used "org.gjt.mm.mysql.Driver" this driver. I have copied in this driver on tamcat/webapps/root/web-inf/lib directory, but still i have facing the problem. my coding is correct. and also i can connect to Java with Mysql. but i couldn't Jsp with MySql, Plese help me...
Though "com.mysql.jdbc.Driver" is the driver url, i would suggest you to just check the version of the driver against the version of your MySQL database.
If both of them are incompatible, then you would still get an error!
You just refer the same in the website.
For example, this link lists the latest version of ConnectorJ (the JDBC driver for MySQL) here. You can choose the appropriate the version in the box on the left side. [ July 30, 2007: Message edited by: Raghavan Muthu ]