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

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

  • 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.10</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-4693] - How to handle 404 when using wildcard instead of error 500 when the wildcard method doesn't exist
  • [WW-4725] - MessageStoreInterceptor must handle all redirects
  • [WW-4726] - MaxMultiPartUpload limited to 2GB (Long --> Integer)
  • [WW-4727] - Struts 2.5.8 no longer supports the <include> directive in the struts.xml
  • [WW-4728] - JSONValidationInterceptor change static parameters names
  • [WW-4729] - ServletDispatcherResult can't handle parameters anymore
  • [WW-4730] - TokenInterceptor synchronized on session.getId().intern()
  • [WW-4731] - XSLT error during transformation
  • [WW-4733] - No default parameter defined for result [json] of type [org.apache.struts2.json.JSONResult]
  • [WW-4734] - I18Interceptor ignores session or cookie Locale after first lookup failure
  • [WW-4735] - EmailValidator does not accept new domain suffixes

Improvement

  • [WW-3961] - struts.xml include not loading in dependant jar files
  • [WW-4050] - AnnotationValidationInterceptor should consult UnknownHandler before throwing NoSuchMethodException
  • [WW-4102] - ActionSupport.LOG should be private
  • [WW-4159] - Remove StrutsObjectFactory and define StrutsInterceptorFactory instead
  • [WW-4174] - Make OgnlValueStack and OgnlValueStackFactory More Extensible
  • [WW-4687] - Make interceptor parameters dynamic

New Feature

 

  • [WW-3787] - allow include other config files from classpath

Issue Detail

Issue List

Other resources