These are the notes for the Struts 2.5 distribution.
For prior notes in this release series, see Version Notes 2.3.28.1
<dependency> <groupId>org.apache.struts</groupId> <artifactId>struts2-core</artifactId> <version>2.5</version> </dependency> |
You can also use Struts Archetype Catalog like below
mvn archetype:generate -DarchetypeCatalog=http://struts.apache.org/ |
<repositories> <repository> <id>apache.nexus</id> <name>ASF Nexus Staging</name> <url>https://repository.apache.org/content/groups/staging/</url> </repository> </repositories> |
xwork
artifact nor dedicated jarid
and name
- replaced with var
, see WW-2069New result 'JSONActionRedirectResult' in json-plugin was defined, see WW-4591
Some classes were moved to different packages, see the list below for more details:
import org.apache.struts2.dispatcher.filter.StrutsExecuteFilter
import org.apache.struts2.dispatcher.filter.StrutsPrepareFilter
import org.apache.struts2.dispatcher.listener.StrutsListener
import org.apache.struts2.result.ServletRedirectResult
import org.apache.struts2.dispatcher.ng.filter.StrutsExecuteFilter
import org.apache.struts2.dispatcher.ng.filter.StrutsPrepareFilter
import org.apache.struts2.dispatcher.ng.listener.StrutsListener
import org.apache.struts2.dispatcher.ServletRedirectResult