23 October 2007 - Struts 2.0.11 General Availability Release

来源:互联网 发布:java程序开发就业培训 编辑:程序博客网 时间:2024/06/05 02:48

23 October 2007 - Struts 2.0.11 General Availability Release

The latest release of Struts 2 is Struts 2.0.11, which was promoted to "General Availability" on 23 October 2007.

For other changes included in Struts 2.0.11, see the release notes. Struts 2.0.11 provides a number of fixes and improvements since the 2.0.9 GA release.  

 

These are the notes for the Struts 2.0.11 distribution.

Struts 2.0.10 corrected a serious security flaw in the Struts 2 tags where using JSP EL expressions could allow malicious OGNL expressions through. All users are encouraged to upgrade to Struts 2.0.11. Note that existing pages that utilize JSP EL expressions with Struts 2 tags will no longer work as of this release.

For prior notes in this release series, see Release Notes 2.0.10

API changes

  • The org.apache.struts2.components.Component.determineActionURL signature has changed: now it has two more parameters. The prior signature is available but deprecated. Extension developers are invited to modify their code accordingly.

Experimental Features and Plugins

Please help us test these brave new features. Feedback appreciated!

  • Java 1.4 support: We are backporting the core Struts and XWork JARs, and, as a courtesy, bundling them with the distribution. However, Struts 2 is being coded for Java 5 and backward compatibility is not assured.
  • Cookie Interceptor: Inject cookie with a certain configurable name / value into action (since 2.0.7) (WW-1678).
  • Portlets: Automatic portlet support allows portal and servlet deployments with no code changes (WW-1645).
  • AJAX Theme: AJAX tags look and feel just like standard Struts tags but provide greater interactivity and flexibility. The AJAX theme is backed by the popular Dojo Toolkit (WW-1609).
  • Zero Configuration: Optionally, eliminate or reduce XML configuration with convention and annotation (WW-1491).
  • REST-ful URLs: Use search-engine friendly URLs, like category/action/movie/Thrillers (WW-1475).
  • Experimental Plugins
    • Codebehind Plugin: Reduce mundane configuration by using "page controller" conventions (WW-1515).
    • Plexus Plugin - A new plugin that enables Struts Actions, Interceptors, and Results to be created and injected by Plexus.
    • Scope Plugin - Initial version of scope plugin that mimics JBoss Seam-style of scoped bijection (presently in the Sandbox).
    • Struts1 Plugin - A new plugin that allows you to use existing Struts 1 Actions and ActionForms in Struts 2 applications..
    • Tiles Plugin - A new plugin allows your Struts actions to return Tiles pages. The Tiles plugin is dependant on Tiles 2, which is still in beta.
原创粉丝点击