Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-4749

HTML object tag should be used instead of applet

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Minor Minor
    • No Release
    • JBossAS-4.2.1.GA
    • Web Console
    • None
    • Low
    • Workaround Exists
    • Hide

      The applet tag could be changed by the following (it is not very clean, it is a quick hack) in applet.jsp of web-console.war :
      <OBJECT
      classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
      width="100%"
      height="100%">
      <param name = ARCHIVE value = "applet.jar" >
      <PARAM name="code" value="org.jboss.console.navtree.AppletBrowser">
      <param name="RefreshTime" value="">
      <param name="SessionId" value="<%=request.getSession().getId()%>">
      <param name="PMJMXName" value="jboss.admin:service=PluginManager">
      <embed type="application/x-java-applet;version=1.5.0"
      code = "org.jboss.console.navtree.AppletBrowser"
      archive = "applet.jar"
      width="100%"
      height="100%"
      RefreshTime=""
      SessionId="<%=request.getSession().getId()%>"
      PMJMXName="jboss.admin:service=PluginManager"
      >
      <noembed> </noembed>
      </embed>
      </OBJECT>

      Show
      The applet tag could be changed by the following (it is not very clean, it is a quick hack) in applet.jsp of web-console.war : <OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" width="100%" height="100%"> <param name = ARCHIVE value = "applet.jar" > <PARAM name="code" value="org.jboss.console.navtree.AppletBrowser"> <param name="RefreshTime" value=""> <param name="SessionId" value="<%=request.getSession().getId()%>"> <param name="PMJMXName" value="jboss.admin:service=PluginManager"> <embed type="application/x-java-applet;version=1.5.0" code = "org.jboss.console.navtree.AppletBrowser" archive = "applet.jar" width="100%" height="100%" RefreshTime="" SessionId="<%=request.getSession().getId()%>" PMJMXName="jboss.admin:service=PluginManager" > <noembed> </noembed> </embed> </OBJECT>

      The HTML applet tag is deprecated. It can lead to strange behavior. For exemple for my Windows PC, it try to use the 1.3.1 JVM instead of the 1.5.0 which is the default for applets.

      Some doc could be found here :
      http://java.sun.com/j2se/1.5.0/docs/guide/plugin/developer_guide/using_tags.html

              jprindiv_jira Jon Prindiville (Inactive)
              savril_jira Sylvain Avril (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: