Page 1 of 1

PHP and Java Applet

Posted: Tue Mar 25, 2003 8:43 am
by mathuoa
Hi there,

I am new to php.

How can i have interaction between php and a Java Applet? (without sockets if possible).


Thanx in advance

Posted: Tue Mar 25, 2003 10:32 am
by volka
php runs server-side, a java applet client-side.
But one can query an AppletContext-object that exposes a function showDocument(URL url, String target) to request a new document in the browser (that php at the server can handle). But this might be prohibited by the browser-settings.
see also (e.g.): http://java.sun.com/j2se/1.4.1/docs/api ... ntext.html