开发者

How can i include an applet in JSF

开发者 https://www.devze.com 2023-01-24 19:06 出处:网络
<jsp plugin> no works for me? anyway to include ap开发者_运维技巧plet in JSF ?Just using object tag:

<jsp plugin> no works for me? anyway to include ap开发者_运维技巧plet in JSF ?


Just using object tag:

<object width="400" height="300" classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" archive="applet.jar"
           codebase="http://java.sun.com/products/plugin/autodl/jinstall-1_4-windows-i586.cab#Version=1,4,0,0">
       <param name="code" value="com.mypackage.Main"/>           

       <object width="700" height="500" type="application/x-java-applet" archive="applet.jar">
           <param name="code" value="com.mypackage.Main"/>               
       </object>

   </object>


There is nothing like this in JSF. I think you will have to add the required HTML tags to the page yourself.


Simple Html tag will do.. if you going to use applet in many place... you can write a taglip and minimize values to add in your jsp file.

Tablig which gets some values and renders the valuse as tag.

0

精彩评论

暂无评论...
验证码 换一张
取 消