23 October 2007 - Struts 2.0.11 General Availability Release

Struts2.0.11于2007年10月23日发布,修复了自2.0.9版以来的问题并改进了功能。此版本修正了一个严重的安全漏洞,并引入了实验性功能,如Java1.4支持、CookieInterceptor等。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值