Re: [INTERFACES] JDBC APPLET Problem - Mailing list pgsql-jdbc

From Peter T Mount
Subject Re: [INTERFACES] JDBC APPLET Problem
Date
Msg-id 981103114.3a7a720a3dc09@webmail.retep.org.uk
Whole thread Raw
Responses Re: [INTERFACES] JDBC APPLET Problem
List pgsql-jdbc
Quoting v j <jvs_a@yahoo.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@retep.org.uk
PostgreSQL JDBC Driver: http://www.retep.org.uk/postgres/
RetepPDF PDF library for Java: http://www.retep.org.uk/pdf/

pgsql-jdbc by date:

Previous
From: Bob Kline
Date:
Subject: Re: Porting from Mysql to Postgres
Next
From: Peter T Mount
Date:
Subject: Re: [INTERFACES] Re: [PATCHES] Re: Fixes and enhancements to JDBC driver(take 2)