在xml配置文件中傳遞非中文字符可以直接用${參數}直接跟在action方法名后頭
<result name="success" type="redirect">getCompleteList.shtml?p_years=${p_years}&newpeoinfoid=${newpeoinfoid}&newpeoname=${newpeoname}
如果參數有中文建議用。。
<result name="success" type="chain">getList</result> 其中getList為要跳轉去的action 方法。。。參數直接在action中定義。。必須寫上setter和getter方法。。
posted on 2009-06-25 16:07
阿丁 閱讀(375)
評論(0) 編輯 收藏