• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

SecurityException w/OBJECT tag?

 
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
 
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.
 
This is my favorite show. And this is my favorite tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic