Java Applet可以访问本地文件系统吗

问题描述:

我正在创建一个Java applet,该Java applet从本地文件系统上的JAR文件中获取信息,并创建一个显示在applet中的jpanel.

I am creating a java applet, that gets information out of a JAR file on my local file system, and creates a jpanel to display in the applet.

我正在将小程序正确地加载到Eclipse中的appletViewer上,但是每当我启动创建的Html文件时,它都不会加载.

I am getting the applet to load correctly on the appletViewer in Eclipse, but it will not load whenever i launch the Html file i created.

html文件指向类文件,也指向外部jar.

The html file is points to the class files, also to the external jars.

有什么建议吗?

谢谢

是的,如果小程序是用jarsigner工具签名的.

Yes, if the applet is signed with the jarsigner tool.