OpenDaylight Controller functional modules.
[controller.git] / opendaylight / web / flows / src / main / resources / WEB-INF / Flows-servlet.xml
1 <?xml version="1.0" encoding="UTF-8"?>\r
2 <beans xmlns="http://www.springframework.org/schema/beans"\r
3   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
4   xmlns:context="http://www.springframework.org/schema/context"\r
5   xmlns:mvc="http://www.springframework.org/schema/mvc"\r
6   xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd \r
7                       http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd\r
8                       http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd">\r
9 \r
10   <context:component-scan base-package="org.opendaylight.controller.flows.web"/>\r
11   \r
12   <mvc:resources mapping="/js/**" location="/js/" />\r
13   <mvc:resources mapping="/css/**" location="/css/" />\r
14   <mvc:resources mapping="/img/**" location="/img/" />\r
15   <mvc:annotation-driven/>\r
16   \r
17   <bean id="viewResolver" class="org.springframework.web.servlet.view.InternalResourceViewResolver">\r
18         <property name="prefix" value="/WEB-INF/jsp/"/>\r
19         <property name="suffix" value=".jsp"/>\r
20   </bean>\r
21 </beans>\r