开发者

Accessing a file in a Java applet

开发者 https://www.devze.com 2023-04-05 17:21 出处:网络
I\'m leaning Java language. And I am wondering how can I possible to access(read/write) a text file in a java applet that reside in a server?

I'm leaning Java language. And I am wondering how can I possible to access(read/write) a text file in a java applet that reside in a server?

Pl开发者_运维技巧ease advise.

Many thanks

EDIT: Only read access but is there any method or way to implement that my app can save a data to a server, like database?


No you can't write/update it but you can read its content using java.net.URL and java.net.URLConnection classes.

0

精彩评论

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