You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by hu...@apache.org on 2002/06/15 17:23:21 UTC
cvs commit: jakarta-struts/web/example/WEB-INF struts-config.xml
husted 2002/06/15 08:23:20
Modified: web/example/WEB-INF struts-config.xml
Log:
(#8240) Data-Source configuration in examples is outdated - Patch provided by James Holmes.
Revision Changes Path
1.21 +20 -17 jakarta-struts/web/example/WEB-INF/struts-config.xml
Index: struts-config.xml
===================================================================
RCS file: /home/cvs/jakarta-struts/web/example/WEB-INF/struts-config.xml,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- struts-config.xml 14 Mar 2002 06:15:55 -0000 1.20
+++ struts-config.xml 15 Jun 2002 15:23:20 -0000 1.21
@@ -21,24 +21,27 @@
<!-- ========== Data Source Configuration =============================== -->
<!--
- <data-sources>
- <data-source>
- <set-property property="autoCommit"
- value="false"/>
- <set-property property="driverClass"
- value="org.postgresql.Driver"/>
- <set-property property="maxCount"
- value="4"/>
- <set-property property="password"
- value="mypassword"/>
- <set-property property="url"
- value="jdbc:postgresql://localhost/mydatabase"/>
- <set-property property="user"
- value="myusername"/>
- </data-source>
- </data-sources>
+ <data-sources>
+ <data-source>
+ <set-property property="autoCommit"
+ value="false"/>
+ <set-property property="description"
+ value="Example Data Source Configuration"/>
+ <set-property property="driverClass"
+ value="org.postgresql.Driver"/>
+ <set-property property="maxCount"
+ value="4"/>
+ <set-property property="minCount"
+ value="2"/>
+ <set-property property="password"
+ value="mypassword"/>
+ <set-property property="url"
+ value="jdbc:postgresql://localhost/mydatabase"/>
+ <set-property property="user"
+ value="myusername"/>
+ </data-source>
+ </data-sources>
-->
-
<!-- ========== Form Bean Definitions =================================== -->
<form-beans>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>