wood burning stoves 2.0*
The moose likes Applets and the fly likes Disabling Applet Alert Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Disabling Applet Alert" Watch "Disabling Applet Alert" New topic
Author

Disabling Applet Alert

Seth Anshul
Greenhorn

Joined: May 02, 2006
Posts: 16
I have written code in java, to generate a report in an excel file.
But when I am running this program, it gives me applet alerts every time, which ask me permission to read/write.
I wish to either disable this alert, or make it allow to access every time.
Is there a way to disable this applet alert?

Thanks,
Anshul Seth
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42372
    
  64
You're running into a security feature of the applet sandbox. Read HowCanAnAppletReadFilesOnTheLocalFileSystem to learn about the two principal ways around this.


Ping & DNS - my free Android networking tools app
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Disabling Applet Alert