晕,你重写它的execute方法,当然不执行了,因为你的execute方法中什么都没做。要知道DispatchAction中的execute方法就是根据你传递过来的参数来执行对应的方法,具体的可见DispatchAction的源代码。你可以把你的UseradminAction中的execute方法删掉,或者改成:
public ActionForward execute(ActionMapping mapping,ActionForm form,
HttpServletRequest request,HttpServletResponse response){
return super.execute(mapping,form,request,response);
}
但是这样做一点意义都没有