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:

hi

Posted by mayur on December 12, 2000 at 7:58 PM

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:

Sponsored Links



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