Ben Ford wrote:

This is straight from the http://java.sun.com/applets/ web page:
" When you use a Java technology-enabled browser to view a page that contains an applet, the applet's code is transferred to your system and executed by the browser's Java Virtual Machine (JVM). "


I have had one of my own applets featured on this page so i can assure you with sufficient authority that a java applet can connect to the host that delivered it. This just says the applet runs on the client - something I never disputed.

Anyway like I said in a previous message this is way off topic for this list so let's take it else where.

Java Applets cannot connect to the same host they were loaded from. They run on the client machine as a local program. I know this because I attempted to run an applet and have it connect to a mysql server the resided on the web server.

You are trying to connect to the localhost which is your client machine (again i mentioned this in previus mail). Localhost is not he originating server in your case so that connection is not allowed.


The applet could not connect using localhost as the domain name of the server. ( Which due to security settings was the only URL I could connect to.)



If you want to know how to by pass the java applet security restrictions please read up on http://www.raditha.com/java/sandbox/

best regards
raditha


-- Raditha Dissanayake. --------------------------------------------- http://www.raditha.com/megaupload/upload.php Sneak past the PHP file upload limits.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to