版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/G66565906/article/details/83748688
Struts2 在扫描 Action时,先是进行包扫描,再进行类扫描
1:扫描所有包名中包含action, actions, strtus, strtus2的包
2:再扫描找到的包下所有的com.opensymphony.xwork2.action的实现及以Action结尾的类
ps:需在WEB-INF/lib下引入struts-converention-plugin * .jar