context.xml 1.6 KB

12345678910111213141516171819202122232425262728293031
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <beans xmlns="http://www.springframework.org/schema/beans"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xmlns:context="http://www.springframework.org/schema/context"
  5. xmlns:aop="http://www.springframework.org/schema/aop"
  6. xmlns:tx="http://www.springframework.org/schema/tx"
  7. xmlns:util="http://www.springframework.org/schema/util"
  8. xsi:schemaLocation="http://www.springframework.org/schema/beans
  9. http://www.springframework.org/schema/beans/spring-beans.xsd
  10. http://www.springframework.org/schema/context
  11. http://www.springframework.org/schema/context/spring-context.xsd
  12. http://www.springframework.org/schema/aop
  13. http://www.springframework.org/schema/aop/spring-aop.xsd
  14. http://www.springframework.org/schema/tx
  15. http://www.springframework.org/schema/tx/spring-tx.xsd
  16. http://www.springframework.org/schema/util
  17. http://www.springframework.org/schema/util/spring-util.xsd">
  18. <!-- 加载配置属性文件 -->
  19. <context:property-placeholder ignore-unresolvable="true" location="classpath:web.properties" />
  20. <context:component-scan base-package="com.bk.sys" />
  21. <context:component-scan base-package="com.bk.wd" >
  22. <context:exclude-filter type="annotation" expression="org.springframework.stereotype.Controller"/>
  23. </context:component-scan>
  24. <context:component-scan base-package="com.bk.wd.pl" />
  25. <context:component-scan base-package="com.bk.bi" />
  26. <context:component-scan base-package="com.bk.oa" />
  27. <context:component-scan base-package="com.bk.sm" />
  28. <context:component-scan base-package="com.bk.cll" />
  29. </beans>