RE:php and java applets
| From: | Ben Ford | Date: | Tue, 25 May 2004 16:24:58 +0000 |
| Subject: | RE:php and java applets | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-186914@lists.php.net to get a copy of this message | ||
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). "
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.
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.)