Skip site navigation (1) Skip section navigation (2)

IE5 - no suitable driver

From: Christoph Fister <fister(at)uni-muenster(dot)de>
To: pgsql-interfaces(at)postgresql(dot)org, fister(at)uni-muenster(dot)de
Subject: IE5 - no suitable driver
Date: 2000-01-28 15:53:15
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-interfaces
running Microsoft's IE 5 ends in trouble when I start an applet that
display the result of a database access via jdbc under postgresql 6.4.2.
Although the jdbc-driver seems to be successfully loaded because
the initial try-block
   try { Class.forName("postgresql.Driver"); }
   catch(Exception e) { ... } 
throws no exception or error message
the following try-block 
   try {
          Vector results = new Vector();
          Connection con = DriverManager.getConnection(url, user,
          Statement stmt = con.createStatement();
          ResultSet rs = stmt.executeQuery(query);
   catch(SQLException ex)
           System.out.println("SQLException: " + ex.getMessage());
throws a SQLException and reports:

        "SQLException: no suitable driver"

running Netscapes Navigator, the same applet displays the result of the
database query via jdbc under postgresql 6.4.2 without any exception or


Christoph Fister

pgsql-interfaces by date

Next:From: Uillian FernandesDate: 2000-01-28 16:00:28
Subject: PostGreSQL on Windows NT/9X.
Previous:From: Constantin TeodorescuDate: 2000-01-28 13:55:26
Subject: Re: [INTERFACES] PgAccess and FTP (was Re: Portuguese translation ...)

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group