--- /dev/null
+<?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:mvc="http://www.springframework.org/schema/mvc"
+ 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.1.xsd
+ http://www.springframework.org/schema/mvc
+ http://www.springframework.org/schema/mvc/spring-mvc-3.1.xsd
+ http://www.springframework.org/schema/context
+ http://www.springframework.org/schema/context/spring-context-3.1.xsd
+ ">
+
+ <!-- Damit das DispatcherServlet auf /* gemappt werden kann -->
+ <mvc:default-servlet-handler/>
+ <mvc:view-controller path="/" view-name="index"/>
+
+ <!-- Scann classpath for classes anntated as components -->
+ <context:component-scan base-package="de.juplo.branding"/>
+
+ <bean class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
+ <property name="mappings">
+ <value>
+ /*.html=urlFilenameViewController
+ /**/*.html=urlFilenameViewController
+ </value>
+ </property>
+ <property name="order" value="10"/>
+ </bean>
+ <bean id="urlFilenameViewController" class="org.springframework.web.servlet.mvc.UrlFilenameViewController"/>
+
+ <!-- Tiles View-Resolver -->
+ <bean class="org.springframework.web.servlet.view.tiles3.TilesViewResolver"/>
+
+ <!-- Resolves view names to protected .jsp resources within the /WEB-INF/views directory -->
+ <bean class="org.springframework.web.servlet.view.InternalResourceViewResolver">
+ <property name="viewClass" value="org.springframework.web.servlet.view.JstlView"/>
+ <property name="prefix" value="/WEB-INF/views/"/>
+ <property name="suffix" value=".jsp"/>
+ </bean>
+
+ <bean class="org.springframework.web.servlet.view.tiles3.TilesConfigurer">
+ <property name="definitions">
+ <list>
+ <value>classpath:/spring/tiles.xml</value>
+ </list>
+ </property>
+ <property name="useMutableTilesContainer" value="true"/>
+ </bean>
+
+</beans>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE tiles-definitions PUBLIC
+ "-//Apache Software Foundation//DTD Tiles Configuration 3.0//EN"
+ "http://tiles.apache.org/dtds/tiles-config_3_0.dtd">
+<tiles-definitions>
+
+ <definition name="BASEPAGE" template="/WEB-INF/templates/html5page.jsp">
+ <put-attribute name="title" value="TITLE IS MISSING" type="string"/>
+ <put-attribute name="htmlhead" value="/WEB-INF/templates/html-head.jsp" type="template"/>
+ <put-attribute name="header" value="/WEB-INF/templates/header.jsp" type="template"/>
+ <put-attribute name="breadcrumb" value="BREADCRUMB IS MISSING" type="string"/>
+ <put-attribute name="maincontent" value="/WEB-INF/templates/maincontent.jsp" type="template"/>
+ <put-attribute name="contentclass" value="menu" type="string"/>
+ <put-attribute name="marginalcontent" value="/WEB-INF/templates/marginalcontent.jsp" type="template"/>
+ <put-attribute name="navigation" value="/WEB-INF/templates/navigation.jsp" type="template"/>
+ <put-attribute name="footer" value="/WEB-INF/templates/footer.jsp" type="template"/>
+ </definition>
+
+ <definition name="NOMENU" extends="BASEPAGE">
+ <put-attribute name="contentclass" value="nomenu" type="string"/>
+ </definition>
+
+ <definition name="test" extends="BASEPAGE">
+ <put-attribute name="breadcrumb" value="/WEB-INF/templates/test/breadcrumb.jsp" type="template"/>
+ <put-attribute name="navigation" value="/WEB-INF/templates/test/navigation.jsp" type="template"/>
+ <put-attribute name="maincontent" value="/WEB-INF/templates/test/experimente.jsp" type="template"/>
+ </definition>
+
+ <definition name="TESTLAB" template="/WEB-INF/templates/testlab.jsp">
+ <put-attribute name="htmlhead" value="/WEB-INF/templates/html-head.jsp" type="template"/>
+ <put-attribute name="title" value="TEST-TITLE IS MISSING" type="string"/>
+ <put-attribute name="content" value="<div class='testlab'>TEST-CONTENT IS MISSING<div>" type="string"/>
+ </definition>
+
+</tiles-definitions>
+++ /dev/null
-<?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:mvc="http://www.springframework.org/schema/mvc"
- 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.1.xsd
- http://www.springframework.org/schema/mvc
- http://www.springframework.org/schema/mvc/spring-mvc-3.1.xsd
- http://www.springframework.org/schema/context
- http://www.springframework.org/schema/context/spring-context-3.1.xsd
- ">
-
- <!-- Damit das DispatcherServlet auf /* gemappt werden kann -->
- <mvc:default-servlet-handler/>
- <mvc:view-controller path="/" view-name="index"/>
-
- <!-- Scann classpath for classes anntated as components -->
- <context:component-scan base-package="de.juplo.branding"/>
-
- <bean class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
- <property name="mappings">
- <value>
- /*.html=urlFilenameViewController
- /**/*.html=urlFilenameViewController
- </value>
- </property>
- <property name="order" value="10"/>
- </bean>
- <bean id="urlFilenameViewController" class="org.springframework.web.servlet.mvc.UrlFilenameViewController"/>
-
- <!-- Tiles View-Resolver -->
- <bean class="org.springframework.web.servlet.view.tiles3.TilesViewResolver"/>
-
- <!-- Resolves view names to protected .jsp resources within the /WEB-INF/views directory -->
- <bean class="org.springframework.web.servlet.view.InternalResourceViewResolver">
- <property name="viewClass" value="org.springframework.web.servlet.view.JstlView"/>
- <property name="prefix" value="/WEB-INF/views/"/>
- <property name="suffix" value=".jsp"/>
- </bean>
-
- <bean class="org.springframework.web.servlet.view.tiles3.TilesConfigurer">
- <property name="definitions">
- <list>
- <value>/WEB-INF/spring/tiles.xml</value>
- </list>
- </property>
- <property name="useMutableTilesContainer" value="true"/>
- </bean>
-
-</beans>
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8" ?>
-<!DOCTYPE tiles-definitions PUBLIC
- "-//Apache Software Foundation//DTD Tiles Configuration 3.0//EN"
- "http://tiles.apache.org/dtds/tiles-config_3_0.dtd">
-<tiles-definitions>
-
- <definition name="BASEPAGE" template="/WEB-INF/templates/html5page.jsp">
- <put-attribute name="title" value="TITLE IS MISSING" type="string"/>
- <put-attribute name="htmlhead" value="/WEB-INF/templates/html-head.jsp" type="template"/>
- <put-attribute name="header" value="/WEB-INF/templates/header.jsp" type="template"/>
- <put-attribute name="breadcrumb" value="BREADCRUMB IS MISSING" type="string"/>
- <put-attribute name="maincontent" value="/WEB-INF/templates/maincontent.jsp" type="template"/>
- <put-attribute name="contentclass" value="menu" type="string"/>
- <put-attribute name="marginalcontent" value="/WEB-INF/templates/marginalcontent.jsp" type="template"/>
- <put-attribute name="navigation" value="/WEB-INF/templates/navigation.jsp" type="template"/>
- <put-attribute name="footer" value="/WEB-INF/templates/footer.jsp" type="template"/>
- </definition>
-
- <definition name="NOMENU" extends="BASEPAGE">
- <put-attribute name="contentclass" value="nomenu" type="string"/>
- </definition>
-
- <definition name="test" extends="BASEPAGE">
- <put-attribute name="breadcrumb" value="/WEB-INF/templates/test/breadcrumb.jsp" type="template"/>
- <put-attribute name="navigation" value="/WEB-INF/templates/test/navigation.jsp" type="template"/>
- <put-attribute name="maincontent" value="/WEB-INF/templates/test/experimente.jsp" type="template"/>
- </definition>
-
- <definition name="TESTLAB" template="/WEB-INF/templates/testlab.jsp">
- <put-attribute name="htmlhead" value="/WEB-INF/templates/html-head.jsp" type="template"/>
- <put-attribute name="title" value="TEST-TITLE IS MISSING" type="string"/>
- <put-attribute name="content" value="<div class='testlab'>TEST-CONTENT IS MISSING<div>" type="string"/>
- </definition>
-
-</tiles-definitions>
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>
- /WEB-INF/spring/mvc.xml
+ classpath:/spring/mvc.xml
</param-value>
</context-param>