基于XML配置SpringMVC 1、在src–>main–>resources目录上点击右键,选择New–>XML Configuration File–>Spring Config,创建springmvc.xml配置文件 相关文章: