Posted on 2006-04-07 20:32
gong 閱讀(522)
評論(1) 編輯 收藏 所屬分類:
struts
? DispatchAction 必須不寫execute(... ...)方法, 否則反而有問題,
使用中我發現如果你寫了exceute 方法 struts仍然首先調用改excute()方法, 這是即使你配置了 method 參數如
action="abcAction.do?method=load" 也無效, struts 仍然首先執行execute,
故DispatchAction中不要寫execute( ... ...) 方法.?