...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<dependency>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-core</artifactId>
<version>2.3.16</version>
</dependency>
|
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
mvn archetype:generate -DarchetypeCatalog=http://struts.apache.org/
|
...
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
ParamNameAwareResult
was defined, 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 The
action:
andmethod:
prefixes are be by default excluded and changed order to first checkexcludeParams
and thenacceptedParams
in ParametersInterceptor, see WW-4023Restored previous behaviour where both
ParamatersInterceptor
ANDParameterNameAware
must accept parameter - there is no more precedenceAdded proper support for multiple
ActionMapper
's used withPrefixBasedActionMapper
, see PrefixBasedActionMapper and WW-4131- New DeprecationInterceptor was added, to warn users about unknown/deprecated options, see WW-4232
<s:debug/>
tag was improved and now works properly under Jetty, see WW-4223- New PostbackResult was defined, see WW-4229
- Improved extending theme mechanism to allow override single template in parent theme, see WW-4145 and Extending Themes
Solved problem with creating empty map entries via Ognl, see WW-3603
- and other small improvements
...