Thread: JDBC & IE40

JDBC & IE40

From
Mikael Hammarin
Date:
Hello,

Since the bug in Internet Explorer 4.0 doesn't allow you to
make a Class.forName("portgresql.Driver") to load the postgresql-
driver, I now load it manually with DriverManager.registerDriver()
instead.  However, now I get a "not-very-wanted" errormsg
"cannot access "hostname.com""... ?

Anyone familiar with this? What class generates this msg?
(what exception?)

Cheers,
  MIKE

Re: [INTERFACES] JDBC & IE40

From
Peter T Mount
Date:
On Mon, 27 Jul 1998, Mikael Hammarin wrote:

> Hello,
>
> Since the bug in Internet Explorer 4.0 doesn't allow you to
> make a Class.forName("portgresql.Driver") to load the postgresql-
> driver, I now load it manually with DriverManager.registerDriver()
> instead.  However, now I get a "not-very-wanted" errormsg
> "cannot access "hostname.com""... ?

Is hostname.com your postgresql server?

I presume you are using:

    java.sql.DriverManager.registerDriver(new Driver());

This is how the driver registers itself

> Anyone familiar with this? What class generates this msg?
> (what exception?)

The only place I can think is IOException (unless your postgresql server
is not the same as the web server).

--
Peter T Mount peter@retep.org.uk or petermount@earthling.net
Main Homepage: http://www.retep.org.uk
************ Someday I may rebuild this signature completely ;-) ************
Work Homepage: http://www.maidstone.gov.uk Work EMail: peter@maidstone.gov.uk