xmlns:context=http://www.springframework.org/schema/context
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.0.xsd
<context:annotation-config></context:annotation-config>
<context:component-scan base-package="cn.jbit.dao.impl"></context:component-scan>
<context:component-scan base-package="cn.jbit.biz.impl"></context:component-scan>
<context:component-scan base-package="cn.jbit.action"></context:component-scan>
原文:http://www.cnblogs.com/zhangzhipeng0815/p/4069930.html