You were too fast for me ... Anyway, is it possible to define datasources for webapps NOT using struts except for using server.xml?
Stef. -----Original Message----- From: David Graham [mailto:[EMAIL PROTECTED]] Sent: Dienstag, 15. Oktober 2002 17:00 To: [EMAIL PROTECTED] Subject: Re: How to use datasource and db connection pooling in struts? struts-config.xml is where you define your datasources. You specify the key to store the DataSource object under in the application scope so your actions can find it later. You also have to specify the DataSource implementation class to use. Often this will be provided by your database vendor but if it isn't, you can use the datasource provided by jakarta-commons dbcp BasicDataSource as suggested in a previous reply. See section 4.6.5 for configuration info: http://jakarta.apache.org/struts/userGuide/building_controller.html Dave >From: <[EMAIL PROTECTED]> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Subject: How to use datasource and db connection pooling in struts? >Date: Tue, 15 Oct 2002 16:40:27 +0200 > >Hi, there! > >How can I easily achieve database connection pooling (using a datasource >in one of the xml config files - btw. which one is it?)? >I know there is some stuff in jakarta-commons. >What I want to achieve is an easy to configure and highly efficient db >connection pool that is available to all my action classes. > >Stef. > >-- >To unsubscribe, e-mail: ><mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: ><mailto:[EMAIL PROTECTED]> _________________________________________________________________ Join the world's largest e-mail service with MSN Hotmail. http://www.hotmail.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]>