• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SecurityException w/OBJECT tag?

 
Dennis Spathis
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've embedded an applet in an HTML page using the OBJECT tag
with the following syntax:
<OBJECT classid="java:some.class" id="myClass"></OBJECT>
Note that with this syntax, the Java Plug-in is NOT used. This
is one of my requirements. I need to rely on the browser's JVM.
Here's my problem: When I embed my applet in this way, a SecurityException is thrown when my applet tries to load a file from its originating server. My applet works fine when I embed
it with the APPLET tag, but not with the OBJECT tag. What can
I do??
Dennis
 
Manfred Leonhardt
Ranch Hand
Posts: 1492
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Dennis,
IMO, the Object tag is only needed when you want to use the Java Plug-in. Since that is not what you want then just use the Applet tag. The Object tag doesn't provide any advantage over the Applet tag if the Plug-in is not used.
Regards,
Manfred.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic