Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我将本地应用程序转换为 Java 小程序以实现数据安全性1但我不知道如何将信息输出到文件。我正在通过 URL 对象输入文件,但不知道如何将数据输出到服务器上的文件。
是否有捷径可寻?
小程序在客户端上运行,而不是在服务器上,所以小程序不能做到这一点。它可以做的是将数据发送到服务器上的某种服务,然后该服务可以转身并将数据写入文件。