Redirect Action Result
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:
- actionName
- namespace
- method
- encode
- parse
- location
- prependServletContext
parameters
------------
?











































<param name="轉發的action的成員名">${被轉發的action中變量}</param>
???<param name="fileName">${fileName}</param>
posted on 2009-04-26 22:59 luofeng225 閱讀(450) 評論(0) 編輯 收藏 所屬分類: Struts2