These are the notes for the Struts 2.3.16 distribution.
For prior notes in this release series, see Version Notes 2.3.15.3
- If you are a Maven user, you might want to get started using the Maven Archetype.
- Another quick-start entry point is the blank application. Rename and deploy the WAR as a starting point for your own development.
Maven Dependency
<dependency> <groupId>org.apache.struts</groupId> <artifactId>struts2-core</artifactId> <version>2.3.16</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
- Merged security fix from version 2.3.15.1, 2.3.15.2 and 2.3.15.3
- Defined new factory interfaces to simplify extending ObjectFactory, see WW-4158
- New interface was defined
ParamNameAwareResult
, see WW-4144 - Solved problem with global "error" result in the Convention Plugin, see WW-4100
- RolesInterceptor was extended to allow check defined roles and also precedent was changed that
disallowedRoles
are examined in the first place, see WW-4118 - New parameter was added to
<s:param/>
tag to allow suppress empty parameters, see WW-4088 - During
devMode
user can explicit disable XML reloading, I18N reloading and any other, see devMode page - and other small improvements