The Artima Developer Community
Sponsored Link

Legacy Jini Forum
Adding UIs to Jini Services

Advertisement

Advertisement

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:

Applet Connection to a Database

Posted by Alaa Hindy on August 17, 2000 at 10:53 AM

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:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us