This content has been marked as final. Show 2 replies
I have this problem connecting to MySQL database.I don't know NetBeans, so I don't know what "installed" means.
I'm, using Netbeans 5.5 and I have installed
connector/j driver. In Netbeans under
Databases-Drivers-MySQL (connector/j driver) driver
class is :
But when i try this :What does "breaks" look like? Do you get an exception? What is the precise message? That would help.
My servlet breaks.
How can I solve this. TNX!Probably a ClassNotFoundException, which tells me that "installs" is not the same as putting the MySQL driver JAR in your CLASSPATH. Put it in the Tomcat common/lib directory if it's not there already and restart Tomcat