把继承ActionSupport这个类所导入的包,换成以下的包即可:
import com.opensymphony.xwork2.ActionSupport;
注意不要导入下面的这个包,否则就会报上面的错误:
import org.springframework.web.struts.ActionSupport;
The action name cannot be the same as the action suffix [Action]遇到此问题的解决方法
猜你喜欢
转载自leejay5.iteye.com/blog/1964350
今日推荐
周排行