spring-mvc-modeler.xml 1.2 KB

1234567891011121314151617181920212223
  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" xmlns:context="http://www.springframework.org/schema/context"
  4. xmlns:mvc="http://www.springframework.org/schema/mvc"
  5. xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
  6. http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd
  7. http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-4.0.xsd">
  8. <!-- 扫描产品jar包 -->
  9. <context:component-scan base-package="com.fsm.workflow"
  10. use-default-filters="false">
  11. <context:include-filter type="annotation"
  12. expression="org.springframework.stereotype.Controller" />
  13. </context:component-scan>
  14. <!-- 扫描投诉产品相关类 -->
  15. <context:component-scan base-package="com.fsm.complaint.transactflow"
  16. use-default-filters="false">
  17. <context:include-filter type="annotation"
  18. expression="org.springframework.stereotype.Controller" />
  19. </context:component-scan>
  20. <mvc:annotation-driven />
  21. </beans>