aspose file tools*
The moose likes Applets and the fly likes I need help in Applet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "I need help in Applet" Watch "I need help in Applet" New topic
Author

I need help in Applet

Jasmine kaur
Ranch Hand

Joined: Nov 25, 2003
Posts: 157
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


jasmine kaur
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: I need help in Applet