Re: [INTERFACES] JDBC APPLET Problem

From: Peter T Mount <peter(at)retep(dot)org(dot)uk>
To: v j <jvs_a(at)yahoo(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: [INTERFACES] JDBC APPLET Problem
Date: 2001-02-02 08:38:34
Message-ID: 981103114.3a7a720a3dc09@webmail.retep.org.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces pgsql-jdbc

Quoting v j <jvs_a(at)yahoo(dot)com>:

redirecting to jdbc list...

> Dear Sir,
> Now I try to run the Java Program by using JDBC
> PostgreSql through Web Browser.
> I set the file pg_hba.conf as

[snip]

> and I get the error message as
>
> "No suitable driver"
>
> Please advice me for this problem.

Ok, no suitable driver implies one of two possibilities.

1: You are not loading the driver using Class.forname("org.postgresql.Driver");

2: The url is wrong.

Looking at it #1 is your problem.

PS: There is a #3, Internet Explorer has a bug that prevents any JDBC from
working ;-)

Peter

>
> Thank you
>
>
>
> __________________________________________________
> Get personalized email addresses from Yahoo! Mail - only $35
> a year! http://personal.mail.yahoo.com/
>

--
Peter Mount peter(at)retep(dot)org(dot)uk
PostgreSQL JDBC Driver: http://www.retep.org.uk/postgres/
RetepPDF PDF library for Java: http://www.retep.org.uk/pdf/

In response to

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Jose Luis LG 2001-02-02 13:05:30 JDBC documentation
Previous Message v j 2001-02-02 06:42:16 JDBC APPLET Problem

Browse pgsql-jdbc by date

  From Date Subject
Next Message Peter T Mount 2001-02-02 08:50:20 Re: [INTERFACES] Re: [PATCHES] Re: Fixes and enhancements to JDBC driver(take 2)
Previous Message v j 2001-02-02 06:22:13 Re: JDBC APPLET Problem