If you check the documentation for your JDBC driver, the properties you
need to set should be evident given the stock example:
<!--
<data-sources>
<data-source
autoCommit="false"
description="Example Data Source Configuration"
driverClass="org.postgresql.Driver"
maxCount="4"
minCount="2"
password="mypassword"
url="jdbc:postgresql://localhost/mydatabase"
user="myusername"
/>
</data-sources>
-->
For more about the Generic Connection Pool, see the Developers Guide for
the Utilities
<
http://jakarta.apache.org/struts/api/org/apache/struts/util/package-summary.html#doc.JDBC
>
and the Users Guide
<
http://jakarta.apache.org/struts/userGuide/building_model.html#databases
>
-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Custom Software ~ Technical Services.
-- Tel 716 737-3463.
-- http://www.husted.com/about/struts/
> Matteo Di Giovinazzo wrote:
>
> there's any example or tutorial for using the data-source tag in
> struts-config.xml?
>
> TIA, matteo