0

所以我做了这个简单的 JApplet 并试图打开一个套接字并写入它,但我得到一个异常说我没有权限???

然后我看了这个:http: //java.sun.com/developer/onlineTraining/Programming/JDCBook/signed.html

我已经在罐子上签名了,就是这样。以后不知道怎么办???

在html文件中,什么

<param name=file value="/etc/inet/hosts">

做?

有没有更简单的方法来签署 japplets?

让我简单地问一下。我如何让我的小程序在 google.com 的端口 80 上打开一个套接字?

4

1 回答 1

1
<param name=file value="/etc/inet/hosts">

这意味着/etc/inet/hosts当小程序查询时,名称“文件”将具有该值。例如

// in the init() method ..
String fileValue = getParameter("file");
// fileValue now has the value '/etc/inet/hosts'
于 2012-05-16T00:53:04.187 回答