在配置文件struts2.xml下使用include标签 <!-- file输入引入文件的路径--> <include file="cn/zhicheng/action/struts2.xml"></include>