摘要: 使用struts 框架中 DispatchAction 的时候 如果不小心将 execute 方法重写了就会发现 DispatchAction不起作用.了.我个人认为这应该算是struts框架的一个小小的bug .我们可以利用java的反射机制自定义 DispatchAction来解决这一问题.代码:struts-config.xml:<action attribute="calculateForm" input="/calculate.jsp" name="calculateForm" path="/calculat 阅读全文
posted @ 2008-04-01 09:29 shine_panda 阅读(136) 评论(0) 推荐(0) 编辑