Redirect Action Result : This redirect pattern is supported by Struts 2. The ActionMapper provided by the ActionMapperFactory is used to redirect the browser to a URL that invokes the specified action. You can see a simple implementation of this in the following struts 2 application.
Redirects Dynamic Parameters: The action-redirect result takes following parameters:
parameters ------------
<param name="转发的action的成员名">${被转发的action中变量}</param> <param name="fileName">${fileName}</param>
posted on 2009-04-26 22:59 luofeng225 阅读(440) 评论(0) 编辑 收藏 所属分类: Struts2
Powered by: BlogJava Copyright © luofeng225