Skip site navigation (1) Skip section navigation (2)

Re: [INTERFACES] applet don't go

From: Herouth Maoz <herouth(at)oumail(dot)openu(dot)ac(dot)il>
To: antibo(at)mclink(dot)it
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: [INTERFACES] applet don't go
Date: 1998-10-28 16:48:34
Message-ID: l03110706b25cf91c9a29@[147.233.159.109] (view raw or whole thread)
Thread:
Lists: pgsql-interfaces
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



In response to

Responses

pgsql-interfaces by date

Next:From: Murad NayalDate: 1998-10-28 17:21:27
Subject: [Fwd: postgresql JDBC driver question]
Previous:From: Thomas G. LockhartDate: 1998-10-28 16:41:43
Subject: Re: [INTERFACES] Re: postgres odbc applix

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group