在使用spring mvc框架时,<context:component-scan base-package="com.ultrapower.zjucas.test.controller"/>,包路径必须到controller层,springmvc.xml是用于扫描controller类的