Create a simple connection to internet with java applet using URL class

fdhgnggg

New Member
I'd like to create a simple URL connection that would, for example, read content from my predefined host, in my case - localhost/applet, can you please show me how to do that? I've been googling, but so far without any noticable success.The content of the file is \[code\]some text SOME TEXT\[/code\], that should then be printed in the applet.
 
Back
Top