Re: [INTERFACES] JDBC APPLET Problem
Re: [INTERFACES] JDBC APPLET Problem
От:
Peter T Mount <peter@retep.org.uk>
Дата:
Quoting v j :
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/
Re: [INTERFACES] JDBC APPLET Problem
От:
v j <jvs_a@yahoo.com>
Дата:
Dear everybody,
Thank you for advicing me about running the Java
Program by using JDBC PostgreSql through Web Browser.
I would like to inform you that Now I can solve this
probem when I archive jdbc7.0-1.2.jar with my applet
and then copy the jdbc7.0-1.2.jar file and all of the
directory "org"into public_html directory.. it can
work! :> under Internet Explorer but for Netscape
Navigator can't run and shown message "unknown
argument" may be it has a bug that prevents any JDBC
from working as Mr.Peter T mount told..
Thanks you again :>
J.V.
--- Peter T Mount wrote:
> Quoting v j :
>
> 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/
__________________________________________________
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/