1, Did you put the class file the same directory as the HTML file, and ".;" is in your classpath?2, which version of IE are you using? For ie6 and above, you need plug in3, Install JRE and try
解决方案 »
- 一个错误求帮助
- 刚学struts2,出现错误,搜索后依然不会解决,麻烦大家帮忙看下
- 用dbunit连接Mysql查询时间总是为NULL,大家帮忙看看,谢谢~~
- jdbc连接sqlserver在tomcat中运行出现这种问题?帮忙看看
- Spring jotm配置,谁给个详细的看看
- 如何在程序正常运行时获取堆栈信息?
- hibernate 映射问题(查询HQL语句)。
- displayTag 如何实现从action返回后,还停留在当前页?
- 关于两个循环的问题?
- 大神们为什么编译器可以编译ecilpse就不行了
- 关于j2ee的学习,大家畅所欲言,来者有分。
- j2ee vs .net?我发现j2ee的唯一好处就是跨平台
You use some classes that is not in the Jdk, "com/borland/dx/dataset/DataSet"So, find that class file. together put your applet class file into a jar file""jar -cf applets.jar com myapplet.class", ........................................
make sure you maintain the same folder structure as com/borland/dx....
.......................................
now in your Html code. codebase = "."
code = "myapplet.class"
archive = "applets.jar", hope that will solve your problem
<applet code="包名.类文件名"
archive="jar文件"
width="400"
height="300"
name=""
id=""
mayscript
VIEWASTEXT>
</applet>
可以的错误有:
1\code属性是包名+类文件名,如:test.TampState
2\archive属性应该是以.jar结尾的文件,也就是你的应用程序压缩成为jar
3\注意你的Applet与你的程序文件如Bean或者Servlet或者JSP有交互,一这别忘了加上mayscript 与viewastext;
4\问题多半出在你的Applet程序与其他交互时出现错误.
呵呵
散分啦
痛苦啊