File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Applets and the fly likes Applets not working in a WebBrowser Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Applets not working in a WebBrowser" Watch "Applets not working in a WebBrowser" New topic

Applets not working in a WebBrowser

John Pa

Joined: Oct 14, 2003
Posts: 11
HI Guys,
I have an applet that reads a text file(don't ask me why :-)) It works fine in an appletviewer but throws a security exception when I try to pick up the applet in a browser.I have set the classpath to include the directory from where the classes and the text files are located.Doesn't work.Please help
Murali Kurukunda
Ranch Hand

Joined: Oct 20, 2003
Posts: 36
You need to sign the applet in order for it to access the local file system.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Applets not working in a WebBrowser