java for web的程序为什么执行后在浏览器上显示一块阴影而不显示内容? 是不是applet??不知道你的“java for web”具体是指什么意思 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 test.class=>内容输出"hello world!!"test.html 1 <HTML> 2 <HEAD> 3 <TITLE> An Applet </TITLE> 4 </HEAD> 5 6 <BODY> 7 <!-- <Applet code="test.class" width=200 height=40> 8 </applet>--> 9 <Applet code="test.class"></applet> 10 </BODY> 11 </HTML>输出结果为一块阴影,服务器为solaris web服务器apache 两种可能,一是applet有问题(包括jvm因版本而不支持);二是类文件位置不对。 同意楼上兄弟的看法。1。检查一下applet脚本2。加上CLASS文件的PATH试试。<!-- <Applet code="//PATH/test.class" width=200 height=40> 路径我也加上了还是出现那个问题,我用的是相对路径可以吧<Applet code="./test.class" width=200 height=40> 路径我也加上了还是出现那个问题,我用的是相对路径可以吧<Applet code="./test.class" width=200 height=40> java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory jsp怎么调用可执行文件或者函数 js小问题 如何用DispathAction来邦定多个form? 日期比较求教 关于用javascript制作地址簿效果的问题!! 一个jsp页面刷新问题 dreamweaver MX+jsp连接数据库的问题 求救,我是菜鸟!!! 路径问题 寻找物业管理软件 jsp新手请教
test.html
1 <HTML>
2 <HEAD>
3 <TITLE> An Applet </TITLE>
4 </HEAD>
5
6 <BODY>
7 <!-- <Applet code="test.class" width=200 height=40>
8 </applet>-->
9 <Applet code="test.class"></applet>
10 </BODY>
11 </HTML>
输出结果为一块阴影,服务器为solaris web服务器apache
1。检查一下applet脚本
2。加上CLASS文件的PATH试试
。<!-- <Applet code="//PATH/test.class" width=200 height=40>
<Applet code="./test.class" width=200 height=40>
<Applet code="./test.class" width=200 height=40>