OpenDaylight Controller functional modules.
[controller.git] / opendaylight / web / troubleshoot / src / main / resources / WEB-INF / Troubleshoot-servlet.xml
diff --git a/opendaylight/web/troubleshoot/src/main/resources/WEB-INF/Troubleshoot-servlet.xml b/opendaylight/web/troubleshoot/src/main/resources/WEB-INF/Troubleshoot-servlet.xml
new file mode 100644 (file)
index 0000000..877617a
--- /dev/null
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>\r
+<beans xmlns="http://www.springframework.org/schema/beans"\r
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
+  xmlns:context="http://www.springframework.org/schema/context"\r
+  xmlns:mvc="http://www.springframework.org/schema/mvc"\r
+  xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd \r
+                      http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd\r
+                      http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd">\r
+\r
+  <context:component-scan base-package="org.opendaylight.controller.troubleshoot.web"/>\r
+  \r
+  <mvc:resources mapping="/js/**" location="/js/" />\r
+  <mvc:resources mapping="/css/**" location="/css/" />\r
+  <mvc:resources mapping="/img/**" location="/img/" />\r
+  <mvc:annotation-driven/>\r
+  \r
+  <bean id="viewResolver" class="org.springframework.web.servlet.view.InternalResourceViewResolver">\r
+       <property name="prefix" value="/WEB-INF/jsp/"/>\r
+       <property name="suffix" value=".jsp"/>\r
+  </bean>\r
+</beans>\r