struts2注解 no Action mapped for namespace and …

web.xml 中 actionPackages 这个参数没啥作用,如果不在struts.properties 中指定 struts.convention.package.locators 这个参数的话 Struts默认扫描 以action,actions,struts,struts2 包里面的action,或者以action名称结尾的类。

转自:http://www.iteye.com/problems/80588

原文地址:https://www.cnblogs.com/IntelligentBrain/p/5111327.html