Communicating to the world
Press the query button and the applet below will fetch the
system date from the server.
The code for the applets below is in the file
Urldemo.java.
The applet below attempts (but fails) to break applet security by trying
to make a network connection to a foreign web server. A security
exception will be raised and can be seen in the Java concsole of your
browser.
You can type your own url in this
version of the applet. But bear the security restrictions in mind.
Applets are allowed to make network connections only to the
machine that the applet came from. This is a severe restriction and
restricts what can be done with applets.
file: /Techref/language/java/nosugar/comms/index.htm,
1KB, , updated: 1996年10月10日 11:14, local time: 2025年10月5日 20:54,
©2025 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE.
Questions?<A HREF="http://massmind.org/Techref/language/java/nosugar/comms/index.htm"> Java no Sugar [comms]</A>
Did you find what you needed?
Welcome to massmind.org!
Welcome to massmind.org!
.