Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

problem

 
aamir ashraf
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am a student of java.and this is my first applet programme to communicate with database.there is some problem.
my programme is compiled and successfully run in jbuilder(enter the data and retrieve the data from database).
running this programme in appletviewer data is not entering nor retrived and there is exception thrown by this programme (java.security.AccessControlException: access denied (java.lang.RuntimePermission
accessClassInPackage.sun.jdbc.odbc)
).
running this programme in internet explorer the programme is not enter or retrieve the data from database and also didn't change window
please answer my question.
i am very thankfull to you.
 
Tim Holloway
Bartender
Posts: 18465
61
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Unsigned applets running in browsers cannot use jdbc due to Java sandbox restrictions.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!