开发者

Update The database using applets

开发者 https://www.devze.com 2023-01-20 13:19 出处:网络
I have written a code in JAVA to search files from the system.User specifies the filename and extension on text input on applet window and on button click code establishes a connection to oracle datab

I have written a code in JAVA to search files from the system.User specifies the filename and extension on text input on applet window and on button click code establishes a connection to oracle database and searches the direct开发者_StackOverflow社区ory name from the database table.The code for searching works fine without applet and on using applet it detects an error which is

"access denied(java.util.PropertyPermissionfile.encoding read)"

How do i grant this applet the permission to read from database?


An applet is only allowed to connect to server from where it was downloaded. Otherwise you need to sign the applet. Or use a proxy to connect to the database from the machine the applet came from.

  • See also How can I connect from an applet to a database on the server?
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号