CornedBee
Jun 2nd, 2003, 01:45 AM
Hey there!
I'm trying to access a mysql database via JDBC from a JSP page. To do this I downloaded the mysql JDBC connector. I now have a jar file that I must copy somewhere, but I don't know where. I think by now I have about 8 copies of the file in various directories of my SDK, JRE and Tomcat. But the loading (as shown in the connector readme) still doesn't work.
Can anyone help me?
Driver d = (Driver)Class.forName("com.mysql.jdbc.Driver").newInstance();
// ClassNotFoundException
I'm trying to access a mysql database via JDBC from a JSP page. To do this I downloaded the mysql JDBC connector. I now have a jar file that I must copy somewhere, but I don't know where. I think by now I have about 8 copies of the file in various directories of my SDK, JRE and Tomcat. But the loading (as shown in the connector readme) still doesn't work.
Can anyone help me?
Driver d = (Driver)Class.forName("com.mysql.jdbc.Driver").newInstance();
// ClassNotFoundException