MVC框架 Struts V2.5 发布
jopen 8年前
<p style="text-align: center;"><img alt="" src="https://simg.open-open.com/show/5e2b50b23bf35c16287bc37b4a5b1744.jpg" /></p> <h2>简介</h2> <p> Struts 是 Apache软件基金会(ASF)赞助的一个开源项目。它最初是 Jakarta项目中的一个子项目,并在2004年3月成为ASF的顶级项目。它通过采用 Java Servlet/JSP 技术,实现了基于Java EE Web应用的MVC设计模式的应用框架,是MVC经典设计模式中的一个经典产品。</p> <h2>更新日志</h2> <h3>Internal Changes</h3> <ul> <li><img alt="MVC框架 Struts V2.5 发布" src="https://simg.open-open.com/show/56c09ccf83f310f3af59608a83c56209.png" width="16" height="16" /> All security patches from prior versions were merged into this version</li> <li>XWork source was merged into Struts Core source, it means that there be no more <code>xwork</code> artifact nor dedicated jar</li> <li>Spring dependency for tests and spring plugin was upgraded to version 4.1.6, see <a href="/misc/goto?guid=4958990412387813665">WW-4510</a>.</li> <li>Struts2 internal logging api was marked as deprecated and was replaced with new <a href="/misc/goto?guid=4958521827512185851">Log4j2</a> api as logging layer, see <a href="/misc/goto?guid=4958990412511806095">WW-4504</a>.</li> <li>Struts2 is now build with JDK7, see <a href="/misc/goto?guid=4958990412603909137">WW-4503</a>.</li> <li>New plugin to support <a href="/misc/goto?guid=4958990412684909898">bean validation</a> is now part of the distribution, see <a href="/misc/goto?guid=4958990412775997752">WW-4505</a>.</li> <li>Deprecated plugins are now removed from the distribution and are not longer supported anymore. <ul> <li>Dojo Plugin</li> <li>Codebehind Plugin</li> <li>JSF Plugin</li> <li>Struts1 Plugin</li> </ul> </li> <li>New security option was added - Strict Method Invocation (also known as Strict DMI), see <a href="/misc/goto?guid=4958990412860011382">WW-4540</a></li> <li>Added support for latest stable AngularJS in Maven archetype, see <a href="/misc/goto?guid=4958990412953994959">WW-4522</a></li> <li>Dropped support for <code>id</code> and <code>name</code> - replaced with <code>var</code>, see <a href="/misc/goto?guid=4958990413051236726">WW-2069</a></li> <li>Dedicated archive with a minimal set of dependencies was introduced, see <a href="/misc/goto?guid=4958990413139664358">WW-4570</a></li> <li>It is possible to use multiple names when defining a result, see <a href="/misc/goto?guid=4958990413228013141">WW-4590</a></li> <li>Rest plugin honors Accept header, see <a href="/misc/goto?guid=4958990413324967913">WW-4588</a></li> <li> <p>New result 'JSONActionRedirectResult' in json-plugin was defined, see <a href="/misc/goto?guid=4958990413416575613">WW-4591</a></p> </li> <li>Tiles plugin was upgrade to the latest Tiles 3 and tiles3-plugin was dropped, see <a href="/misc/goto?guid=4958990413504866468">WW-4584</a></li> <li>JasperReports plugins was upgraded to JasperReport 6.0, see <a href="/misc/goto?guid=4958990413589422319">WW-4381</a></li> <li>OGNL was upgraded to version 3.1.4 and it breaks access to properties as it follows Java Bean Specification, see <a href="/misc/goto?guid=4958990413682495738">WW-4207</a> and <a href="/misc/goto?guid=4958990413778210690">WW-3909</a></li> <li>Annotations to configure Tiles, see <a href="/misc/goto?guid=4958990413860605733">WW-4594</a> and <a href="/misc/goto?guid=4958990413952920668">Tiles Plugin</a></li> </ul> <h3>Package names have changed</h3> <p>Some classes were moved to different packages, see the list below for more details:</p> <ul> <li>New:<br /> <code>import org.apache.struts2.dispatcher.filter.StrutsExecuteFilter</code><br /> <code>import org.apache.struts2.dispatcher.filter.StrutsPrepareFilter</code><br /> <code>import org.apache.struts2.dispatcher.listener.StrutsListener<br /> import org.apache.struts2.result.ServletRedirectResult</code></li> <li>Old:<br /> <code>import org.apache.struts2.dispatcher.ng.filter.StrutsExecuteFilter</code><br /> <code>import org.apache.struts2.dispatcher.ng.filter.StrutsPrepareFilter</code><br /> <code>import org.apache.struts2.dispatcher.ng.listener.StrutsListener</code><br /> <code>import org.apache.struts2.dispatcher.ServletRedirectResult</code></li> </ul> <p> </p> <h3>下载地址</h3> <ul> <li>Full Distribution: <ul> <li><a href="/misc/goto?guid=4958990414043355328">struts-2.5-all.zip</a> (65MB) [<a href="/misc/goto?guid=4958990414133331804">PGP</a>] [<a href="/misc/goto?guid=4958990414218806774">MD5</a>]</li> </ul> </li> <li>Example Applications: <ul> <li><a href="/misc/goto?guid=4958990414312423644">struts-2.5-apps.zip</a> (35MB) [<a href="/misc/goto?guid=4958990414415094582">PGP</a>] [<a href="/misc/goto?guid=4958990414511059911">MD5</a>]</li> </ul> </li> <li>Essential Dependencies Only: <ul> <li><a href="/misc/goto?guid=4958990414598431720">struts-2.5-min-lib.zip</a> (4MB) [<a href="/misc/goto?guid=4958990414689275681">PGP</a>] [<a href="/misc/goto?guid=4958990414776074144">MD5</a>]</li> </ul> </li> <li>All Dependencies: <ul> <li><a href="/misc/goto?guid=4958990414868778210">struts-2.5-lib.zip</a> (19MB) [<a href="/misc/goto?guid=4958990414965873204">PGP</a>] [<a href="/misc/goto?guid=4958990415062722584">MD5</a>]</li> </ul> </li> <li>Documentation: <ul> <li><a href="/misc/goto?guid=4958990415148838531">struts-2.5-docs.zip</a> (13MB) [<a href="/misc/goto?guid=4958990415247092116">PGP</a>] [<a href="/misc/goto?guid=4958990415337132376">MD5</a>]</li> </ul> </li> <li>Source: <ul> <li><a href="/misc/goto?guid=4958990415432451609">struts-2.5-src.zip</a> (7MB) [<a href="/misc/goto?guid=4958990415525501882">PGP</a>] [<a href="/misc/goto?guid=4958990415626563779">MD5</a>]</li> </ul> </li> </ul>