Yes.
In fact, the Actions are POJO's only if they do not extend the ActionSupport
class and dont get hooked into the framework statically. 

An excellent (meaning precise and sweet) introduction to this migration
scenario is here by Ian Roughley:
http://www.infoq.com/news/2006/12/struts-migration
(unfortunately the pages dont link forward, so this is actually part 3).


newton.dave wrote:
> 
> Just some clarifications.
> 
>> 4.   Action Classes
>> b) Make your Action class to extend ActionSupport, instead of Action.
>> While
>> this is not mandatory, it is beneficial to do so because then any POJO
>> can
>> be used as an Action Object. Further we then will have access to
>> predefined
>> tokens such as SUCCESS and ERROR.
> 
> The reason to extend ActionSupport is to get the default implementations
> of
> things like validation and I18N support. Actions are POJOs without
> extending
> ActionSupport.
> 
> Dave
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/migration-from-struts-1-to-2-tp16819256p16933348.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to