At 17:32 +0200 on 26/10/98, Andrea Antibo wrote:
> I wrote un applet that link postgres, it works fine only if I run it by
> appletviewer. By netscape it don't works.
> What I can do?
Applets allow you to connect only to the server on which they live
themselves. That is, if the Applet's source URL is on machine aaa.bbb.com,
the datbase to which you connect must also be on aaa.bbb.com
Appletviewer is more lenient about this, to allow you to test things from
your own machine etc.
Run Postgres on the same machine as the applet.
Write a server which does the connection on behalf of your applet and
returns it the results, and run it on the applet's machine.
Herouth Maoz, Internet developer.
Open University of Israel - Telem project
In response to
pgsql-interfaces by date
|Next:||From: Tom Lane||Date: 1998-10-26 16:16:11|
|Subject: Re: [INTERFACES] large object error |
|Previous:||From: Andrea Antibo||Date: 1998-10-26 15:32:13|
|Subject: applet don't go|