How can an applet Read/Write files on the local file-system?

前端 未结 1 1447
谎友^
谎友^ 2020-12-22 14:20

In Java JApplet, file read and write operations did not work in webrowser. When I click \"Ok\" button, it should be write some file in our local path. But it shows below err

相关标签:
1条回答
  • 2020-12-22 15:02

    By default whenever a applet tries to access local resources, its denied as a part of security layer. You have following options if you need to access using applet:

    1. Sign your applet using any signing mechanism and then publish,
    2. ( though this one is not a useful and recommended way of doing this.)Change the security settings on the computer where the applet is executing.
    0 讨论(0)
提交回复
热议问题