PHP and Java Applet

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
mathuoa
Forum Newbie
Posts: 1
Joined: Tue Mar 25, 2003 8:43 am

PHP and Java Applet

Post 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
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post 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
Post Reply