> i have also faced the same problem> & by surfing net i come to know that u can only use type 3 & type4 of jdbc driver to connect database from applet.

> > > hio sir...> > i have faced the a problem when i want to connect my applet with Ms SQL Server..> > the error:> > java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.sun )> > it appears when i catch an exception...on the connection part> > Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");

> > so is there a specific connection to the database for the applets..?> > please i need help as soon as possible...so if anyone reach any solution for this problem, please reply me...> > thanks for cooperating