Jsp: plugin: load tag

Example 1

<jsp:plugin type="applet"code="com.applet.MyApplet.class"codebase="/">
  <jsp:fallback>加载Java Applet小程序失败!</jsp:fallback>
</jsp:plugin>
http://localhost:8080/com/applet/MyApplet.class

Example 2

<jsp:plugin type="applet"code="com.applet.MyApplet.class"codebase=".">
  <jsp:fallback>加载Java Applet小程序失败!</jsp:fallback>
</jsp:plugin>
http://localhost:8080/JSP_Plugin/com/applet/MyApplet.class

Example 3

com/applet/MyApplet.class
<jsp:plugin type="applet"code="com.applet.MyApplet.class"codebase="./applet">
  <jsp:fallback>加载Java Applet小程序失败!</jsp:fallback>
</jsp:plugin>
http://localhost:8080/JSP_Plugin/applet/com/applet/MyApplet.class
<jsp:plugin type="applet"code="com.applet.MyApplet.class"codebase="./applet"
            iepluginurl="http://localhost:8080">
  <jsp:fallback>加载Java Applet小程序失败!</jsp:fallback>
</jsp:plugin>
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>