DispatchAction 中的exccute

  DispatchAction 必须不写execute(... ...)方法, 否则反而有问题, 使用中我发现如果你写了exceute 方法 struts仍然首先调用改excute()方法, 这是即使你配置了 method 参数如 action="abcAction.do?method=load" 也无效, struts 仍然首先执行execute, 故DispatchAction中不要写execute( ... ...) 方法. 

你可能感兴趣的:(DispatchAction 中的exccute)