Most likely it is hanging because you are trying to access the file system through an applet, which isn't usually permitted.
This article has some information about signing you applet so that it can access the file system:
http://forum.java.sun.com/thread.jspa?threadID=440016&messageID=1981556
Well the reason that only one is writing out to the screen is that java passes that Socket object by reference instead of by value, so they are actually all sharing the same socket. When the first guy reads the input stream, the input stream says "I'm empty, I should wait for more IO" and the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.