是否可以读/从applet写入文件 [英] Is it possible to read/write a file from an applet

查看:168
本文介绍了是否可以读/从applet写入文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图读取并从applet写入文件,所以如果我从我的appletviewer运行小程序,可以让我读/写文件,但是当我试图从我的浏览器做,我得到一个安全例外。任何想法如何做到这一点?


解决方案

  

是否可以读/从applet写入文件


是的,但您需要注册的小程序,并从用户的认可。

一些有用的链接:

I've trying to read and write a file from an applet so if I run the applet from my appletviewer it is possible for me to read/write a file but when I try to do it from my browser I get a security exception. Any idea how to do this?

解决方案

Is it possible to read/write a file from an applet

Yes, but you need to sign the applet and get approval from the user.

Some useful links:

这篇关于是否可以读/从applet写入文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆