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

posted on 2013-10-16 21:51  天神Deity  阅读(97)  评论(0编辑  收藏  举报

导航