pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
I'm getting crazy...HELP ME!
3+ messages / 2 participants
[nested] [flat]

* I'm getting crazy...HELP ME!
@ 1999-07-14 20:19  Robson Martins <robson@netalfa.com.br>
  0 siblings, 0 replies; 3+ messages in thread

From: Robson Martins @ 1999-07-14 20:19 UTC (permalink / raw)
  To: pgsql-interfaces

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 )

Attachments:

robson.htm (text/html, 72B) download <html> <applet code="robson" width="400" height="400"> </applet> </html>
robson.java (application/octet-stream, 2.0K) download ^ permalink raw reply [nested|flat] 3+ messages in thread

* RE: [INTERFACES] I'm getting crazy...HELP ME!
@ 1999-07-15 06:57  Peter Mount <petermount@it.maidstone.gov.uk>
  0 siblings, 0 replies; 3+ messages in thread

From: Peter Mount @ 1999-07-15 06:57 UTC (permalink / raw)
  To: 'Robson Martins' <robson@netalfa.com.br>; 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 )




^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: [INTERFACES] I'm getting crazy...HELP ME!
@ 1999-07-15 12:07  Robson Martins <robson@netalfa.com.br>
  0 siblings, 0 replies; 3+ messages in thread

From: Robson Martins @ 1999-07-15 12:07 UTC (permalink / raw)
  To: pgsql-interfaces

-----Mensagem original-----
De: Peter Mount <petermount@it.maidstone.gov.uk>
Para: 'Robson Martins' <robson@netalfa.com.br>; pgsql-interfaces
<pgsql-interfaces@postgreSQL.org>
Data: Quinta-feira, 15 de Julho de 1999 04:01
Assunto: RE: [INTERFACES] I'm getting crazy...HELP ME!


Peter Mount......Thank You!
You helped me a lot!
The applet worked on the same computer where is the database.
Thanks for your answer, thanks for help!
Hugs... Robson Martins ( robson@netalfa.com.br )





^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~1999-07-15 12:07 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
1999-07-14 20:19 I'm getting crazy...HELP ME! Robson Martins <robson@netalfa.com.br>
1999-07-15 06:57 RE: [INTERFACES] I'm getting crazy...HELP ME! Peter Mount <petermount@it.maidstone.gov.uk>
1999-07-15 12:07 Re: [INTERFACES] I'm getting crazy...HELP ME! Robson Martins <robson@netalfa.com.br>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox