Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Loading Policy File from Applet

Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have an applet file that requires the use of a policy file and
want to use the applet in a browser. Is there a way to have the
policy file loaded from the applet itself ?
here is MYPolicy file

grant codeBase "file:c:/ServletDev/Graph/*" {
permission "<<ALL FILES>>", "read, write, delete, execute";
MyApplet has file read and write access when I run applet with appletviewer as,
C:\ServletDev\Graph>appletviewer Bazier
But when I try to open it IE it doesn't create a file. Is there way to load policy file in Applet itself?
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You will need to sign your applet. Take a look at for a good introduction to signing applets.
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic