📄 release-notes-1.1-b2.html
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>Struts Release Notes (Version 1.1 Beta 2)</title>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<meta content="Craig R. McClanahan" name="author" />
<meta content="Robert Leland" name="author" />
<meta content="Ted Husted" name="author" />
<meta content="Martin Cooper" name="author" />
<link href="../struts.css" type="text/css" rel="stylesheet" />
</head>
<body>
<div id="heading">
<a href="http://apache.org/">
<img id="asf_logo_wide" alt="The Apache Project" src="../images/asf_logo_wide.gif" />
</a>
<a href="http://struts.apache.org/">
<img id="struts-logo" alt="Struts Framework" src="../images/struts.gif" />
</a>
</div>
<!--end heading-->
<div id="content">
<div id="menu">
<p>User Guide</p>
<ul>
<li>
<a href="index.html">Table of Contents</a>
</li>
<li>
<a href="preface.html">Preface</a>
</li>
<li>
<a href="introduction.html">Introduction</a>
</li>
<li>
<a href="building_model.html">Model Components</a>
</li>
<li>
<a href="building_view.html">View Components</a>
</li>
<li>
<a href="building_controller.html">Controller Components</a>
</li>
<li>
<a href="configuration.html">Configuration</a>
</li>
<li>
<a href="release-notes.html">Release Notes</a>
</li>
<li>
<a href="installation.html">Installation</a>
</li>
</ul>
<p>Developer Guides</p>
<ul>
<li>
<a href="dev_bean.html">Bean Tags</a>
</li>
<li>
<a href="dev_html.html">HTML Tags</a>
</li>
<li>
<a href="dev_logic.html">Logic Tags</a>
</li>
<li>
<a href="dev_nested.html">Nested Tags</a>
</li>
<li>
<a href="dev_tiles.html">Tiles Tags</a>
</li>
<li>
<a href="dev_util.html">Utilities</a>
</li>
<li>
<a href="dev_validator.html">Validator</a>
</li>
</ul>
<p>Quick Links</p>
<ul>
<li>
<a href="../index.html">Welcome</a>
</li>
<li>
<a href="index.html">User and Developer Guides *</a>
</li>
<li>
<a href="../faqs/index.html">FAQs and HowTos</a>
</li>
</ul>
<div class="authors">
<p>
<strong>Contributors</strong>
</p>
<ul>
<li>Craig R. McClanahan</li>
<li>Robert Leland</li>
<li>Ted Husted</li>
<li>Martin Cooper</li>
</ul>
</div>
</div>
<!--end menu-->
<div id="main">
<h2 id="Introduction">Introduction</h2>
<div class="indent">
<p>This document contains the release notes for
<strong>Version 1.1 Beta 2</strong> of the Struts Framework,
and covers changes that have taken place since
<a href="release-notes-1.0.2.html">Version 1.0.2</a>
was released. The following sections cover
<a href="#New">New Features</a> and <a href="#Changes">Changes</a>
to Struts.</p>
</div>
<h2 id="Included">What's Included?</h2>
<div class="indent">
<p>The binary distribution of this release includes the following
files relevant to Struts:</p>
<ul>
<li>
<code>INSTALL</code> - Brief installation instructions. See
the <code>Struts Documentation Application</code>, or online at
<a href="http://jakarta.apache.org/struts/">http://jakarta.apache.org/struts/</a>
for more information.</li>
<li>
<code>LICENSE</code> - The Apache Software Foundation license that
defines the terms under which you can use Struts (and other software
licensed by Apache).</li>
<li>
<code>README</code> - A brief introduction to Struts.</li>
<li>
<code>lib/</code> - Directory containing files you will need in
your own applications. The individual files of interest are:
<ul>
<li>
<code>commons-*.jar</code> - Release packages from the
<a href="http://jakarta.apache.org/commons/">Jakarta Commons
Project</a> that Struts relies on. You are welcome to use these
classes in your own applications. These JAR files should be
copied into the <code>/WEB-INF/lib</code> directory of
your web application.</li>
<li>
<code>struts.jar</code> - JAR file that contains the compiled
Java classes of Struts. You must
place this file in the <code>/WEB-INF/lib</code> directory of
your web application.</li>
<li>
<code>struts-xxxxx.tld</code> - The tag library descriptor files
for the Struts 1.1 tag libraries (bean, html, logic, and
template). You must place these files in the <code>/WEB-INF</code>
directory of your web application, and reference them with
appropriate <code><taglib></code> directives in your
web.xml file.</li>
<li>
<code>jdbc2_0-stdext.jar</code> - The JDBC 2.0 Optional Package
API classes (package <code>javax.sql</code>). You will need to
include this file in the <code>/WEB-INF/lib</code> directory
of your application, if it is not already made visible to web
applications by your servlet container.</li>
<li>
<code>struts-config_1_1.dtd</code> - The document type descriptor
(DTD) for the Struts 1.1 configuration file (which is typically named
<code>/WEB-INF/struts-config.xml</code>. Your configuration file
will be validated against an internal copy of this DTD -- this
copy is available for reference purposes only.</li>
<li>
<code>struts-config_1_0.dtd</code> - The document type descriptor
(DTD) for the Struts 1.0 configuration file (which is typically named
<code>/WEB-INF/struts-config.xml</code>. Your configuration file
will be validated against an internal copy of this DTD -- this
copy is available for reference purposes only.</li>
<li>
<code>web-app_2_2.dtd</code> - The document type descriptor (DTD)
for web.xml files conforming to the Servlet 2.2 specification.
This copy is for reference purposes only.</li>
<li>
<code>web-app_2_3.dtd</code> - The document type descriptor (DTD)
for web.xml files conforming to the Servlet 2.3 specification.
This copy is for reference purposes only.</li>
</ul>
</li>
<li>
<code>webapps/</code> - Web Application Archive (WAR) files for the
web applications that are included with Struts.</li>
</ul>
</div>
<h2 id="New">What's New?</h2>
<div class="indent">
<p>Following are highlights of the new features. In the next section, we
provide links to the JavaDocs for the affected classes.</p>
<p>
<strong>New Configuration DTD</strong>
</p>
<p> The Struts Configuration 1.0 DTD has been deprecated in favor of the
<code>
<a href="http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">struts-config_1_1.dtd</a>
</code>.
In the Struts 1.1 release, existing Struts configuration files can be
loaded using either DTD version.
</p>
<p>
<strong>New Dependencies on Commons packages</strong>
</p>
<p>Several components of Struts 1.0 have been found to be useful in
general Java development (and not just useful for building Struts-based
web applications), and have been migrated into the
<a href="http://jakarta.apache.org/commons/">Jakarta Commons Project</a>.
As a result, the current development version of Struts has been modified
to rely on the Commons packages containing these classes, rather than the
Struts internal versions. In nearly every case, this involved changing
only the <code>import</code> statements at the top of your classes. Any
applications that utilize these classes will need to be modified in the
same way. </p>
<p>The following Commons packages contain the replacements for the
corresponding Struts 1.0 classes:</p>
<ul>
<li>
<strong>BeanUtils Package</strong>
[<a href="http://jakarta.apache.org/commons/beanutils.html">
<code>org.apache.commons.beanutils</code>
</a>] -
<code>org.apache.struts.utils.BeanUtils</code>,
<code>org.apache.struts.utils.ConvertUtils</code>, and
<code>org.apache.struts.utils.PropertyUtils</code>.</li>
<li>
<strong>Collections Package</strong>
[<a href="http://jakarta.apache.org/commons/collections.html">
<code>org.apache.commons.collections</code>
</a>] -
<code>org.apache.struts.util.ArrayStack</code>,
<code>org.apache.struts.util.FastArrayList</code>,
<code>org.apache.struts.util.FastHashMap</code>,
<code>org.apache.struts.util.FastTreeMap</code>.</li>
<li>
<strong>Digester Package</strong> -
[<a href="http://jakarta.apache.org/commons/digester.html">
<code>org.apache.commons.digester</code>
</a>] -
<code>org.apache.struts.digester.*</code>.</li>
</ul>
<p>The following Commons packages are also now used by various components
of the Struts framework:</p>
<ul>
<li>
<strong>Database Connection Pool Package</strong>
[<a href="http://jakarta.apache.org/commons/dbcp.html">
<code>org.apache.commons.dbcp</code>
</a>]</li>
<li>
<strong>FileUpload Package</strong>
[<a href="http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/fileupload/">
<code>org.apache.commons.fileupload</code>
</a>]</li>
<li>
<strong>Logging Package</strong>
[<a href="http://jakarta.apache.org/commons/logging.html">
<code>org.apache.commons.logging</code>
</a>]</li>
<li>
<strong>Pool Package</strong>
[<a href="http://jakarta.apache.org/commons/pool/index.html">
<code>org.apache.commons.pool</code>
</a>]</li>
<li>
<strong>Services Package</strong>
[<a href="http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/services/">
<code>org.apache.commons.services</code>
</a>]</li>
<li>
<strong>Validator Package</strong>
[<a href="http://cvs.apache.org/viewcvs/jakarta-commons/validator/">
<code>org.apache.commons.validator</code>
</a>]</li>
</ul>
<p>
<strong>NOTE! XML Parser Prerequisite Updated</strong>
</p>
<p>Struts now depends on an XML parser that conforms to the JAXP/1.1
(rather than JAXP/1.0) APIs. Parsers known to work include the JAXP/1.1
reference implementation, and Xerces 1.3.1.</p>
<p>
<strong>SOURCE DEVELOPERS NOTE! Ant Prerequisite Updated</strong>
</p>
<p>To build Struts from source Ant 1.4 or later is now required. This
does not affect developers that use Struts from the binary distribution.</p>
<p>
<strong>Struts Validator Integration</strong>
</p>
<p>The new Commons-Validator is now integrated with Struts and exposed
through the new Validator package.</p>
<p>
<strong>Tiles - An advanced templating taglib</strong>
</p>
<p>The Tiles JSP assembly framework has been integrated with Struts.</p>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -