This page contains an archived post to the Jini Forum made prior to February 25, 2002.
If you wish to participate in discussions, please visit the new
Artima Forums.
Message:
Policy
Posted by kei on December 23, 2001 at 1:00 PM
Put this line in your policy.java file and it should be fine. permission java.security.AllPermission; > 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
Replies:
|