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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to