• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

I need help in Applet

 
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,
well I have made an applet which reads a text file known as ahish and I have given rights in java policy file like this
grant codeBase "file:/c:/jasbir/" {
permission java.io.FilePermission "c:\\jasbir\\ashish", "read";
};
well can you tell me whether its right or wrong as Iam running with java plugin (j2re1.4.1_02) and I have given this permission in the java policy file of this plugin but Iam getting acessdenied .
Do I have to make a signed applet .Please help me as Iam :roll: .
I want to know where Iam wrong in giving permission or not.
Thanks in advance.
Jasmine kaur
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic