There is no Action mapped for action name XX 问题总结struts2 出现There is no Action mapped for acti
There is no Action mapped for action name XX 问题总结
struts2 出现There is no Action mapped for action name XX 问题可从以下查找原因:
?
1、struts.xml文件确实没有配置,或action的名子出错
?
2、配置包名时,继承extends的包是不是写错了 如?<package name="login" extends="struts-defaut"> 中extends="struts-defaut" 应该为struts-default 。少了一个l
?
3、分模块情况下,配置该action的文件不是struts.xml 文件,却没有在struts.xml文件中include进来。
?
