Re: Connectivity of postgreSQL database to a JSP page

From: Nahum Castro <nahumcastro(at)gmail(dot)com>
To: sunil sunsunwal <sun2walsunil(at)yahoo(dot)co(dot)in>
Cc: pgsql-jdbc(at)postgresql(dot)org, jbrookes(at)jobflash(dot)com, kavya_raghu(at)yahoo(dot)co(dot)in
Subject: Re: Connectivity of postgreSQL database to a JSP page
Date: 2005-05-05 04:34:25
Message-ID: 714bb51a050504213473081a31@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

2005/5/4, sunil sunsunwal <sun2walsunil(at)yahoo(dot)co(dot)in>:
> I tried executing a jsp file which gets the connection
> to the postgresql to test if the driver is working.It
> connects to the Driver but while reterieving the
> information from the database it shows the jframe and
> give gives the following exception :
>
> init:
> deps-jar:
> Compiling 1 source file to
> /home/cipa/sun/frame1/build/classes
> compile-single:
> run-single:
> SQL Exception
> java.sql.SQLException: No suitable driver
Hello:

The driver postgresql-8.0-311.jdbc3.jar must be located in /tomcat/common/lib/
this can be downloaded from:
http://jdbc.postgresql.org/download/postgresql-8.0-311.jdbc3.jar for
postgresql 8.X

More info here:
http://developer.apple.com/internet/opensource/postgres.html

Bye.

--
Nahum Castro González
León, Guanajuato, México

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Donald Fraser 2005-05-05 09:07:01 Infinity and beyond
Previous Message Guillaume Cottenceau 2005-05-04 15:04:29 Re: postgresql-8.0.jar and failure of ORDER BY parameters