Struts 2.2.1

This page discusses - Struts 2.2.1

Struts 2.2.1

Struts 2.2.1 released

     

The latest version of Struts framework is released. The new version is Struts 2.2.1 and it includes many new features and enhancements.

In this section we will discuss the new features added to the Struts 2.2.1.

The Struts 2.2.1 is the best available version of the Struts 2 framework. The download of Struts 2.2.1 contains libraries, examples, demo projects and documentations. You can download it from http://struts.apache.org/download.cgi and then use it for developing the applications.

Here are the changes and new features of Struts 2.2.1:

  1. XWork was moved to ASF
  2. XWork Maven artifact is now under <groupId>org.apache.struts.xwork</groupId>.
  3. Now it is using OGNL version 3.0
  4. Javassist dependency was excluded in OGNL
  5. The Freemarker cache options added in this release

Change in the Maven Dependency and Snapshot Repository.

If you are using Maven to build your project you should now use the following dependency:
  <dependency>
   <groupId>org.apache.struts</groupId>
   <artifactId>struts2-core</artifactId>
   <version>2.2.1</version>
  </dependency>

If you are using Snapshot Repository then use the following configuration:
  <repositories>
  <repository>
  <id>apache.nexus</id>
  <name>ASF Nexus Staging</name>
  <url>https://repository.apache.org/content/groups/staging/</url>
  </repository>
  </repositories>