Child pages
  • Version Notes 2.1.1
Skip to end of metadata
Go to start of metadata

(tick) These are the notes for the Struts 2.1.1 build.

(tick) For prior notes on the the prior release series, see Version Notes 2.1.0

  • If you are a Maven user, you might want to get started using the Maven Archetype.
  • Another quick-start entry point is the blank application. Rename and deploy the WAR as a starting point for your own development.
Maven Dependency
<dependency>
  <groupId>org.apache.struts</groupId>
    <artifactId>struts2-core</artifactId>
      <version>2.1.1</version>
</dependency>
Snapshot Repository
<repositories>
  <repository>
    <id>apache.snapshots</id>
    <name>ASF Maven 2 Snapshot</name>
    <url>http://people.apache.org/repo/m2-snapshot-repository</url>
  </repository>
</repositories>

Backward compatibility issues with previous versions

  • Since 2.1.0: All default result names and interceptor names are now in camelCase (eg. was redirect-action, is now redirectAction)
  • Since 2.1.0: The "ajax" theme is provided by the Dojo Plugin. Applications using the ajax theme must include the Dojo Plugin dependency and modify existing pages to import the plugin's own taglib/model
  • Since 2.1.0 Tiles plugin: A DOCTYPE is now mandatory in the Tiles definitions XML
  • The immutable Configuration object is now created via a builder. The API is not compatible with prior versions. This primarily affects plugins that define Configuration.
  • The static method ActionContext.getContext() no longer lazily initializes an ActionContext. Unit tests that relied upon this behaviour need to setup the ActionContext via the Container first.
  • OGNL method calls like "text(key)" now invoke "text(String)" instead of "getText(String)". This affects method calls only, not properties. Some OGNL expressions may need to be updated.
  • Since 2.1.1 the REST plugin does not depend on the Codebehind plugin. Maven users using REST with Codebehind have to add a dependency to Codebehind.

New Features and Plugins

  • REST Plugin
  • JUnit Plugin (moved out of core)
  • TestNG Plugin (moved out of core)
  • DWR Plugin (moved out of core)
  • Portlet support moved to plugin (Since 2.1.0)

Issue Detail

Issue List

Other resources

Build/Release Plan

  • Struts 2.1.1 was the second milestone/test-build in the 2.1.x series.
    • There is yet to be a GA release in this series.
  • The Build/Release Managers is Don Brown
  • The tag date for the build was 18 April, 2008
  • The test build never made it the quality vote stage due to licensing and artifact content issues.
  • No labels

2 Comments

  1. In the Issue Detail section, the link points to the release notes for 2.0.6. Shouldn't it point to the notes for 2.1.1. I am not real comfortable with wiki markup, or I would make the change myself. I think the URL for the 2.1.1 JIRA Release Notes is here - https://issues.apache.org/struts/secure/ReleaseNote.jspa?projectId=10030&styleName=Html&version=21863

    1. Yes, you are right. Fixed, thanks.