Hi, I'm having trouble using the jdbc driver for mysql (the package is called mm.mysql.jdbc-1.2c) in an applet. I wrote a short test applet that is supposed to select some records from a table and then display them in a List. However, I'm getting a ClassNotFoundException thrown when trying to instantiate the driver class. I created a nearly identical class that is a Frame instead of an Applet and it works fine. I've never used jdbc with an applet before. How do I get this to work? Thanks, John
posted 14 years ago
Never mind, It was an applet security thing. The mysql db was on a different host as the one I was serving the applet from. I used the same host for both and it worked. john
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads