Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization 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
Saloon Keeper
Pie
Posts: 18020
47
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic