Received: from shaked.cc.openu.ac.il (shaked.cc.openu.ac.il [147.233.145.65]) by hub.org (8.9.1/8.9.1) with ESMTP id LAA04541 for ; Wed, 28 Oct 1998 11:48:53 -0500 (EST) (envelope-from herouth@oumail.openu.ac.il) Received: from [147.233.159.109] (herouth@mac-herouth.pc.openu.ac.il [147.233.159.109]) by shaked.cc.openu.ac.il (8.8.5/8.8.5) with ESMTP id SAA28242; Wed, 28 Oct 1998 18:48:35 +0200 (IST) X-Sender: herouth@shaked.cc.openu.ac.il Message-Id: In-Reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Wed, 28 Oct 1998 18:48:34 +0200 To: antibo@mclink.it From: Herouth Maoz Subject: Re: [INTERFACES] applet don't go Cc: pgsql-interfaces@postgresql.org At 18:30 +0200 on 28/10/98, Andrea Antibo wrote: > the url of the html page is: http://my.domain.com/page.html > > for jdbc I have on the code of applet : jdbc:postgresql:mydb Well then, you have to have THE SAME DOMAIN in both of them. The way the jdbc URL is written, it assumes it is running on the localhost. As soon as Netscape sees that it's not the same exact domain (it can't know that localhost is the same as my.domain.com), it refuses to cooperate. So change the URL like I showed you: jdbc:postgresql://my.domain.com/mydb In addition, make sure the url of the web page is indeed http: and not file:. Herouth -- Herouth Maoz, Internet developer. Open University of Israel - Telem project http://telem.openu.ac.il/~herutma