Re: jdbc/taglibs issue - Mailing list pgsql-jdbc

From Tony Grant
Subject Re: jdbc/taglibs issue
Date
Msg-id 1047971977.1616.1.camel@vaio
Whole thread Raw
In response to jdbc/taglibs issue  (Tanu Shankar Bhatnagar <tanushankar@yahoo.com>)
Responses datasource issue
List pgsql-jdbc
On Mon, 2003-03-17 at 21:11, Tanu Shankar Bhatnagar wrote:
> I am trying a simple JSTL example. I am using tomcat4.0.1, jdk1.4.1_01,
> red hat 8.0, jstl 1.0 implementation from sun, postgresql 7.3.2 with jdbc
> drivers pg73jdbc3.jar.

>
> Here is my jsp:
> <sql:setDataSource
>   var="example"
>   driver="org.postgresql.Driver"
>   url="jdbc:postgresql:pandavs"
>   user="username"
>   password="password"
> />

Your URL should be more like:

  url="jdbc:postgresql://server/db_name"

Cheers

Tony Grant

--
www.tgds.net Library management software toolkit,
redhat linux on Sony Vaio C1XD,
Dreamweaver MX with Tomcat and PostgreSQL


pgsql-jdbc by date:

Previous
From: Barry Lind
Date:
Subject: Re: Any plans for multidim array support??
Next
From: Tanu Shankar Bhatnagar
Date:
Subject: datasource issue