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.

同类其他面试题 点击新一篇或旧一篇可浏览全部同类面试题

新一篇:
旧一篇:

你有答案? 你对以上面试题有意见? 你想发表你的见解? 写下来吧!你的分享将会让很多人受益!

相关面试题

·Java框架面试题
·Java SSH面试题集
·SSH框架面试题
·Struts面试题库
·JSP面试题

版权声明:本站大部分内容为原创! 另有少部分内容整理于网络,如需转载本站内容或关切版权事宜请联系站长。未经允许,严禁复制转载本站内容,否则将追究法律责任。 本站欢迎与同类网站建立友情链接,请联系QQ:176687814