What’s New in Apache Struts 2.5.22? Key Features, Fixes, and Upgrade Guide
Apache Struts 2.5.22 GA introduces numerous bug fixes, library upgrades, and optional security enhancements for Java web applications, while maintaining the framework’s core goal of simplifying the full development lifecycle from build to deployment and maintenance.
Apache Struts 2.5.22 GA Released
Apache Struts 2 is an elegant, extensible framework for building enterprise‑level Java web applications. The 2.5.22 release simplifies development, deployment and maintenance.
Note: Struts 2 adds new security enhancements that are disabled by default; enable them for stronger protection. See the Security Guide for details. Minimum requirements for the 2.5.x series are Servlet API 2.4, JSP API 2.0 and Java 7.
The main changes in this version include:
Fixed file‑upload failures on certain clients.
listValueKey now throws an exception when a property is missing.
logMissingProperties now correctly logs OgnlValueStack entries.
Static variable calls removed in Struts 2.8.20.
NullPointerException in ProxyUtil when accessing static members.
JSON plugin may throw EmptyStackException under concurrency.
Tiles bug fixed when parsing file:// URLs containing “#”.
OGNL static variable access no longer returns content.
HttpParameters.Builder can wrap objects in two‑level parameters.
Form submission now binds integer arrays.
TokenSessionStoreInterceptor may interrupt after two submissions since 2.5.16.
xerces attempts to load resources from the internet.
Dispatcher prints stack traces directly to the console.
OGNL illegal reflective access operations fixed.
Convention plugin lacks Java 11 support.
SLF4J upgraded to the latest 1.7.x version.
Minor enhancements/fixes to AbstractLocalizedTextProvider.
Mechanism to clear OgnlUtil cache added.
StrutTestCase class now used for unit testing.
Jackson library upgraded to the latest version.
OGNL upgraded to 3.1.22.
Various Struts 2.5.x libraries updated to latest versions.
commons‑beanutils upgraded to 1.9.4.
Jackson‑Databind upgraded to 2.9.9.3.
OGNL upgraded to 3.1.26 with new features.
Download the release at https://struts.apache.org/download.cgi.
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
Programmer DD
A tinkering programmer and author of "Spring Cloud Microservices in Action"
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
