Re: applet talking to server (with ajax?)



chuck wrote:

> anyway, what is the best thing for me to do to have the applet
> communicate with the php function on the server?

Using
new URL("http://myserver/path/phppage.php";).openConnection
and use the returned URLConnection for reading the PHP-
page's output.


Regards, Lothar
--
Lothar Kimmeringer E-Mail: spamfang@xxxxxxxxxxxxxx
PGP-encrypted mails preferred (Key-ID: 0x8BC3CD81)

Always remember: The answer is forty-two, there can only be wrong
questions!
.



Relevant Pages

  • Re: Help! Applet access remote database
    ... > because an applet was signed, it could communicate with a database on the ... > database on the internet, even if on the same server, without going through ...
    (comp.lang.java.programmer)
  • Re: Unable to establish a socket connection
    ... > download a digital signature when accessing my bank account on-line. ... If the applet is attempting to communicate with the *same* server ... I am unable to establish a connection with that Server. ...
    (comp.lang.java.programmer)
  • Re: applet talking to server (with ajax?)
    ... chuck wrote: ... I have an applet that i want to have grab text from the server. ... have a php function that generates the text, ...
    (comp.lang.java.help)
  • Re: communication between applet in user machine with application in server
    ... If the applet is downloaded from the server you're describing, ... sockets to communicate with it. ... Read on Java Sockets to learn how to do it. ...
    (comp.lang.java.help)
  • Re: Unable to establish a socket connection
    ... > attempting to communicate with the same server from which it ... > applet called Applet1.class, and an file html called TestApplet.html ... the HTML off the local hard disk, ...
    (comp.lang.java.programmer)