hi all
i have been trying to connect to a access database through the
jdbc. my code works perfectly fine when i run it as a stand alone program. but the same code when run as a
applet gives the following exception while establishing the connection:
java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.sun.jdbc.odbc)
the error probably is due to the security policy of applets. this is the first time i am working with jdbc in applets so i cant exactly pin point the source of error. both the applet and the database or on the local machine. how do i granct access rights to the applet to connect to the database?
thanx in advance.
AJ