<jsp:plugin> |
The <jsp:plugin> action generates HTML <embed> or <object> elements (depending on the browser type) that result in the download of the Java Plug-in software (if required) and subsequent execution of the specified Java applet or JavaBeans component. The body of the action can contain a <jsp:params> element to specify applet parameters and a <jsp:fallback> element to specify the text that will be shown in browsers that do not support the <embed> or <object> HTML elements. For more information about the Java Plug-in, see http://java.sun.com/products/plugin/. Example:
    <jsp:plugin type="applet" code="Clock2.class"
      codebase="applet"
      jreversion="1.2" width="160" height="150" >
      <jsp:params>
        <jsp:param name="bgcolor" value="ccddff" />
      </jsp:params>
      <jsp:fallback>
        Plug-in tag OBJECT or EMBED not supported by
        browser.
      </jsp:fallback>
    </jsp:plugin>

align | String
Request-time value accepted: no
Optional. The alignment of the applet area, one of bottom, middle, or top.

archive | String
Request-time value accepted: no
Optional. A comma-separated list of URIs for archives containing classes and other resources that will be "preloaded." The classes are loaded using an instance of an AppletClassLoader with the given codebase. Relative URIs for archives are interpreted with respect to the applet's codebase.

code | String
Request-time value accepted: no
Mandatory. The fully qualified class name for the object.

codebase | String
Request-time value accepted: no
Mandatory. The relative URL for the directory that contains the class file. According to the HTML 4.0 specification, the directory must be a subdirectory of the directory containing the page.

height | String
Request-time value accepted: no
Optional. The height of the applet area, in pixels or percentage.

hspace | String
Request-time value accepted: no
Optional. The amount of whitespace to be inserted to the left and right of the applet area, in pixels.

iepluginurl | String
Request-time value accepted: no
Optional. The URL for the location of the Internet Explorer Java Plug-in. The default is implementation-dependent.

jreversion | String
Request-time value accepted: no
Optional. The specification version number of the JRE the component requires in order to operate. The default is 1.1.

name | String
Request-time value accepted: no
Optional. The applet name, used by other applets on the same page that need to communicate with it.

nspluginurl | String
Request-time value accepted: no
Optional. The URL for the location of the Netscape Java Plug-in. The default is implementation-dependent.

title | String
Request-time value accepted: no
Optional. The text to be rendered in some way by the browser for the applet (e.g., as a "tool tip").

type | String
Request-time value accepted: no
Mandatory. The type of object to embed, one of applet or bean.

vspace | String
Request-time value accepted: no
Optional. The amount of whitespace to be inserted above and below the applet area, in pixels.

width | String
Request-time value accepted: no
Optional. The width of the applet area, in pixels or percentage.