You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Don Brown <mr...@twdata.org> on 2006/06/23 18:13:14 UTC

doDefault replacement? (was [jira] Created: (WW-1360) Remove AroundInterceptor and do* method support)

As I understand it, doDefault was basically the WW equivalent of a forward 
Action.  Ted's migration guide as a section on it [1].  The short answer is just 
to omit the className attribute altogether:

<action name="Welcome">
<result>/pages/Welcome.jsp</result>
</action>

Don

[1] http://confluence.twdata.org/display/WW/Issues+and+Solutions

Peter Pilgrim wrote:
> Don Brown (JIRA) wrote:
>> Remove AroundInterceptor and do* method support
>> -----------------------------------------------
>>
>>          Key: WW-1360
>>          URL: http://issues.apache.org/struts/browse/WW-1360
>>      Project: Struts Action 2
>>         Type: Improvement
>>
>>   Components: Actions, Configuration, Interceptors      Reporter: Don 
>> Brown
>>  Assigned to: Don Brown      Fix For: 2.0.0
>>
>>
>> We should remove any usage of AroundInterceptor as that has been 
>> removed from XWork 2.0, and we should remove support for the legacy 
>> do* action method name pattern.
>>
> 
> Don and Patrick
> 
> This pattern is used inside the book WebWork in Action e.g ``String 
> doDefault()'', what is the new idiom then?
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org