From: mr_hopkins@earthlink.net (Micheal H.)
>Here's the code.....It compiles but never gets past "Failed to load
>postgresql driver"
your classpath setting might be wrong, it must includes the jar filename as
well, such as :
CLASSPATH = /usr/local/lib/postgresql.jar
you might also want to try :
//String url = "jdbc:postgresql://gina/testdb";
String url = "jdbc:postgresql://127.0.0.1:5432/testdb";
....
//Connection con = DriverManager.getConnection(url, "", "");
Connection con = DriverManager.getConnection( url, "yourname", "");
hope that helps
albert
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com