开发者

Accessing a file in a Java applet

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜