Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

applet permission

 
Erwin Bredford
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have this applet that i would like to save a document in excel format on the local machine
now the problem is how do u do this since an applet cannot wite and have file access
i know u grant it permissions but how?
do anyone have sample code tanks?/
 
sandip patel
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
First execute policytool.exe file which is recide in bin directory. and then open java.policy file which is in jre/lib/security and then set FilePermission.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic