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 2003/06/07 23:52:34 UTC
cvs commit: jakarta-struts/doc/userGuide configuration.xml installation.xml release-notes-1.1-rc2.xml
husted 2003/06/07 14:52:34
Modified: doc/faqs database.xml
doc/userGuide configuration.xml installation.xml
release-notes-1.1-rc2.xml
Log:
Repalce DBCP/Pool dependency with Struts Legacy.
Revision Changes Path
1.7 +2 -2 jakarta-struts/doc/faqs/database.xml
Index: database.xml
===================================================================
RCS file: /home/cvs/jakarta-struts/doc/faqs/database.xml,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- database.xml 7 Jun 2003 21:20:04 -0000 1.6
+++ database.xml 7 Jun 2003 21:52:33 -0000 1.7
@@ -207,8 +207,8 @@
</code></pre>
<p>
- <i>Note: Since Struts is now using commons-dbcp for all it's data-source
- needs, the query you provide for the pingQuery attribute (if you choose to
+ <i>Note: If you use the Commons BasicDataSource with Struts,
+ the query you provide for the pingQuery attribute (if you choose to
include it) must return at least one row.</i>
</p>
1.20 +1 -1 jakarta-struts/doc/userGuide/configuration.xml
Index: configuration.xml
===================================================================
RCS file: /home/cvs/jakarta-struts/doc/userGuide/configuration.xml,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- configuration.xml 7 Apr 2003 14:23:27 -0000 1.19
+++ configuration.xml 7 Jun 2003 21:52:33 -0000 1.20
@@ -396,7 +396,7 @@
<p>
In Struts 1.1, the GenericDataSource is deprecated, and it is
- recommended that you use the Commons BasicDataSource directly.
+ recommended that you use the Commons BasicDataSource instead.
In practice, if you need to use the DataSource manager, you should use
whatever DataSource implementation works best with your container or
database.
1.28 +3 -6 jakarta-struts/doc/userGuide/installation.xml
Index: installation.xml
===================================================================
RCS file: /home/cvs/jakarta-struts/doc/userGuide/installation.xml,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- installation.xml 6 Jun 2003 22:03:35 -0000 1.27
+++ installation.xml 7 Jun 2003 21:52:33 -0000 1.28
@@ -91,12 +91,11 @@
<ul>
<li><em>Beanutils</em> (Version 1.5 or later)</li>
<li><em>Collections</em> (Version 2.1 or later)</li>
- <li><em>DBCP</em> (Version 1.0 or later)</li>
<li><em>Digester</em> (Version 1.3 or later)</li>
<li><em>FileUpload</em> (1.0 RC1 or later)</li>
<li><em>Lang</em> (Version 1.1 or later)</li>
<li><em>Logging</em> (Version 1.0.3 or later when it is available)</li>
- <li><em>Pool</em> (Version 1.0.1 or later)</li>
+ <li><em>Struts-Legacy</em> (Version 1.0 or later)</li>
<li><em>Validator</em> (Version 1.0.1 or later) </li>
</ul>
For your convenience, the requisite JARs are provided as a single
@@ -349,8 +348,6 @@
package JAR file from the Jakarta Commons project.</li>
<li><strong>commons-collections.jar</strong> - Pathname of the
Collections package JAR file from the Jakarta Commons project.</li>
- <li><strong>commons-dbcp.jar</strong> - Pathname of the DBCP
- package JAR file from the Jakarta Commons project.</li>
<li><strong>commons-digester.jar</strong> - Pathname of the
Digester package JAR file from the Jakarta Commons project.</li>
<li><strong>commons-fileupload.jar</strong> - Pathname of the
@@ -359,12 +356,12 @@
Lang package JAR file from the Jakarta Commons project.</li>
<li><strong>commons-logging.jar</strong> - Pathname of the
Logging package JAR file from the Jakarta Commons project.</li>
- <li><strong>commons-pool.jar</strong> - Pathname of the
- Pool package JAR file from the Jakarta Commons project.</li>
<li><strong>commons-validator.jar</strong> - Pathname of the
Validator package JAR file from the Jakarta Commons project.</li>
<li><strong>servletapi.home</strong> - Pathname to the directory of
your binary distribution of the Servlet API classes.</li>
+ <li><strong>struts-legacy.jar</strong> - Pathname of the Struts Legacy
+ package JAR file from the Jakarta Struts contrib area.</li>
<li><strong>tomcat.home</strong> - Pathname to the directory of your
binary distribution of Tomcat 3.2 (required only if you wish to
use the <code>deploy.tomcat</code> target).</li>
1.4 +5 -2 jakarta-struts/doc/userGuide/release-notes-1.1-rc2.xml
Index: release-notes-1.1-rc2.xml
===================================================================
RCS file: /home/cvs/jakarta-struts/doc/userGuide/release-notes-1.1-rc2.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- release-notes-1.1-rc2.xml 7 Jun 2003 19:30:57 -0000 1.3
+++ release-notes-1.1-rc2.xml 7 Jun 2003 21:52:33 -0000 1.4
@@ -27,7 +27,7 @@
<p>
In RC2, the <b>Commons-DBCP and Commons-Pool dependencies have been removed</b>.
- These are replaced with a dependency on the Struts-Legacy JAR,
+ These are replaced with a dependency on the Struts-Legacy package,
containing the GenericDataSource and GenericConnection classes from Struts 1.0.2.
These are distributed for J2SE 1.3 but may be recompiled for J2SE 1.4.
Other DataSource implementations may be plugged in (recommended).
@@ -599,6 +599,7 @@
<p>The following changes and bug fixes have occurred in the basic
controller framework (package <code>org.apache.struts.action</code>):</p>
<ul>
+ <li>All constants in the Action class: Deprecated in favor of equivalents in new Globals class.</li>
<li>ActionMapping: input property may now refer to an ActionForward rather than a module-relative path if inputForward is set to true on the module's ControllerConfig bean [org.apache.struts.config.ControllerConfig.</li>
<li>ActionServlet: Added convertNull parameter to simulate the Struts 1.0 behavior when populating forms. If set to true, the numeric Java wrapper class types (like java.lang.Integer) will default to null (rather than 0).</li>
<li>ActionServlet: Added "config/$foo" parameter and deprecated several others in favor of components in the new config package. </li>
@@ -614,11 +615,12 @@
actually do serialize and deserialize such instances, it is your
responsibility to reset these two properties.</li>
<li>ActionMessages and ActionErrors: The initial order a property/key is added in is now retained.</li>
+ <li>processActionForward(): Deprecated in favor of processForwardConfig</li>
</ul>
<p><strong>Upload Package Changes</strong></p>
<p>The following changes and bug fixes have occurred in the file upload
- package (package <code>org.apache.struts.upload</code>):</p>
+ package (package <code>org.apache.struts.upload</code>) [part of the Upload webapp]:</p>
<ul>
<li>CommonsMultipartRequestHandler: New implementation of file upload based
on the Jakarta Commons FileUpload package. This new implementation is
@@ -669,6 +671,7 @@
<li>FormTag: Fixed to exclude query string when identifying action mapping name.</li>
<li>ImgTag: Correctly URLEncode the query string parameter value even if there is only a single parameter.</li>
<li>MultiboxTag.doAfterBody(): Corrected to return SKIP_BODY instead of SKIP_PAGE.</li>
+ <li>Errortag: defaultLocale method is deprecated as it is unused.</li>
</ul>
<p><strong>Logic Taglib Package Changes</strong></p>
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org