2012-03-01 23:51:12 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<beans xmlns="http://www.springframework.org/schema/beans"
|
2012-03-08 01:10:59 +00:00
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
xmlns:context="http://www.springframework.org/schema/context"
|
|
|
|
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd">
|
2012-03-01 23:51:12 +00:00
|
|
|
|
|
|
|
<bean class="org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping" />
|
|
|
|
<bean class="org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter" />
|
|
|
|
|
2012-03-07 18:21:53 +00:00
|
|
|
<bean class="org.springframework.web.servlet.view.ContentNegotiatingViewResolver">
|
|
|
|
<property name="favorPathExtension" value="true" />
|
|
|
|
</bean>
|
2012-03-03 17:29:31 +00:00
|
|
|
|
2012-03-07 18:21:53 +00:00
|
|
|
<bean class="org.springframework.web.servlet.view.BeanNameViewResolver">
|
|
|
|
<property name="order" value="1" />
|
|
|
|
</bean>
|
|
|
|
|
|
|
|
<bean class="org.springframework.web.servlet.view.InternalResourceViewResolver">
|
|
|
|
<property name="prefix" value="/WEB-INF/jsp/" />
|
|
|
|
<property name="suffix" value=".jsp" />
|
|
|
|
<property name="order" value="2" />
|
|
|
|
</bean>
|
2012-03-06 23:41:24 +00:00
|
|
|
|
2012-03-07 18:21:53 +00:00
|
|
|
<bean id="deviceList" class="org.springframework.web.servlet.view.xml.MarshallingView">
|
2012-03-08 01:10:59 +00:00
|
|
|
<constructor-arg>
|
|
|
|
<bean class="org.springframework.oxm.xstream.XStreamMarshaller">
|
|
|
|
<property name="autodetectAnnotations" value="true"/>
|
|
|
|
</bean>
|
|
|
|
</constructor-arg>
|
2012-03-06 23:41:24 +00:00
|
|
|
</bean>
|
|
|
|
|
2012-03-08 01:10:59 +00:00
|
|
|
<context:component-scan base-package="de.ctdo.bunti.web"/>
|
|
|
|
|
2012-03-07 18:21:53 +00:00
|
|
|
|
|
|
|
<import resource="classpath:marshaller.xml" />
|
|
|
|
|
2012-03-01 23:51:12 +00:00
|
|
|
</beans>
|