tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "anand" <an...@columbus.rr.com>
Subject RE: using datasource
Date Sun, 04 Aug 2002 18:12:17 GMT

Normally the connection pooling is done by the Servlets container (the
web server)
I use BEA Weblogic and I setup my datasource and connection pooling in
the config.xml. Then in each of my web application descriptor (web.xml)
I specify which datasource to use.

The JNDI datasource is defined as part of your JSP web server
configuration.



-----Original Message-----
From: The Kelley's [mailto:timdona@mindspring.com] 
Sent: Sunday, August 04, 2002 1:28 PM
To: Tag Libraries Users List; anand@columbus.rr.com
Subject: RE: using datasource 

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:anand@columbus.rr.com]
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:anand@columbus.rr.com]
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:bayern@essentially.net]
Sent: Sunday, August 04, 2002 9:24 AM
To: Tag Libraries Users List; timdona@mindspring.com
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:taglibs-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:taglibs-user-help@jakarta.apache.org>



--
To unsubscribe, e-mail:
<mailto:taglibs-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:taglibs-user-help@jakarta.apache.org>


--
To unsubscribe, e-mail:
<mailto:taglibs-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:taglibs-user-help@jakarta.apache.org>


--
To unsubscribe, e-mail:
<mailto:taglibs-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:taglibs-user-help@jakarta.apache.org>



--
To unsubscribe, e-mail:   <mailto:taglibs-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-user-help@jakarta.apache.org>


Mime
View raw message