Hi All,
I am making a Java Applet connects to mysql database, it works well in
application mode. When I run it in applet mode, obviously the client
running the applet should have the mysql connector file
(mysql-connector-java-3.0.8-stable-bin.jar).
So the question is how to bundle this mysql jar file with my applet jar
file. I've tried to make both 2 files together in the html file:
archive="PCMApplet.jar;mysql-connector-java-3.0.8-stable-bin.jar"
the GUI shows up but the connection call to database is failed:
java.lang.ClassNotFoundException: org.gjt.mm.mysql.Driver
It seems to me that the mysql-blah.jar is not being used.
Can anyone shed some light on this?
Thanks,
Sheng