[java] Image displaying

Started by
11 comments, last by Smoo 24 years, 2 months ago
Well, it was posted on Javalobby.com and found by a japanese user group. I guess you can access any files in the classpath with an applet. But MS''s VM automagically includes c:\ in the classpath for IE4 and your desktop and registry in IE5. That''s at least what i gather from the original post. There''s an applet in the post that reads files on your desktop, just put a read me there an click read.
Advertisement
No, that is NOT the way it is supposed to be. If both applets have the MAYSCRIPT attribute, or none of them has it, then YES, they can run in the same VM... If not, one is providing a scripting loophole for the other... In any case it is a minor issue since it is the author of the page who decides which applets get scripting rights... (My point is, that because of this "bug", the mayscript tag is useless)

/Niels
<b>/NJ</b>
BTW: I use applet communication extensively on www.hexadome.net - this, in fact, is how I discovered the bug. I forgot the MAYSCRIPT tag on one of the applets and all of a sudden it wouldn''t run in Netscape - I figured it was a bug in Netscape (it usually is ), but as it turned out, IE was the problem (And Netscape didn''t throw a security exception as it should have - It sure had me puzzled for a while ...
<b>/NJ</b>

This topic is closed to new replies.

Advertisement