Project

General

Profile

1
<?xml version="1.0" encoding="UTF-8"?>
2

    
3
<beans xmlns="http://www.springframework.org/schema/beans"
4
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p"
5
       xmlns:context="http://www.springframework.org/schema/context"
6
       xsi:schemaLocation="
7
       http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
8
       http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd">
9

    
10
    <context:component-scan base-package="eu.dnetlib">
11
        <context:include-filter type="annotation" expression="org.springframework.stereotype.Controller" />
12
    </context:component-scan>
13

    
14
    <import resource="classpath*:/eu/dnetlib/**/webContext*.xml" />
15

    
16
    <bean id="beanHandlerMapping" p:order="1"
17
          class="org.springframework.web.servlet.handler.BeanNameUrlHandlerMapping" />
18

    
19
    <bean id="annotationHandlerMapping" p:order="0"
20
          class="org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping" />
21

    
22
</beans>
(2-2/4)