RE: [INTERFACES] I'm getting crazy...HELP ME!

Поиск
Список
Период
Сортировка
От Peter Mount
Тема RE: [INTERFACES] I'm getting crazy...HELP ME!
Дата
Msg-id 1B3D5E532D18D311861A00600865478CA0AB@exchange1.nt.maidstone.gov.uk
обсуждение исходный текст
Список pgsql-interfaces
      co =
DriverManager.getConnection("jdbc:postgresql://host/db","user","pass");

This line will be your problem. Is the server you are loading the applet
from called host? If not, the browser will block the driver from
connecting.
 
ie: If I had an applet on my web site, and it downloaded from the url:
 
    http://www.retep.org.uk/applet.html
 
Then the connection line should read something like:
 
      co =
DriverManager.getConnection("jdbc:postgresql://www.retep.org.uk/db","use
r","pass");
 
IE: the host name must be identical. Even if your host has multiple dns
entries.
 
PS: The above url's don't exist ;-)

Peter 

-- 
Peter Mount 
Enterprise Support 
Maidstone Borough Council 
Any views stated are my own, and not those of Maidstone Borough Council.



-----Original Message-----
From: Robson Martins [mailto:robson@netalfa.com.br]
Sent: 14 July 1999 21:19
To: pgsql-interfaces
Subject: [INTERFACES] I'm getting crazy...HELP ME!


Hello all!
I have a .java that i think it is right but it doesnt work, the problem
is that it cant connect to the database, the button connect is to
connect to the database, the button list is to list the value from field
name from table people from database on a textarea, the button Robson -
Test, is a button that i created only to test.
To make this .java work you will need a database with a table people
with a field name with any values.
I didnt make it works, if anybody have success please help me, and if
anybody have any .java like this that do the thing i wanna do, please
send me (without use swing).
Well i think this is all....
HELP ME......
Hugs..Robson ( robson@netalfa.com.br )



В списке pgsql-interfaces по дате отправления:

Предыдущее
От: "Terence Chan"
Дата:
Сообщение: RE: [INTERFACES] ODBC problem
Следующее
От: "Moray McConnachie"
Дата:
Сообщение: SELECT... INTO via ODBC