直接上图idea 用maven整合struts2 访问action时,访问不到不知道为什么找不到struts.xml位置,所以我们需要在web.xml手动初始化配置参数添加:

config struts-default.xml,src/main/java/struts.xml

相关文章: