pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Problem Applet-Appletviewer
3+ messages / 3 participants
[nested] [flat]

* Problem Applet-Appletviewer
@ 1998-11-23 19:43  REDCYT - Juan Carlos Liendro <jliendro@diogenes.secyt.gov.ar>
  0 siblings, 2 replies; 3+ messages in thread

From: REDCYT - Juan Carlos Liendro @ 1998-11-23 19:43 UTC (permalink / raw)
  To: pgsql-interfaces

Hi:
I have a problem.
I have Postgresql v.6.3 and jdk1.1.3.
I wrote un applet of consul and one table of postgresql 
Driver (jdbc:postgresql).
I load ClassforName(jdbc:postgresql).
 it works fine only if:
prompt$  java  file-consul
and  not works
appletviewer file-consul.html
(Not show data, and initial applet ok).
Thank.
---
jliendro@correo.secyt.gov.ar



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

* Re: [INTERFACES] Problem Applet-Appletviewer
@ 1998-11-24 06:44  Peter T Mount <peter@retep.org.uk>
  parent: REDCYT - Juan Carlos Liendro <jliendro@diogenes.secyt.gov.ar>
  1 sibling, 0 replies; 3+ messages in thread

From: Peter T Mount @ 1998-11-24 06:44 UTC (permalink / raw)
  To: REDCYT - Juan Carlos Liendro <jliendro@diogenes.secyt.gov.ar>; +Cc: pgsql-interfaces

On Mon, 23 Nov 1998, REDCYT - Juan Carlos Liendro wrote:

> Hi:
> I have a problem.
> I have Postgresql v.6.3 and jdk1.1.3.
> I wrote un applet of consul and one table of postgresql 
> Driver (jdbc:postgresql).
> I load ClassforName(jdbc:postgresql).
>  it works fine only if:
> prompt$  java  file-consul
> and  not works
> appletviewer file-consul.html
> (Not show data, and initial applet ok).

Do you have any Exceptions thrown when you run it as an applet? It would
help to know what they are to debug this problem.

-- 
       Peter T Mount peter@retep.org.uk
      Main Homepage: http://www.retep.org.uk
PostgreSQL JDBC Faq: http://www.retep.org.uk/postgres
 Java PDF Generator: http://www.retep.org.uk/pdf




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

* Re: [INTERFACES] Problem Applet-Appletviewer
@ 1998-11-24 08:52  Herouth Maoz <herouth@oumail.openu.ac.il>
  parent: REDCYT - Juan Carlos Liendro <jliendro@diogenes.secyt.gov.ar>
  1 sibling, 0 replies; 3+ messages in thread

From: Herouth Maoz @ 1998-11-24 08:52 UTC (permalink / raw)
  To: REDCYT - Juan Carlos Liendro <jliendro@diogenes.secyt.gov.ar>; pgsql-interfaces

At 21:43 +0200 on 23/11/98, REDCYT - Juan Carlos Liendro wrote:


> Hi:
> I have a problem.
> I have Postgresql v.6.3 and jdk1.1.3.
> I wrote un applet of consul and one table of postgresql
> Driver (jdbc:postgresql).
> I load ClassforName(jdbc:postgresql).
>  it works fine only if:
> prompt$  java  file-consul
> and  not works
> appletviewer file-consul.html
> (Not show data, and initial applet ok).

You have to use:

			Class.forName("postgresql.Driver");

The "jdbc:postgresql" is not the name of the driver class to load, but the
URL of the database to which you connect. In all probability, it fails, but
it works when you run "java", because the driver is actually in your
classpath.

Herouth

--
Herouth Maoz, Internet developer.
Open University of Israel - Telem project
http://telem.openu.ac.il/~herutma





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


end of thread, other threads:[~1998-11-24 08:52 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
1998-11-23 19:43 Problem Applet-Appletviewer REDCYT - Juan Carlos Liendro <jliendro@diogenes.secyt.gov.ar>
1998-11-24 06:44 ` Peter T Mount <peter@retep.org.uk>
1998-11-24 08:52 ` Herouth Maoz <herouth@oumail.openu.ac.il>

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