You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ra...@iflexsolutions.com on 2006/02/21 06:41:55 UTC

Struts 1.0 and new versions

Hi,

 

Struts 1.0 and 1.1

 

The new features added to Struts 1.1 are 

 

RequestProcessor class   

Method perform() replaced by execute() in Struts base Action Class


Changes to web.xml and struts-config.xml

Declarative exception handling

Dynamic ActionForms

Plug-ins

Multiple Application Modules

Nested Tags

The Struts Validator

Change to the ORO package

Change to Commons logging

Removal of Admin actions

Deprecation of the GenericDataSource

 

Struts 1.2 to 1.3

 

Opt-In Cancel Handling

 

In Struts 1.2 and prior, any time the magic token generated by the
Cancel tag is found in the request, validation for the ActionForm is
skipped. Accordingly, in Struts 1.2 and prior, any Action that relies on
validation should always observe the isCancelled method. 

 

In Struts Action 1.3, the Cancel token is only honored if the new
property "cancellable" is set for the Action Mapping. If the Cancel
token is present, but cancellable is not set, then an
InvalidCancelException is thrown. The InvalidCancelExeption may be
caught by a Declarative Exception Handler, like any other Exception.

 

Jars

 

I guess its obvious to say you need to replace the jars, but the one
people might forget is the new commons-validator.jar for version 1.1.3
of validator. 

 

Also if you want to start using the new validwhen validation rule, then
you will need to deploy the antlr.jar as well.

 

New URI

 

Struts 1.1 <%@ taglib uri="http://jakarta.apache.org/struts/tags-html
prefix="html" %>  

 

Struts 1.2.x <%@ taglib uri="http://struts.apache.org/tags-html
prefix="html" %>

 

Specification Changes

 

The 1.3.x series of Struts Action Framework now has a minumum
requirement of the following specification versions: 

Java Servlet 2.3 and JavaServer Pages (JSP) 1.2 

Java 2 Standard Platform Edition (J2SE) 1.4

 

 

 

 

Kind regards,

 

Rakesh Bhat