how to connect Applet to JDBC driver (urgent !!!)

Hi,

I had problems getting the applet connected to a database in the server using JDBC. When I run the applet in appletviewer I got the error msg :

"Exception occurred during event dispatching:

java.security.AccessControlException: access denied (java.lang.RuntimePermission

accessClassInPackage.sun.jdbc.odbc "

.....this error refers to the line in my source code:

Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");

Please help , thank you!

[494 byte] By [skitties] at [2007-9-26 9:16:44]
# 1
Join this topic: http://forum.java.sun.com/thread.jsp?forum=48&thread=178759
Hartmut at 2007-7-1 20:30:07 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...