现在的位置: 首页 > 综合 > 正文

struts2注解 no Action mapped for namespace and …

2018年02月05日 ⁄ 综合 ⁄ 共 202字 ⁄ 字号 评论关闭

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

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

抱歉!评论已关闭.