Building Java 1.1 code - security exception
I'm writing an applet that should run on Java 1.1 as well, so I compile with target 1.1, which seems to work. The problem is, I need to access a file on a different server (just read it) but I get a security exception.
I was under the impression that 1.1 code did not have such an exception, or am I wrong here? Is using "target" not enough to produce 1.1 code - do I have to use an old compiler as well?
Thanks for you help to my little problem! :)
[469 byte] By [
grbrga] at [2007-10-1 8:15:14]

Yes, I'm sure it has. However, there are simple applets out there that can read from all urls, and my applet is compiled using "-target 1.1" - shouldn't this be enough?
> Yes, I'm sure it has. However, there are simple
> applets out there that can read from all urls, and my
they can't, unless they're signed applets.
> applet is compiled using "-target 1.1" - shouldn't
> this be enough?
no. All that does is tell the compiler to create a classfile that a 1.1 JVM can understand or go up in smoke and fire if it can't create such a classfile.
> they can't, unless they're signed applets.
Are you sure? I was under the impression that applets compiled with 1.1 have no such security restrictions... I have access to an applet that can read from any url, and it's not signed (it's only a class file), so I guess there must be a way...?