This week's book giveaway is in the OCAJP forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line!
See this thread for details.
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 Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Disabling Applet Alert" Watch "Disabling Applet Alert" New topic

Disabling Applet Alert

Seth Anshul

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?

Anshul Seth
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42952
You're running into a security feature of the applet sandbox. Read HowCanAnAppletReadFilesOnTheLocalFileSystem to learn about the two principal ways around this.
I agree. Here's the link:
subject: Disabling Applet Alert