读书人

The action name cannot be the same

发布时间: 2013-11-08 17:52:32 作者: rapoo

The action name cannot be the same as the action suffix [Action]遇到此问题的解决方法
把继承ActionSupport这个类所导入的包,换成以下的包即可:
import com.opensymphony.xwork2.ActionSupport;

注意不要导入下面的这个包,否则就会报上面的错误:
import org.springframework.web.struts.ActionSupport;

读书人网 >软件架构设计

热点推荐