Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
I'm trying to code a very simple Webpage Hit Counter in Java. There's a single data file, containing the number of hits, which is read from and written to by the applet. I compiled and ran the applet fine from Netscape while it was sitting on my hard drive at home (I'm still running Windows 95, go fig. =). However, when I took it to school today and tried to run it on IE from one of the computers on the school network, I got an MS Security Exception. Looking through the help files, I found some code for asserting ms security permissions or something like that, added it in, recompiled and still got the error. Now, I was under the impression that applets were allowed to communicate with files that lived in the same directory as the applets (as this hit file does). Am I wrong? Is there something else I'm doing wrong?
Replies: |
Sponsored Links
|