I don't have to write a servlet that specifies the JNDI?
How would I specify how many connections and so forth.
If JSTL does all this, I'll buy the book and start using it.
Tim


-----Original Message-----
From: anand [mailto:[EMAIL PROTECTED]]
Sent: Sunday, August 04, 2002 12:11 PM
To: 'Tag Libraries Users List'
Subject: RE: using datasource


Well what I mean was how you tell the JSTL to use what datasource.
I have more than one datasource defined in config.xml that are
Connection pooled.  In web xml

Can I just say like this

<context-param>
  <param-name>
       javax.servlet.jsp.jstl.sql.dataSource
 </param-name>
 <paramvalue>
       myDataSource
 </param-value>
</context-param>

-----Original Message-----
From: anand [mailto:[EMAIL PROTECTED]]
Sent: Sunday, August 04, 2002 12:01 PM
To: 'Tag Libraries Users List'
Subject: using datasource

Does anyone know the syntax for coding datasource in the
Web.xml, can you give an example please.

Thanks,

-Dave


-----Original Message-----
From: Shawn Bayern [mailto:[EMAIL PROTECTED]]
Sent: Sunday, August 04, 2002 9:24 AM
To: Tag Libraries Users List; [EMAIL PROTECTED]
Subject: RE: JSTL in Action: first few chapters

On Sun, 4 Aug 2002, The Kelley's wrote:

> Can JSTL use connection pooling for a databases?

JSTL lets you configure any DataSource to access a database.  The
DataSource may indeed implement connection pooling.  Setting it up is as
easy as pointing to a pooling DataSource in your application's web.xml.

--
Shawn Bayern
"JSTL in Action"   http://www.jstlbook.com


--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>



--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to