How can I make a java applet connect with a server?

A java applet can only connect to the server from which it was downloaded. If you are not loading the applet from localIP then you will not be able to connect to it you may be able to get around this restriction by signing the applet.

A java applet can only connect to the server from which it was downloaded. If you are not loading the applet from localIP, then you will not be able to connect to it. You may be able to get around this restriction by signing the applet.

Given that you are not using the Http Protocol, One assumes that the applet is loaded from another port other than 5555. If this is the case, the applet needs to be signed in order to do this functionality.

– candydave May 3 at 3:25 add a servlet that handles some context that the applet will communicate through. The Applet will use HttpURLConnection (and the HttpProtocol) to do Http Get or Http Posts from the applet. – MeBigFatGuy May 3 at 3:27 if your hosting company doesn't support java server based coding, and you are just loading applets from it, and then connecting to a different server, then you can still do it, the applet just needs to be signed, which you can do yourself.

– MeBigFatGuy May 3 at 3:30 Thank you for the quick and complete response, even though it's bad news for me. – candydave May 3 at 5:39.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions