On Tue, 2003-02-11 at 09:56, GB Clark wrote:
> > >The error I'm getting is
> > >java.sql.SQLException: Cannot load JDBC driver class 'null'
> > >And here is my code:
> > >Context ctx = new InitialContext();
How about
Driver DriverName = (Driver)Class.forName("org.postgresql.Driver").newInstance();
Connection connection = ds.getConnection("jdbc:postgresql://x.x.x.x:5432/dbname); <-- This is where it fails.
Cheers
Tony Grant
--
www.tgds.net Library management software toolkit,
redhat linux on Sony Vaio C1XD,
Dreamweaver MX with Tomcat and PostgreSQL