Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment:

Extend Release Notes for WW2

...

  • If you are a Maven developer, 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.

Key snippets

Maven Artifact ID

Code Block

        <dependency>
            <groupId>org.apache.struts</groupId>
            <artifactId>struts2-core</artifactId>
            <version>2.0.0-SNAPSHOT</version>
        </dependency>

Struts Configuration DTD

Code Block

<!DOCTYPE struts PUBLIC
    "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
    "http://struts.apache.org/dtds/struts-2.0.dtd">

Key Changes

Depending on whether you are coming from a WebWork 2 or Struts 1 background, your perspective on the key changes will differ.

From WebWork2

  • Struts 2 is dependant on XWork 2 (nightly build).
  • Java 1.

Detail

  • [Release Notes (to date)

Resolved and Closed Issues

...

  • 5 is required to build the Struts 2 <em>distribution</em> from source, but Java 1.4 is targeted for the binary JARs.

Members to rename

WebWork 2

Struts 2

com.opensymphony.webwork.*

org.apache.struts2.*

xwork.xml

struts.xml

webwork.properties

struts.properties

New Property Settings

struts.compatibilityMode.WebWork

Enable support for the action!alias syntax

This setting will be removed in a future release!

New Members

(warning) ...

Removed or Deprecated

action!alias

The "action!alias" syntax is deprecated. The idiom is disabled by default, but it can be enabled via the struts.compatibilityMode.WebWork property setting. This setting will be removed in a future release.

AroundInterceptor

The AroundInterceptor has been removed. If your application extends the AroundInterceptor, either import the class into your source code form WebWork 2 (pursuant to the Open Symphony License) and modify it to server as your own base class, or rewrite your interceptor.

oldSyntax

Support for the "oldSyntax" is removed .

From Struts 1

Detail

Pending and Open Issues

Jira Issues
https://issues.apache.org/struts/secure/IssueNavigator.jspa?viewrss&&pid=10030&fixfor=21510&status=1&status=3&status=4&sorter/field=priority&sorter/order=DESC&tempMax=250&reset=true&decorator=none
columnstype; key; summary; status; resolution