⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 release-notes-1.2.4.html

📁 struts api,学习使用struts必备的文档
💻 HTML
📖 第 1 页 / 共 4 页
字号:
<!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 (since 1.1)</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 section contains release notes for changes that have taken place since
        <a href="release-notes-1.1.html">Version 1.1</a> was released.</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.txt</code> - Brief installation instructions. For more detail, see the
          <code>Struts User Guide</code>, either through the Struts Documentation application or online at
          <a href="http://struts.apache.org/">http://struts.apache.org/</a>.</li>
          <li>
          <code>LICENSE.txt</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>contrib/</code> - Additional libraries developed by the Struts team which are not yet part of the core distribution.</li>
          <li>
          <code>lib/</code> - Directory containing files you will need in your own applications. The individual files of interest are:
          <ul>
            <li>
            <code>antlr-#.#.jar</code> - ANTLR, ANother Tool for Language Recognition, a public domain library made available by
            <a href="http://www.antlr.org/">antlr.org</a>.</li>
            <li>
            <code>commons-*-#.#.jar</code> - Various 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>jakarta-oro-#.#.jar</code> - JAR file containing the Jakarta ORO package, utilitied by the Struts Valdiator. You must place this file in the
            <code>/WEB-INF/lib</code> directory of your web application to use the Struts Validator package.</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-*.tld</code> - The tag library descriptor files for the Struts tag libraries (bean, html, logic, and nested). When these taglibs are used, you must place these files in the
            <code>/WEB-INF</code> directory of your web application and reference them with appropriate
            <code>&lt;taglib&gt;</code> directives in your web.xml file.</li>
            <li>
            <code>struts-config_1_2.dtd</code> - The Document Type Definition (DTD) for the Struts 1.2 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_1.dtd</code> - The Document Type Definition (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 Definition (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 Definition (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 Definition (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>
        <p>For the version requirements of each library, see the
        <a href="installation.html">Installation chapter</a>.</p>
      </div>
      <h2 id="New">What's new?</h2>
<div class="indent">
        <p>This section highlights new features added and critical changes made since the last release. Other interesting changes are listed in the
        <a href="#Changes">What Changed?</a> section. Subscribers to the
        <a href="../using.html#Lists">struts-dev mailing list</a>, receive reports of all changes as they are made.</p>
        <p>
        <strong>Deprecations</strong> - Many constructs were deprecated for the Struts 1.1 release, most of which have now been removed. Before moving to this release, you should clean-compile your application with deprecation warnings enabled. Alternatives should be available for all decprecated constructs.
        <strong>You are strongly advised</strong> to resolve all Struts 1.1. deprecations before moving to this release. Removed constructs most likely to affect developers are:</p>
        <ul>
          <li>
          <code>org.apache.struts.Action</code> statics: Use
          <code>org.apache.struts.Global</code> statics instead.</li>
          <li>
          <code>Action.perform</code>: Use
          <code>Action.execute</code> instead.</li>
        </ul>
        <p>Although not removed or deprecated, in many cases
        <strong>you should replace</strong> the 
        <code>ActionErrors</code> with the preferred
        <code>ActionMessages</code> to ensure correct operation.</p>
        <p>
        <strong>TagUtils and ModuleUtils</strong> - Many utility methods previously found in
        <code>org.apache.struts.utils.RequestUtils</code> have been moved to
        <code>org.apache.struts.taglibs.TagUtils</code> or
        <code>org.apache.struts.utils.ModuleUtils</code>.</p>
        <p>
        <strong>GenericDataSource / GenericConnection implementations removed</strong> - The datasources manager is still supported, but our own datasource
        <em>implementation</em>is not. You are welcome to plug in your own DataSource implementation, but we do not have the resources to maintain one of our own. If your container does not supply a DataSource implementation, the DBCP package from the Jakarta Commons is suggested.</p>
        <p>
          <strong>Validator enhancements</strong>
        </p>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -