These are the notes for the Struts 2.5.5 distribution.
For prior notes in this release series, see Version Notes 2.5.2
- 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.5</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-4601] - webconsole can always be accessed
- [WW-4628] - Space character and includeParams
- [WW-4631] - Empty <s:param name="p1" value=""/> is being supressed
- [WW-4638] - TestNG 6.9.10 dependency error
- [WW-4646] - remove ASM 3 from struts2
- [WW-4649] - SMI do not work with JSON plugin
- [WW-4652] - Concurrency issue in addDefaultResourceBundle
- [WW-4653] - Source jars get deployed twice during release process
- [WW-4654] - Action parameters should be included when building the URL to action
- [WW-4662] - StreamResult closes outputstream early
- [WW-4663] - NullPointerException when displaying a form without action attribute
- [WW-4667] - ParametersInterceptor excludeParams only applies to first instance of params interceptor in paramsPrepareParamsStack
- [WW-4669] - Struts 2.5.1 gives errors on unexpected action names
- [WW-4671] - URL validator is case sensitive
- [WW-4673] - InputFileStream not closed in Stream results
- [WW-4675] - Select box does not pre-select chosen values
- [WW-4678] - Post method doesn't work
- [WW-4679] - Tiles-Plugin unable to load tiles definition XML
- [WW-4681] - Missing brackets in checkbox.ftl of css_xhtml template
- [WW-4684] - Parameters not set to action when posting JSON
Improvement
- [WW-4316] - Move Struts Archetypes to dedicated project
- [WW-4572] - Add dedicated class to represent Http Parameters
- [WW-4620] - ParametersInterceptor should check collection index to against DOS
- [WW-4639] - Upgrade Log4j2 to latest version, at least 2.6
- [WW-4660] - Move example portlet-app into struts-examples
- [WW-4670] - Upgrade JFreeChart plugin to the latest version of JFreeChart
- [WW-4674] - StrutsPrepareAndExecuteFilter should check for response commited status
- [WW-4676] - ConversionErrorInterceptor to extend MethodFilterInterceptor
- [WW-4677] - I18N Interceptor automatically validates Locale
- [WW-4680] - Upgrade Tiles to 3.0.7 GA version
- [WW-4682] - Update Struts DeprecationInterceptor documentation because not accessible
- [WW-4685] - Allow directly accessing I18N keys from Tiles defintions
- [WW-4686] - Merge two existing I18NInterceptors into one
- [WW-4688] - Exclude "java.ext.dirs" when scanning for actions
- [WW-4689] - CycleDetector - use enum instead of String constants
- [WW-4690] - struts2-core - maven-config - missing version for jshint-maven-plugin
- [WW-4695] - Upgrade Commons Collections to 4.1
- [WW-4696] - Upgrade to Log4j 2.7
- [WW-4697] - Warn about excluded action|method only when DMI is disabled
The Struts2 Java8 plugin was dropped as a part of WW-4646 - you don't need it anymore as this was a workaround for using ASM 3 in the Struts2 Core.