DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.
These are the notes for the Struts version 6.8.0 distribution.
For prior notes in this release series, see Version Notes 6.7.4
Maven users
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>6.8.0</version> </dependency>
You can also use Struts Archetype Catalog like below
Struts Archetype Catalog
mvn archetype:generate -DarchetypeCatalog=http://struts.apache.org/
Bug
- [WW-2963] - default-action-ref fails to find wildcard named actions
- [WW-3095] - URL has no setEncoding
- [WW-3532] - client validation isn't generated when using a VisitorFieldValidator annotation
- [WW-3540] - repopulateField config does not work correctly after conversion failed
- [WW-4184] - When a getter of an action calls getText("getterName.something"), method call stack overflow occurs
- [WW-4301] - includeProperties Does Not Work with a List of Lists
- [WW-4421] - Duplicate @Action value annotation check skipped
- [WW-4428] - Add support for new Java 8 LocalDate and LocalDateTime to the JSON plugin
- [WW-4508] - DefaultActionMapperTest failures due to invalid mock type for parameterMap
- [WW-4625] - Struts 2 XSS vulnerability with <s:textfield> when <s:include> is used.
- [WW-4672] - StrutsApplicationResource incompatible with superclass PostfixedApplicationResource
- [WW-5294] - s:url tag usage in a public page triggers a warning to not expose JSP pages directly
- [WW-5368] - Access warning when get resource bundle which its name starts with "label"
- [WW-5494] - Using struts2.ActionSupport instead of xwork2.ActionSupport cause interceptors stack corrupted
- [WW-5504] - CSP Nonce changes within a page
- [WW-5514] - Allow configuration of ProxyUtil for cache types
- [WW-5523] - StrutsPrepareAndExecuteFilter, wrappedRequest or request when no action mapping is found?
- [WW-5524] - Dependency injection not working in custom StrutsTypeConverter(s)
- [WW-5528] - Multipart uploads with invalid characters in file or field name are silently dropped
- [WW-5535] - HttpMethodInterceptor does not work with action names using wildcards
- [WW-5537] - Memory Leak
- [WW-5542] - Encoding issue in javascript included in JSPs
- [WW-5546] - NPE in AbstractFileUploadInterceptor
- [WW-5549] - i18n interceptor param supportedLocale (when set) disables request_locale param functionality
- [WW-5559] - NotSerializableException: com.opensymphony.xwork2.conversion.impl.ConversionData
New Feature
- [WW-3526] - Augment JakartaMultiPartRequest to include optional progress listener
- [WW-4483] - Add Listener for Configuration events
- [WW-4759] - Dedicated struts2-api Maven artefact
Improvement
- [WW-1742] - new token associated execute and wait interceptor
- [WW-2867] - Add a method allowing to know what is the name of the "method" passed in the request
- [WW-3209] - Select components do not allow setting attributes and JavaScript events on <option /> tags
- [WW-3226] - Add optional support to AliasInterceptor to overwrite aliased parameters
- [WW-3233] - @Result name aliases
- [WW-3666] - TypeConverter should trim before conversion to things that are not Strings
- [WW-3933] - Provide web-fragment.xml for easier deployment on Servlet 3.0 compliant containers
- [WW-4147] - Have StrutsPrepareAndExecuteFilter initialize Freemarker rather than first actual Request
- [WW-4291] - Can't use Spring bean name for type convertor
- [WW-4329] - Support ConfigurationManagerListener
- [WW-4395] - Make email validator regex comply with RFC 6531
- [WW-4478] - Can't install own ValidatorFileParser
- [WW-4858] - JSONInterceptor must not populate value stack directly
- [WW-4904] - Support for cross context request processing
- [WW-5249] - Move test related classes into new struts2-test module
- [WW-5375] - Use GH Actions to publish SNAPSHOTS
- [WW-5501] - Exclude malicious names
- [WW-5511] - Remove deprecated CspSettings#addCspHeaders()
- [WW-5513] - Struts 6.4.0 performance issue in jdk 21
- [WW-5544] - Mark org.apache.struts2.util.reflection.ReflectionContextFactory
- [WW-5560] - Support IntelliJ Platform 2024.2
- [WW-5563] - Support IntelliJ Platform 2025.2
Task
- [WW-4797] - orphaned Factory code never called from spring-plugin
Dependency
- [WW-5564] - Upgrade commons-fileupload to version 1.6.0
- [WW-5567] - Bump log4j2.version from 2.24.1 to 2.25.1
- [WW-5568] - Bump jackson.version from 2.18.0 to 2.20.0
- [WW-5570] - Bump org.apache.commons:commons-collections4 from 4.4 to 4.5.0
- [WW-5571] - Bump org.apache.commons:commons-compress from 1.27.1 to 1.28.0