The Artima Developer Community
Sponsored Link

Java Answers Forum
JDBC in applets

1 reply on 1 page. Most recent reply: May 26, 2003 2:32 AM by vinod

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
NSriram

Posts: 4
Nickname: nan
Registered: May, 2003

JDBC in applets Posted: May 25, 2003 11:01 AM
Reply to this message Reply
Advertisement
Hi,
Can I use JDBC in applets? When I try to use, it gives me ... java.security.AccessControlException access denied ...while loading "sun.jdbc.odbc.JdbcOdbcDriver" class.
Any suggestion?
Thanks


vinod

Posts: 22
Nickname: vinod
Registered: Feb, 2002

Re: JDBC in applets Posted: May 26, 2003 2:32 AM
Reply to this message Reply
Hi,

When you are dealing with appletes we nned to keep the security considerations in mind. Applet is not supposed to access any system resources. So when u try to access JDBC driver, we nees to set appropriate permission in the policy file.

With regards,
Vinod.

Flat View: This topic has 1 reply on 1 page
Topic: stacker, can you find the faults? Previous Topic   Next Topic Topic: Getting FileNotFoundException on WAS 5.0

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use