就是當你<result name="success" type="redirectAction">roleList</result>這個action中的返回字段是SUCCESS或者"success"時,由於這個返回類型type="redirectAction",也就是說它重定向到另外一個action中,這個action的名字就叫roleList.你在你的actin的name="roleList"這個action中看一下,它又執行了哪一個action類,假如<action name="roleList" class="com.RoleListAction"> <result> index.jsp </result> </action> 這就會讓你這從新到com.RoleListAction中去執行execute()這個方法,執行完後會跳轉到index.jsp這個頁面中