在网页中只能显示部分图像,一些代码没有执行
我的代码在JBuilder中运行没有问题
我的game.jar和HTML文件在同一文件夹下面
game.jar是JBuilder打包打出来的
下面是我的代码:
<html>
<head>
<title> Doggie </title>
</head>
<body bgcolor= "909090 " text= "blue ">
<B> Doggie MOBILE VERSION </B>
<br>
<table>
<tr>
<td>
<applet code= "com.bja.doggie.cGame.class " name= "DoggieForWeb " width= "285 " height= "653 " hspace= "0 " vspace= "0 " align= "center " archive= "game.jar ">
<param name = "OVER_STR1 " value= "Enjoyed playing Doggie Mobile? " >
<param name = "OVER_STR2 " value= "Download it NOW on your " >
<param name = "OVER_STR3 " value= "mobile phone! " >
<param name = "OVER_STR4 " value= " " > <!-- add more -->
</applet>
</td>
<td>
<B> CONTROLS(keyboard): </B>
<br>
<br>
enter: select/rotate clockwise
<br>
space: back/cancel
<br>
8: rotate counterclockwise
<br>
ctrl/5: rotate clockwise
<br>
4: move left
<br>
6: move right
<br>
hold 4/6: move quickly
<br>
2: fall quickly
<br>
<br>
<br>
<br>
<a href= "http://java.com/java/download/index.jsp ">
<img src= "http://java.sun.com/images/download_java.gif " alt= "get java " />
</a>
<br>
</td>
</tr>
</table>
</body>
</html>
------解决方案--------------------
好像applet要写个配置文件的,配置类和html之间的关系