Applet的测试

如果只是想简单的测试一下,那么根本不用上网。直接启动Web浏览器,打开含applet标记的HTML文件就可以了。浏览器装载HTML的时候会发现applet标记,并且按照code的值去找相应的.class文件。当然,是在CLASSPATH里面找。如果CLASSPATH里没有,它就在浏览器的状态栏里给一个错误信息,告诉你找不到.class文件。

You can perform a simple test without any network connection by starting up your Web browser and opening the HTML file containing the applet tag. As the HTML file is loaded, the browser will discover the applet tag and go hunt for the .class file specified by the code value. Of course, it looks at the CLASSPATH to find out where to hunt, and if your .class file isn’t in the CLASSPATH, then it will give an error message on the status line of the browser to the effect that it couldn’t find that .class file.

If you just want to test simply, you need not connect to the internet.  Start your web browser and open a HTML file with applet tags. When browser louads the HTML file it will detect the applet tag and find the .cass file according to the value of code element. Certainly it finds in CLASSPATH. If the .cass file is not in CLASSPATH , it will generate an error message in status bar of the browser telling you  that it cann't find the .cass file

NOTES:
start up

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值