Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4689031

Documentation for HTML for applets is inconsistent and vague.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.1
    • 1.4.0
    • docs
    • rc
    • generic
    • generic


      The URLs that describe the HTML for applets that are the
      most recent are
        http://java.sun.com/j2se/1.4/docs/guide/plugin/developer_guide/using_tags.html
      and
        http://java.sun.com/products/plugin/versions.html

      IE Object Tag: Dynamic Version Support
      ======================================
      <object codetype="application/java"
        width="400" height="50" align="baseline"
        classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
        codebase="http://java.sun.com/products/plugin/autodl/jinstall-1_4_0-win32.cab">
      Mozilla's object tag support is not the same as IE's.
      <param name="code" value="pak/HelloSwingApplet9.class">
      <param name="codebase" value="example_swing">
      <param name="archive" value="helpers3.jar,applets3.jar">
      <param name="type" value="application/x-java-applet;jpi-version=1.4">
      </object>

      ==> vague
      http://java.sun.com/j2se/1.4/docs/guide/plugin/developer_guide/using_tags.html
      says that type should be either
        application/x-java-applet
      or
        application/x-java-applet;jpi-version=1.4
      If the choice for "type" makes a difference, then that should be
      documented. If the "type" is actually ignored, then the document
      should say so.

      The documentation at
        http://java.sun.com/products/plugin/versions.html
      says that in theory Netscape 6 should support this tag format. Netscape 6.2.2
      and JDK 1.4 do support this tag format.

      IE Object Tag: Static Version Support
      =====================================
      <object codetype="application/java"
        width="400" height="50" align="baseline"
        classid="clsid:CAFEEFAC-0014-0000-0000-ABCDEFFEDCBA"
        codebase="http://java.sun.com/products/plugin/autodl/jinstall-1_4_0-win32.cab">
      Mozilla's object tag support is not the same as IE's.
      <param name="code" value="pak/HelloSwingApplet9.class">
      <param name="codebase" value="example_swing">
      <param name="archive" value="helpers3.jar,applets3.jar">
      <param name="type" value="application/x-java-applet;jpi-version=1.4">
      </object>

      ==> vague
      http://java.sun.com/j2se/1.4/docs/guide/plugin/developer_guide/using_tags.html
      says that type should be one of
        application/x-java-applet
      or
        application/x-java-applet;jpi-version=1.4
      If the choice for "type" makes a difference, then that should be
      documented. If the "type" is actually ignored, then the document
      should say so.


      Netscape Embed Tag: Dynamic Version Support
      ===========================================
      <embed type="application/x-java-applet;version=1.4"
        width="400" height="50" align="baseline"
        pluginspage="http://java.sun.com/products/plugin/autodl/jinstall-1_4_0-win32.cab"
        code="pak/HelloSwingApplet9.class"
        codebase="example_swing"
        archive="helpers3.jar,applets3.jar">
      <noembed>
      No java 1.4.
      </noembed>
      </embed>

      ==> vague and contradictory
      http://java.sun.com/j2se/1.4/docs/guide/plugin/developer_guide/using_tags.html
      says that type should be one of
        application/x-java-applet
      or
        application/x-java-applet;jpi-version=1.4
      http://java.sun.com/products/plugin/versions.html says that
      the type attribute should take the value
        application/x-java-applet;version=1.4
      for dynamic version support. Which is it?

      Netscape Embed Tag: Static Version Support
      ==========================================
      <embed type="application/x-java-applet;jpi-version=1.4"
        width="400" height="50" align="baseline"
        pluginspage="http://java.sun.com/products/plugin/autodl/jinstall-1_4_0-win32.cab"
        code="pak/HelloSwingApplet9.class"
        codebase="example_swing"
        archive="helpers3.jar,applets3.jar">
      <noembed>
      No java 1.4.
      </noembed>
      </embed>

      ==> vague
      http://java.sun.com/j2se/1.4/docs/guide/plugin/developer_guide/using_tags.html
        says that type should be one of application/x-java-applet
        or application/x-java-applet;jpi-version=1.4
      http://java.sun.com/products/plugin/versions.html says that
      the type attribute should take the value
        application/x-java-applet;jpi-version=1.4
      for dynamic version support. Which is it?


      ###@###.### 2002-05-21

      Bug 4689072 says that Netscape support for the IE object tags is going to be
      withdrawn. The web page at http://java.sun.com/products/plugin/versions.html
      should be changed to remove references to this support.

      ###@###.### 2002-05-23

      Just to add one more item...there is another version of the OBJECT tag that
      Netscape 6 and Mozilla browsers support that does work. The old APPLET tag
         <APPLET
            width="400" height="50" align="baseline"
            code="pak1/pak2/MyApplet.class" archive="helpers.jar,applets.jar"
            codebase="codebasedir">
         Applets not supported.
         </APPLET>
      is equivalent, in this scheme, to
         <OBJECT codetype="application/java"
            classid="java:pak1/pak2/MyApplet.class"
            width="400" height="50" align="baseline"
            code="MyApplet.class" archive="helpers.jar,applets.jar"
            codebase="codebasedir">
          Object tag for applets with 'classid="java:..."' not supported.
          </OBJECT>

      ###@###.### 2002-05-23

            lmartinsunw Louis Martin (Inactive)
            ajacobssunw Allan Jacobs (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: