These are the notes for the Struts 2.3.1.2 distribution.
For prior notes in this release series, see Version Notes 2.3.1.1
- 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.
Code Block |
---|
| xml |
---|
| xml |
---|
title | Maven Dependency |
---|
|
<dependency>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-core</artifactId>
<version>2.3.1.2</version>
</dependency> |
You can also use Struts Archetype Catalog like below
Code Block |
---|
| none |
---|
| none |
---|
title | Struts Archetype Catalog |
---|
|
mvn archetype:generate -DarchetypeCatalog=http://struts.apache.org/2.3.1.2/
|
Code Block |
---|
| xml |
---|
| xml |
---|
title | 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
- Default acceptedParamNames were further updated to more restrictive values to solve security vulnerabilities in ParameterInterceptor.
Also a new method was added to ValueStack called setParameter to prevent remote code execution through the evaluation of parameter names.
Issue Detail
Issue List
Other resources