From applet to object

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • José Carlos Santos

    From applet to object

    Hi all,

    I have web page that contains a Java applet. The code to introduce
    this applet starts with

    <applet code="GSP.class " archive="jsp4.j ar" codebase="JSP" width="521"
    height="355">

    If I replace it with

    <object codetype="appli cation/java" codebase="JSP" classid="java:G SP.class"
    archive="jsp4.j ar" width="521" height="355">

    (and, of course, if I </applet> is replaced by </object>), then IE6 shows
    the alternative text instead of the applet. I do not have this problem
    with Mozilla.

    Any suggestions?

    Jose Carlos Santos
  • Shayne Steele

    #2
    Re: From applet to object

    I had the same problem, my solution is at:



    Basically you need to embed an object within another object if
    you want a Java applet to work with the 'object' tag and have multiple
    browsers able to display it.
    --
    Shayne Steele Graduate Student in Computer Science at FSU
    Home Page: http://ww2.cs.fsu.edu/~steele/
    They that can give up essential liberty to obtain a little temporary
    safety deserve neither liberty nor safety. - Benjamin Franklin

    Comment

    Working...