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"
7 http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
8 http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd
9 http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd">
11 <!-- Activates the AspectJ-Weaver -->
12 <context:component-scan base-package="de.halbekunst"/>
13 <context:spring-configured/>
15 <bean id="eTag" class="java.lang.String">
16 <constructor-arg value="Hallo Welt!"/>
19 <bean id="weak" class="java.lang.Boolean">
20 <constructor-arg value="true"/>
23 <bean id="lastModified" class="java.lang.Long">
24 <constructor-arg value="1338593731"/>
27 <bean id="cacheSeconds" class="java.lang.Integer">
28 <constructor-arg value="3600"/>
31 <!-- Configures the CacheControlInterceptor -->
33 <bean class="de.halbekunst.juplo.cachecontrol.CacheControlInterceptor"/>
36 <bean id="defaultAnnotationlHandlerMapping" class="org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping">
37 <property name="defaultHandler" value="urlFilenameViewController"/>
40 <bean id="urlFilenameViewController" class="org.springframework.web.servlet.mvc.UrlFilenameViewController"/>
42 <!-- Resolves view names to protected .jsp resources within the /WEB-INF/views directory -->
43 <bean id="jspViewResolver" class="org.springframework.web.servlet.view.InternalResourceViewResolver">
44 <property name="prefix" value="/WEB-INF/views/"/>
45 <property name="suffix" value=".jsp"/>