a818c8e6c9fbf10ff467bd5d1d935c361526964f
[controller.git] / opendaylight / web / root / src / main / resources / WEB-INF / RootGUI-servlet.xml
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"
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-3.0.xsd 
7                       http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd
8                       http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd">
9
10   <context:component-scan base-package="org.opendaylight.controller.web"/>
11   
12   <mvc:resources mapping="/js/**" location="/js/" />
13   <mvc:resources mapping="/css/**" location="/css/" />
14   <mvc:resources mapping="/img/**" location="/img/" />
15   <mvc:annotation-driven/>
16   
17   <bean id="viewResolver" class="org.springframework.web.servlet.view.InternalResourceViewResolver">
18         <property name="prefix" value="/WEB-INF/jsp/"/>
19         <property name="suffix" value=".jsp"/>
20   </bean>
21 </beans>