webwork和spring多配置文件的方法 webwork中只要在xwork.xml中包含其它配置文件即可,如: <include file="xwork-eduadmin.xml"/> <include file="xwork-student.xml"/> <include file="xwork-test.xml"/>spring多配置文件的话,只需要在web.xml文件按照如下定义: <context-param> <param-name>contextConfigLocation</param-name> <param-value> /WEB-INF/applicationcontext*.xml </param-value> </context-param>则可实现applicationcontext开头的多配置文件。