<jsp:plugin>

The <jsp:plugin> action enables a JSP author to generate HTML that contains the appropriate client-browser–dependent constructs, for example, OBJECT or EMBED, that will result in the download of the Java plug-in and subsequent execution of the specified applet or JavaBeans component.

The <jsp:plugin> tag is replaced by either an <object> or <embed> tag, as appropriate for the requesting user agent, and written to the output stream of the response object. The attributes of the <jsp:plugin> action provide configuration data for the presentation of the element. The syntax of the <jsp:plugin> action is as follows:

<jsp:plugin type="pluginType"
    code="classFile"
    codebase="relativeURLpath">

    <jsp:params>

    </jsp:params>
</jsp:plugin>

Get Pure Java Server Pages™ now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.