(tick) These are the notes for the Struts 2.5.20 distribution.

(tick) For prior notes in this release series, see Version Notes 2.5.18

  • If you are a Maven user, you might want to get started using the Maven Archetype.
Maven Dependency
<dependency>
  <groupId>org.apache.struts</groupId>
  <artifactId>struts2-core</artifactId>
  <version>2.5.20</version>
</dependency>

You can also use Struts Archetype Catalog like below

Struts Archetype Catalog
mvn archetype:generate -DarchetypeCatalog=http://struts.apache.org/
Staging Repository
<repositories>
  <repository>
    <id>apache.nexus</id>
    <name>ASF Nexus Staging</name>
    <url>https://repository.apache.org/content/groups/staging/</url>
  </repository>
</repositories>

Internal Changes

Bug

  • [WW-4971] - s:include tag fails with truncated content in certain circumstances
  • [WW-4974] - NullPointerException in DefaultStaticContentLoader#findStaticResource
  • [WW-4977] - Fixing flaky test in Jsr168DispatcherTest and Jsr286DispatcherTest
  • [WW-4984] - Static files like css and js files in struts-core not properly served
  • [WW-4986] - Race condition reloading config results in actions not found
  • [WW-4987] - Setting Struts2 <s:select> options Css Class

Improvement

  • [WW-4995] - Enhancement for s:set tag to improve tag body whitespace control.

Task

  • [WW-4981] - Add support for Java 11

Dependency

  • [WW-4975] - Upgraded commons-fileupload to version 1.4
  • [WW-4978] - Update multiple Struts 2.5.x libraries to more recent versions
  • [WW-4993] - Update OGNL versions for 2.6 and 2.5.x builds

Issue Detail

Issue List

Other resources