-<?xml version="1.0" encoding="UTF-8"?>
-<beans xmlns="http://www.springframework.org/schema/beans"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:context="http://www.springframework.org/schema/context"
- xmlns:mvc="http://www.springframework.org/schema/mvc"
- 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-3.0.xsd
- http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd">
-
- <!-- Activates the AspectJ-Weaver -->
- <context:component-scan base-package="de.halbekunst"/>
- <context:spring-configured/>
-
- <bean id="eTag" class="java.lang.String">
- <constructor-arg value="Hallo Welt!"/>
- </bean>
-
- <bean id="weak" class="java.lang.Boolean">
- <constructor-arg value="true"/>
- </bean>
-
- <bean id="lastModified" class="java.lang.Long">
- <constructor-arg value="1338593731"/>
- </bean>
-
- <bean id="cacheSeconds" class="java.lang.Integer">
- <constructor-arg value="3600"/>
- </bean>
-
- <!-- Configures the CacheControlInterceptor -->
- <mvc:interceptors>
- <bean class="de.halbekunst.juplo.cachecontrol.CacheControlInterceptor"/>
- </mvc:interceptors>
-
- <bean id="defaultAnnotationlHandlerMapping" class="org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping">
- <property name="defaultHandler" value="urlFilenameViewController"/>
- </bean>
-
- <bean id="urlFilenameViewController" class="org.springframework.web.servlet.mvc.UrlFilenameViewController"/>
-
- <!-- Resolves view names to protected .jsp resources within the /WEB-INF/views directory -->
- <bean id="jspViewResolver" class="org.springframework.web.servlet.view.InternalResourceViewResolver">
- <property name="prefix" value="/WEB-INF/views/"/>
- <property name="suffix" value=".jsp"/>
- </bean>
-
-</beans>