MySQL connector

Hello developers...

I have a question about MySQL connector and Java Applet. I'm using a java.applet.Applet that connect with a database MySQL running over Apache.

When I try to connect to the Database throug the Applet in the browser, this can't connect and show mistakes like:

* java.lang.NullPointerException: Just in the line where i have stmt = conn.createStatement()...

* thread applet-Applet class: sun.plugin.util.GrayBoxPainter.showLoadingError.

All the mistakes show in the init()...

Other Error is when I try to access to a file, the console show: java.io.File permission, access denied. I don't know if I must give the all path (http://....) or only i just write "./path..." i can get the image.

Thank for anybody who can help me...

[800 byte] By [luis.escalantea] at [2007-10-3 8:46:52]
# 1
Un jar the mysql-connector-java-3.1.14-bin.jar and plase in your jar file for the applet, or copy into your JAVA_HOME/jre/lib/ext dir or Java path on the PC i.e Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Java\jdk1.6.0\bin;C:\Sun\AppServer\bin in my case!
jalzabrewera at 2007-7-15 3:55:54 > top of Java-index,Desktop,Core GUI APIs...