I need to add these directories to my app. This actually works:
<context:component-scan base-package="web.controllers"/>
<context:component-scan base-package="web.controllers.gec"/>
<context:component-scan base-package="web.controllers.gec.costs"/>
<context:component-scan base-package="web.controllers.gec.pay"/>
Bu I’d like to know how could I make this with just one line of code. Something like:
<context:component-scan base-package="web.controllers">
<context:include-filter type="regex" expression=".*.*"/>
</context:component-scan>
Any help or ideas? Thanks a lot!
Sorry, but actually the solution I posted before, works fine: