tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Riegel" <stefan.rie...@telig.de>
Subject AW: How to use Connection Tag in JDBC
Date Wed, 11 Apr 2001 17:43:05 GMT
Hi Jean,

I wondered too about DataSources and JNDI. I found a tutorial about JNDI on
the java.sun.com Site. I looked briefly through the Tutorial. It looks fine
for me. When I find time, I will try to learn the stuff. Perhaps an idea for
You too?

Good luck
Stefan

> -----Urspr√ľngliche Nachricht-----
> Von: Niu, Jean (J.) [mailto:jniu@visteon.com]
> Gesendet: Dienstag, 10. April 2001 15:51
> An: 'taglibs-user@jakarta.apache.org'
> Betreff: How to use Connection Tag in JDBC
>
>
> >From document, there are three ways to use Connection tag:
> 1. JNDI named JDBC DataSource
> 2. Use a DataSource object
> 3. Use a database URL
>
> I know how to use database URL, but don't know how to use
> DataSource object
> and JNDI. Could somebody give me a working example how to
> setup DataSource
> object and JNDI so the Connection tag can refer to these object.
>
> Thanks.
>
> Jean
>


Mime
View raw message