struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Thomas <p...@tmsl.demon.co.uk>
Subject Re: What's the best choice for connection pooling with Struts and PostgreSQL
Date Wed, 05 Nov 2003 19:42:54 GMT

On 04/11/2003 12:51 ZYD wrote:
> Thanks Paul,
> 
> Could you please give me some code snippet about that factory parameter
> from the server.xml ?
> 
> Thanks again.
> 
> bruce


     <ResourceParams name="jdbc/mytestDB">
	<parameter>
		<name>factory</name>
		 
<value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
	</parameter>
	<parameter>
		<name>driverClassName</name>
		<value>org.postgresql.Driver</value>
	</parameter>
	.... 	....

HTH

-- 
Paul Thomas
+------------------------------+---------------------------------------------+
| Thomas Micro Systems Limited | Software Solutions for the Smaller 
Business |
| Computer Consultants         | 
http://www.thomas-micro-systems-ltd.co.uk   |
+------------------------------+---------------------------------------------+

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message