Difference between Chain and Redirect Action result types
Struts
Chain result type is used for Action Chaining which means that the source result invokes an entire other action, complete with it’s own interceptor stack and result.
Redirect Action result type is used to redirect to another Action which means making your source Action, after it has successfully executed, result in a redirect.
As a rule, Action Chaining is not recommended. Redirect Result or the Redirect Action Result is preferred over Chain Result.
同类其他面试题 点击新一篇或旧一篇可浏览全部同类面试题
新一篇:一道Struts面试题
