jsp:plugin Action 使您能插入所需的特定的浏览器的OBJECT或EMBED元素来指定浏览器运行一个JAVA Applet所需的插件。
语法:
<jsp:plugin type="bean|applet" code="classFileName" codebase="classFileDirectoryName"[ name="instanceName" ][ archive="URIToArchive, ..." ][ align="bottom|top|middle|left|right" ][ height="displayPixels" ][ width="displayPixels" ][ hspace="leftRightPixels" ][ vspace="topBottomPixels" ][ jreversion="JREVersionNumber | 1.1" ][ nspluginurl="URLToPlugin" ][ iepluginurl="URLToPlugin" ] >[ <jsp:params>[ <jsp:param name="parameterName"value="{parameterValue | <%= expression %>}" /> ]+</jsp:params> ][ <jsp:fallback> text message for user </jsp:fallback> ]</jsp:plugin>示例:<jsp:plugin type=applet code="Molecule.class" codebase="/html"><jsp:params><jsp:param name="molecule" value="molecules/benzene.mol" /></jsp:params><jsp:fallback><p>Unable to load applet</p></jsp:fallback></jsp:plugin>
属性详解: