一个Applet程序生成几个class文件在嵌入到html文件中时应该怎么写

 我来答
匿名用户
2009-12-25
展开全部
一般是将多个class文件打包成jar包引用
<object
classid = "clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
codebase = "applets/jinstall-1_5_0_06-windows-i586.cab#Version=1,5,0,6"
WIDTH = 1 HEIGHT = 1 NAME = "readcard" >
<PARAM NAME = CODE VALUE = "ReadCardMain.class" >
<PARAM NAME = CODEBASE VALUE = "applets" >
<PARAM NAME = ARCHIVE VALUE = "myreadcard.jar,comm.jar" >
<PARAM NAME = NAME VALUE = "readcard" >
<param name = "type" value = "application/x-java-applet;version=1.5">
<param name = "scriptable" value = "false">

<COMMENT>
<EMBED
name = "readcard"
type = "application/x-java-applet;version=1.5"
CODE = "ReadCardMain.class"
CODEBASE = "applets"
ARCHIVE = "myreadcard.jar,comm.jar"
scriptable = "false"
<NOEMBED>
</NOEMBED>
</EMBED>
</COMMENT>
</object>
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式