一个Applet程序生成几个class文件在嵌入到html文件中时应该怎么写
1个回答
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>
<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>
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询