1 |
26600
|
sandro.lab
|
<?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:p="http://www.springframework.org/schema/p"
|
4 |
|
|
xmlns:context="http://www.springframework.org/schema/context"
|
5 |
|
|
xmlns:mvc="http://www.springframework.org/schema/mvc"
|
6 |
|
|
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
|
7 |
|
|
http://www.springframework.org/schema/context
|
8 |
|
|
http://www.springframework.org/schema/context/spring-context.xsd
|
9 |
|
|
http://www.springframework.org/schema/mvc
|
10 |
|
|
http://www.springframework.org/schema/mvc/spring-mvc.xsd">
|
11 |
|
|
|
12 |
|
|
<mvc:annotation-driven />
|
13 |
|
|
|
14 |
|
|
<context:component-scan base-package="eu.dnetlib"/>
|
15 |
|
|
|
16 |
|
|
<import resource="classpath*:/eu/dnetlib/**/webContext*.xml" />
|
17 |
|
|
|
18 |
|
|
<bean id="beanHandlerMapping" p:order="1"
|
19 |
|
|
class="org.springframework.web.servlet.handler.BeanNameUrlHandlerMapping" />
|
20 |
|
|
|
21 |
|
|
<bean class="org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter" />
|
22 |
|
|
|
23 |
|
|
<mvc:resources mapping="/resources/**" location="classpath:/eu/dnetlib/web/resources/" />
|
24 |
|
|
|
25 |
|
|
</beans>
|