<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!-- Verwendete Versionen -->
+ <jsp-api.version>2.2.1</jsp-api.version>
+ <jstl.version>1.2</jstl.version>
+ <servlet-api.version>3.0.1</servlet-api.version>
<slf4j.version>1.5.8</slf4j.version>
+ <springframework.version>3.2.4.RELEASE</springframework.version>
<tiles.version>3.0.1</tiles.version>
</properties>
<dependencies>
+ <!-- Spring -->
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-webmvc</artifactId>
+ <version>${springframework.version}</version>
+ </dependency>
+
<!-- Tiles -->
<dependency>
<groupId>org.apache.tiles</groupId>
<scope>runtime</scope>
</dependency>
+ <!-- Servlet -->
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>javax.servlet-api</artifactId>
+ <version>${servlet-api.version}</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet.jsp</groupId>
+ <artifactId>javax.servlet.jsp-api</artifactId>
+ <version>${jsp-api.version}</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>jstl</artifactId>
+ <version>${jstl.version}</version>
+ <scope>runtime</scope>
+ </dependency>
+
<!-- Logging -->
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ <version>${slf4j.version}</version>
+ </dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<build>
<finalName>branding</finalName>
<plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>1.6</source>
+ <target>1.6</target>
+ <encoding>utf8</encoding>
+ <showWarnings>true</showWarnings>
+ </configuration>
+ </plugin>
<plugin>
<groupId>org.lesscss</groupId>
<artifactId>lesscss-maven-plugin</artifactId>
+++ /dev/null
-Not empty!
--- /dev/null
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
+
+<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
+
+ <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
+ <layout class="org.apache.log4j.PatternLayout">
+ <param name="ConversionPattern" value="%p - %C{1}.%M(%L) | %m%n"/>
+ </layout>
+ </appender>
+
+ <logger name="de.juplo">
+ <level value="trace"/>
+ </logger>
+
+ <logger name="org.springframework">
+ <level value="debug" />
+ </logger>
+
+ <root>
+ <level value="info"/>
+ <appender-ref ref="CONSOLE"/>
+ </root>
+
+</log4j:configuration>
--- /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"
+ 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
+ ">
+
+ <!-- Damit das DispatcherServlet auf /* gemappt werden kann -->
+ <mvc:default-servlet-handler/>
+ <mvc:view-controller path="/" view-name="index"/>
+
+ <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="maincontent" value="/WEB-INF/templates/maincontent.jsp" type="template"/>
+ <put-attribute name="contentclass" value="cols_2" 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"/>
+ </definition>
+
+ <definition name="ONECOLUMN" extends="BASEPAGE">
+ <put-attribute name="contentclass" value="cols_1" type="string"/>
+ </definition>
+
+
+</tiles-definitions>
\ No newline at end of file
<footer id="footer">
<ul id="footerlinks">
<li class="f" id="copyright">© <strong>mo</strong> 2013</li>
- <li class="f"><a class="f" href="contact.jsp">Contact</a></li>
- <li class="f"><a class="f" href="impressum.jsp">Impressum</a></li>
+ <li class="f"><a class="f" href="contact.html">Contact</a></li>
+ <li class="f"><a class="f" href="impressum.html">Impressum</a></li>
</ul>
</footer>
</body>
<%@page pageEncoding="UTF-8"%>
<%@page session="false" %>
<p>
- <strong>Lorem ipsum</strong> dolor <a href="/projects/typo.jsp">sit amet</a>, consectetur adipisicing elit, sed do
+ <strong>Lorem ipsum</strong> dolor <a href="projects/typo.html">sit amet</a>, consectetur adipisicing elit, sed do
eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim
ad minim veniam, quis nostrud <a href="dort">exercitation</a> ullamco laboris nisi ut
aliquip ex ea commodo consequat. Duis aute irure dolor in
<h1 class="nav">Navigation</h1>
<h2 class="nav menu">Section-Menu</h2>
<ul id="menu">
- <li class="m blog"><a href="blog.jsp" class="m">Blog</a></li>
- <li class="m projects"><a href="projects.jsp" class="m">Projects</a></li>
+ <li class="m blog"><a href="blog.html" class="m">Blog</a></li>
+ <li class="m projects"><a href="projects.html" class="m">Projects</a></li>
</ul>
+++ /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="maincontent" value="/WEB-INF/templates/maincontent.jsp" type="template"/>
- <put-attribute name="contentclass" value="cols_2" 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"/>
- </definition>
-
- <definition name="ONECOLUMN" extends="BASEPAGE">
- <put-attribute name="contentclass" value="cols_1" type="string"/>
- </definition>
-
-
-</tiles-definitions>
\ No newline at end of file
--- /dev/null
+<%@page contentType="text/html;charset=UTF-8"%>
+<%@page pageEncoding="UTF-8"%>
+<%@page session="false" %>
+<%@taglib uri="http://tiles.apache.org/tags-tiles" prefix="t" %>
+<t:insertDefinition name="BASEPAGE">
+ <t:putAttribute name="title" value="Blog" type="string"/>
+ <t:putAttribute name="navigation" type="string">
+ <h1 class="nav">Navigation</h1>
+ <h2 class="nav menu">Section-Menu</h2>
+ <ul id="menu">
+ <li class="m blog"><strong class="m">Blog</strong></li>
+ <li class="m projects"><a href="projects.html" class="m">Projects</a></li>
+ </ul>
+ </t:putAttribute>
+ <t:putAttribute name="marginalcontent" type="string">
+ <h1>Recent Posts</h1>
+ <ul>
+ <li><a href="#">Post 1</a></li>
+ <li><a href="#">Post 2</a></li>
+ <li><a href="#">Post 3</a></li>
+ <li><a href="#">Post 4</a></li>
+ <li><a href="#">Post 5</a></li>
+ </ul>
+ <h1>Categories</h1>
+ <ul>
+ <li><a href="#">Category 1</a></li>
+ <li><a href="#">Category 2</a></li>
+ <li><a href="#">Category 3</a></li>
+ <li><a href="#">Category 4</a></li>
+ <li><a href="#">Category 6</a></li>
+ <li><a href="#">Category 7</a></li>
+ <li><a href="#">Category 8</a></li>
+ </ul>
+ <h1>Tags</h1>
+ <ul>
+ <li><a href="#">Tag 1</a></li>
+ <li><a href="#">Tag 2</a></li>
+ <li><a href="#">Tag 3</a></li>
+ <li><a href="#">Tag 4</a></li>
+ </ul>
+ </t:putAttribute>
+</t:insertDefinition>
--- /dev/null
+<%@page contentType="text/html;charset=UTF-8"%>
+<%@page pageEncoding="UTF-8"%>
+<%@page session="false" %>
+<%@taglib uri="http://tiles.apache.org/tags-tiles" prefix="t" %>
+<t:insertDefinition name="ONECOLUMN">
+ <t:putAttribute name="title" value="Contact" type="string"/>
+ <t:putAttribute name="marginalcontent" type="string" value=""/>
+</t:insertDefinition>
--- /dev/null
+<%@page contentType="text/html;charset=UTF-8"%>
+<%@page pageEncoding="UTF-8"%>
+<%@page session="false" %>
+<%@taglib uri="http://tiles.apache.org/tags-tiles" prefix="t" %>
+<t:insertDefinition name="ONECOLUMN">
+ <t:putAttribute name="title" value="Impressum" type="string"/>
+ <t:putAttribute name="marginalcontent" type="string" value=""/>
+</t:insertDefinition>
--- /dev/null
+<%@page contentType="text/html;charset=UTF-8"%>
+<%@page pageEncoding="UTF-8"%>
+<%@page session="false" %>
+<%@taglib uri="http://tiles.apache.org/tags-tiles" prefix="t" %>
+<t:insertDefinition name="ONECOLUMN">
+ <t:putAttribute name="title" value="Branding" type="string"/>
+</t:insertDefinition>
--- /dev/null
+<%@page contentType="text/html;charset=UTF-8"%>
+<%@page pageEncoding="UTF-8"%>
+<%@page session="false" %>
+<%@taglib uri="http://tiles.apache.org/tags-tiles" prefix="t" %>
+<t:insertDefinition name="BASEPAGE">
+ <t:putAttribute name="title" value="Projects" type="string"/>
+ <t:putAttribute name="navigation" type="string">
+ <h1 class="nav">Navigation</h1>
+ <h2 class="nav menu">Section-Menu</h2>
+ <ul id="menu" class="s active">
+ <li class="m blog"><a href="blog.html" class="m">Blog</a></li>
+ <li class="m projects"><strong class="m">Projects</strong></li>
+ </ul>
+ <h2 class="nav submenu"><span class="s">Submenu for section </span><strong class="s">Projects</strong></h2>
+ <ul id="submenu">
+ <li class="s sub"><a href="" class="s">hibernate4-maven-plugin</a></li>
+ <li class="s sub"><a href="projects/fix-swf.html" class="s">fix-swf</a></li>
+ <li class="s"><a href="" class="s">jquery.openx</a></li>
+ <li class="s"><a href="" class="s">halbekunst</a></li>
+ <li class="s sub"><a href="" class="s">accelerator</a></li>
+ <li class="s"><a href="projects/typo.html" class="s">Typography</a></li>
+ </ul>
+ </t:putAttribute>
+</t:insertDefinition>
--- /dev/null
+<%@page contentType="text/html;charset=UTF-8"%>
+<%@page pageEncoding="UTF-8"%>
+<%@page session="false" %>
+<%@taglib uri="http://tiles.apache.org/tags-tiles" prefix="t" %>
+<t:insertDefinition name="BASEPAGE">
+ <t:putAttribute name="title" value="Fix SWF" type="string"/>
+ <t:putAttribute name="navigation" type="string">
+ <h1 class="nav">Navigation</h1>
+ <h2 class="nav menu">Section-Menu</h2>
+ <ul id="menu">
+ <li class="m blog"><a href="blog.html" class="m">Blog</a></li>
+ <li class="m projects"><a href="projects.html" class="m selected">Projects</a></li>
+ </ul>
+ <h2 class="nav submenu">
+ <span class="s">Submenu for section</span>
+ <a class="s selected" href="projects.html">Projects</a>
+ </h2>
+ <ul id="submenu" class="s">
+ <li class="s sub off"><a href="" class="s">hibernate4-maven-plugin</a></li>
+ <li class="s sub">
+ <strong class="s">fix-swf</strong>
+ <ul class="s active">
+ <li class="s"><a href="projects/fix-swf/overview.html" class="s">Overview</a></li>
+ <li class="s"><a href="projects/fix-swf/getting-started.html" class="s">Getting Started</a></li>
+ <li class="s"><a href="" class="s">FAQ</a></li>
+ <li class="s"><a href="" class="s">Documentation</a></li>
+ </ul>
+ </li>
+ <li class="s off"><a href="" class="s">jquery.openx</a></li>
+ <li class="s off"><a href="" class="s">halbekunst</a></li>
+ <li class="s sub off"><a href="" class="s">accelerator</a></li>
+ <li class="s off"><a href="projects/typo.html" class="s">Typography</a></li>
+ </ul>
+ </t:putAttribute>
+</t:insertDefinition>
--- /dev/null
+<%@page contentType="text/html;charset=UTF-8"%>
+<%@page pageEncoding="UTF-8"%>
+<%@page session="false" %>
+<%@taglib uri="http://tiles.apache.org/tags-tiles" prefix="t" %>
+<t:insertDefinition name="BASEPAGE">
+ <t:putAttribute name="title" value="Fix SWF - Getting Started" type="string"/>
+ <t:putAttribute name="navigation" type="string">
+ <h1 class="nav">Navigation</h1>
+ <h2 class="nav menu">Section-Menu</h2>
+ <ul id="menu">
+ <li class="m blog"><a href="blog.html" class="m">Blog</a></li>
+ <li class="m projects"><a href="projects.html" class="m selected">Projects</a></li>
+ </ul>
+ <h2 class="nav submenu">
+ <span class="s">Submenu for section</span>
+ <a class="s selected" href="projects.html">Projects</a>
+ </h2>
+ <ul id="submenu" class="s">
+ <li class="s sub off"><a href="" class="s">hibernate4-maven-plugin</a></li>
+ <li class="s sub">
+ <a href="projects/fix-swf.html" class="s selected">fix-swf</a>
+ <ul class="s active">
+ <li class="s"><a href="projects/fix-swf/overview.html" class="s">Overview</a></li>
+ <li class="s"><strong class="s">Getting Started</strong></li>
+ <li class="s"><a href="" class="s">FAQ</a></li>
+ <li class="s"><a href="" class="s">Documentation</a></li>
+ </ul>
+ </li>
+ <li class="s off"><a href="" class="s">jquery.openx</a></li>
+ <li class="s off"><a href="" class="s">halbekunst</a></li>
+ <li class="s sub off"><a href="" class="s">accelerator</a></li>
+ <li class="s off"><a href="projects/typo.html" class="s">Typography</a></li>
+ </ul>
+ </t:putAttribute>
+</t:insertDefinition>
--- /dev/null
+<%@page contentType="text/html;charset=UTF-8"%>
+<%@page pageEncoding="UTF-8"%>
+<%@page session="false" %>
+<%@taglib uri="http://tiles.apache.org/tags-tiles" prefix="t" %>
+<t:insertDefinition name="BASEPAGE">
+ <t:putAttribute name="title" value="Fix SWF - Overview" type="string"/>
+ <t:putAttribute name="navigation" type="string">
+ <h1 class="nav">Navigation</h1>
+ <h2 class="nav menu">Section-Menu</h2>
+ <ul id="menu">
+ <li class="m blog"><a href="blog.html" class="m">Blog</a></li>
+ <li class="m projects"><a href="projects.html" class="m selected">Projects</a></li>
+ </ul>
+ <h2 class="nav submenu">
+ <span class="s">Submenu for section</span>
+ <a class="s selected" href="projects.html">Projects</a>
+ </h2>
+ <ul id="submenu" class="s">
+ <li class="s sub off"><a href="" class="s">hibernate4-maven-plugin</a></li>
+ <li class="s sub">
+ <a href="projects/fix-swf.html" class="s selected">fix-swf</a>
+ <ul class="s active">
+ <li class="s"><strong class="s">Overview</strong></li>
+ <li class="s"><a href="projects/fix-swf/getting-started.html" class="s">Getting Started</a></li>
+ <li class="s"><a href="" class="s">FAQ</a></li>
+ <li class="s"><a href="" class="s">Documentation</a></li>
+ </ul>
+ </li>
+ <li class="s off"><a href="" class="s">jquery.openx</a></li>
+ <li class="s off"><a href="" class="s">halbekunst</a></li>
+ <li class="s sub off"><a href="" class="s">accelerator</a></li>
+ <li class="s off"><a href="projects/typo.html" class="s">Typography</a></li>
+ </ul>
+ </t:putAttribute>
+</t:insertDefinition>
--- /dev/null
+<%@page contentType="text/html;charset=UTF-8"%>
+<%@page pageEncoding="UTF-8"%>
+<%@page session="false" %>
+<%@taglib uri="http://tiles.apache.org/tags-tiles" prefix="t" %>
+<t:insertDefinition name="BASEPAGE">
+ <t:putAttribute name="title" value="Typo" type="string"/>
+ <t:putAttribute name="navigation" type="string">
+ <h1 class="nav">Navigation</h1>
+ <h2 class="nav menu">Section-Menu</h2>
+ <ul id="menu">
+ <li class="m blog"><a href="blog.html" class="m">Blog</a></li>
+ <li class="m projects"><a href="projects.html" class="m selected">Projects</a></li>
+ </ul>
+ <h2 class="nav submenu">
+ <span class="s">Submenu for section</span>
+ <a class="s selected" href="projects.html">Projects</a>
+ </h2>
+ <ul id="submenu" class="s active">
+ <li class="s sub"><a href="" class="s">hibernate4-maven-plugin</a></li>
+ <li class="s sub"><a href="projects/fix-swf.html" class="s">fix-swf</a></li>
+ <li class="s"><a href="" class="s">jquery.openx</a></li>
+ <li class="s"><a href="" class="s">halbekunst</a></li>
+ <li class="s sub"><a href="" class="s">accelerator</a></li>
+ <li class="s"><strong class="s">Typography</strong></li>
+ </ul>
+ </t:putAttribute>
+ <t:putAttribute name="maincontent" type="string">
+ <p>
+ Lorem ipsum dolor <a href="#da">sit amet</a>, consectetur adipisicing elit,
+ sed do eiusmod <strong>tempor incididunt</strong> ut labore et dolore
+ magna aliqua. Ut enim ad minim veniam, quis nostrud
+ <a href="dort">exercitation</a> ullamco laboris nisi ut aliquip
+ <em>ex ea</em> commodo consequat. Duis aute irure dolor in reprehenderit
+ in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
+ <strong>Excepteur sint <em>occaecat</em> cupidatat non proident</strong>,
+ sunt in culpa qui officia deserunt mollit anim id est laborum.
+ </p>
+ <h2>Ein Link <a href="#link">im Titel</a></h2>
+ <p>Ein Link <a href="#link">im Text</a>.</p>
+ <h2>Normal / Italic / Bold / Bold+Italic</h2>
+ <ul>
+ <li>normal</li>
+ <li><em>italic</em></li>
+ <li><strong>bold</strong></li>
+ <li><strong><em>bold italic</em></strong></li>
+ </ul>
+ <p>
+ ÄäÖöÜüß@€¢
+ <strong>ÄäÖöÜüß@€¢</strong>
+ <em>ÄäÖöÜüß@€¢</em>
+ <strong><em>ÄäÖöÜüß@€¢</em></strong>
+ </p>
+ <h1>H1: Heading</h1>
+ <h2>H2: Heading</h2>
+ <h3>H3: Heading</h3>
+ <h4>H4: Heading</h4>
+ <h1>H1: Heading</h1>
+ <p>
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
+ eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim
+ ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut
+ aliquip ex ea commodo consequat. Duis aute irure dolor in
+ reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla
+ pariatur. Excepteur sint occaecat cupidatat non proident, sunt in
+ culpa qui officia deserunt mollit anim id est laborum.
+ </p>
+ <h2>H2: Heading</h2>
+ <p>
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
+ eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim
+ ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut
+ aliquip ex ea commodo consequat. Duis aute irure dolor in
+ reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla
+ pariatur. Excepteur sint occaecat cupidatat non proident, sunt in
+ culpa qui officia deserunt mollit anim id est laborum.
+ </p>
+ <h3>H3: Heading</h3>
+ <p>
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
+ eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim
+ ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut
+ aliquip ex ea commodo consequat. Duis aute irure dolor in
+ reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla
+ pariatur. Excepteur sint occaecat cupidatat non proident, sunt in
+ culpa qui officia deserunt mollit anim id est laborum.
+ </p>
+ <h4>H4: Heading</h4>
+ <p>
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
+ eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim
+ ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut
+ aliquip ex ea commodo consequat. Duis aute irure dolor in
+ reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla
+ pariatur. Excepteur sint occaecat cupidatat non proident, sunt in
+ culpa qui officia deserunt mollit anim id est laborum.
+ </p>
+ </t:putAttribute>
+</t:insertDefinition>
<display-name>branding</display-name>
+ <!-- Context Configuration locations for Spring XML files -->
+
+ <context-param>
+ <param-name>contextConfigLocation</param-name>
+ <param-value>
+ /WEB-INF/spring/mvc.xml
+ </param-value>
+ </context-param>
+
<listener>
- <listener-class>org.apache.tiles.web.startup.simple.SimpleTilesListener</listener-class>
+ <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
+
+ <!-- UTF-8 -->
+ <filter>
+ <filter-name>characterEncodingFilter</filter-name>
+ <filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>
+ <init-param>
+ <param-name>encoding</param-name>
+ <param-value>UTF-8</param-value>
+ </init-param>
+ <init-param>
+ <param-name>forceEncoding</param-name>
+ <param-value>true</param-value>
+ </init-param>
+ </filter>
+
+ <filter-mapping>
+ <filter-name>characterEncodingFilter</filter-name>
+ <url-pattern>/*</url-pattern>
+ </filter-mapping>
+
+
+ <!-- Handles all requests into the application -->
+
+ <servlet>
+ <servlet-name>Spring MVC Dispatcher Servlet</servlet-name>
+ <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
+ <init-param>
+ <param-name>contextConfigLocation</param-name>
+ <param-value>
+ </param-value>
+ </init-param>
+ <load-on-startup>1</load-on-startup>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>Spring MVC Dispatcher Servlet</servlet-name>
+ <url-pattern>*.html</url-pattern>
+ </servlet-mapping>
+
</web-app>
+++ /dev/null
-<%@page contentType="text/html;charset=UTF-8"%>
-<%@page pageEncoding="UTF-8"%>
-<%@page session="false" %>
-<%@taglib uri="http://tiles.apache.org/tags-tiles" prefix="t" %>
-<t:insertDefinition name="BASEPAGE">
- <t:putAttribute name="title" value="Blog" type="string"/>
- <t:putAttribute name="navigation" type="string">
- <h1 class="nav">Navigation</h1>
- <h2 class="nav menu">Section-Menu</h2>
- <ul id="menu">
- <li class="m blog"><strong class="m">Blog</strong></li>
- <li class="m projects"><a href="projects.jsp" class="m">Projects</a></li>
- </ul>
- </t:putAttribute>
- <t:putAttribute name="marginalcontent" type="string">
- <div>
- <h1>Recent Posts</h1>
- <ul>
- <li><a href="#">Post 1</a></li>
- <li><a href="#">Post 2</a></li>
- <li><a href="#">Post 3</a></li>
- <li><a href="#">Post 4</a></li>
- <li><a href="#">Post 5</a></li>
- </ul>
- <h1>Categories</h1>
- <ul>
- <li><a href="#">Category 1</a></li>
- <li><a href="#">Category 2</a></li>
- <li><a href="#">Category 3</a></li>
- <li><a href="#">Category 4</a></li>
- <li><a href="#">Category 6</a></li>
- <li><a href="#">Category 7</a></li>
- <li><a href="#">Category 8</a></li>
- </ul>
- <h1>Tags</h1>
- <ul>
- <li><a href="#">Tag 1</a></li>
- <li><a href="#">Tag 2</a></li>
- <li><a href="#">Tag 3</a></li>
- <li><a href="#">Tag 4</a></li>
- </ul>
- </div>
- </t:putAttribute>
-</t:insertDefinition>
+++ /dev/null
-<%@page contentType="text/html;charset=UTF-8"%>
-<%@page pageEncoding="UTF-8"%>
-<%@page session="false" %>
-<%@taglib uri="http://tiles.apache.org/tags-tiles" prefix="t" %>
-<t:insertDefinition name="ONECOLUMN">
- <t:putAttribute name="title" value="Contact" type="string"/>
- <t:putAttribute name="marginalcontent" type="string" value=""/>
-</t:insertDefinition>
+++ /dev/null
-<%@page contentType="text/html;charset=UTF-8"%>
-<%@page pageEncoding="UTF-8"%>
-<%@page session="false" %>
-<%@taglib uri="http://tiles.apache.org/tags-tiles" prefix="t" %>
-<t:insertDefinition name="ONECOLUMN">
- <t:putAttribute name="title" value="Impressum" type="string"/>
- <t:putAttribute name="marginalcontent" type="string" value=""/>
-</t:insertDefinition>
+++ /dev/null
-<%@page contentType="text/html;charset=UTF-8"%>
-<%@page pageEncoding="UTF-8"%>
-<%@page session="false" %>
-<%@taglib uri="http://tiles.apache.org/tags-tiles" prefix="t" %>
-<t:insertDefinition name="ONECOLUMN">
- <t:putAttribute name="title" value="Branding" type="string"/>
-</t:insertDefinition>
+++ /dev/null
-<%@page contentType="text/html;charset=UTF-8"%>
-<%@page pageEncoding="UTF-8"%>
-<%@page session="false" %>
-<%@taglib uri="http://tiles.apache.org/tags-tiles" prefix="t" %>
-<t:insertDefinition name="BASEPAGE">
- <t:putAttribute name="title" value="Projects" type="string"/>
- <t:putAttribute name="navigation" type="string">
- <h1 class="nav">Navigation</h1>
- <h2 class="nav menu">Section-Menu</h2>
- <ul id="menu" class="s active">
- <li class="m blog"><a href="blog.jsp" class="m">Blog</a></li>
- <li class="m projects"><strong class="m">Projects</strong></li>
- </ul>
- <h2 class="nav submenu"><span class="s">Submenu for section </span><strong class="s">Projects</strong></h2>
- <ul id="submenu">
- <li class="s sub"><a href="" class="s">hibernate4-maven-plugin</a></li>
- <li class="s sub"><a href="projects/fix-swf.jsp" class="s">fix-swf</a></li>
- <li class="s"><a href="" class="s">jquery.openx</a></li>
- <li class="s"><a href="" class="s">halbekunst</a></li>
- <li class="s sub"><a href="" class="s">accelerator</a></li>
- <li class="s"><a href="projects/typo.jsp" class="s">Typography</a></li>
- </ul>
- </t:putAttribute>
-</t:insertDefinition>
+++ /dev/null
-<%@page contentType="text/html;charset=UTF-8"%>
-<%@page pageEncoding="UTF-8"%>
-<%@page session="false" %>
-<%@taglib uri="http://tiles.apache.org/tags-tiles" prefix="t" %>
-<t:insertDefinition name="BASEPAGE">
- <t:putAttribute name="title" value="Fix SWF" type="string"/>
- <t:putAttribute name="navigation" type="string">
- <h1 class="nav">Navigation</h1>
- <h2 class="nav menu">Section-Menu</h2>
- <ul id="menu">
- <li class="m blog"><a href="blog.jsp" class="m">Blog</a></li>
- <li class="m projects"><a href="projects.jsp" class="m selected">Projects</a></li>
- </ul>
- <h2 class="nav submenu">
- <span class="s">Submenu for section</span>
- <a class="s selected" href="projects.jsp">Projects</a>
- </h2>
- <ul id="submenu" class="s">
- <li class="s sub off"><a href="" class="s">hibernate4-maven-plugin</a></li>
- <li class="s sub">
- <strong class="s">fix-swf</strong>
- <ul class="s active">
- <li class="s"><a href="projects/fix-swf/overview.jsp" class="s">Overview</a></li>
- <li class="s"><a href="projects/fix-swf/getting-started.jsp" class="s">Getting Started</a></li>
- <li class="s"><a href="" class="s">FAQ</a></li>
- <li class="s"><a href="" class="s">Documentation</a></li>
- </ul>
- </li>
- <li class="s off"><a href="" class="s">jquery.openx</a></li>
- <li class="s off"><a href="" class="s">halbekunst</a></li>
- <li class="s sub off"><a href="" class="s">accelerator</a></li>
- <li class="s off"><a href="projects/typo.jsp" class="s">Typography</a></li>
- </ul>
- </t:putAttribute>
-</t:insertDefinition>
+++ /dev/null
-<%@page contentType="text/html;charset=UTF-8"%>
-<%@page pageEncoding="UTF-8"%>
-<%@page session="false" %>
-<%@taglib uri="http://tiles.apache.org/tags-tiles" prefix="t" %>
-<t:insertDefinition name="BASEPAGE">
- <t:putAttribute name="title" value="Fix SWF - Getting Started" type="string"/>
- <t:putAttribute name="navigation" type="string">
- <h1 class="nav">Navigation</h1>
- <h2 class="nav menu">Section-Menu</h2>
- <ul id="menu">
- <li class="m blog"><a href="blog.jsp" class="m">Blog</a></li>
- <li class="m projects"><a href="projects.jsp" class="m selected">Projects</a></li>
- </ul>
- <h2 class="nav submenu">
- <span class="s">Submenu for section</span>
- <a class="s selected" href="projects.jsp">Projects</a>
- </h2>
- <ul id="submenu" class="s">
- <li class="s sub off"><a href="" class="s">hibernate4-maven-plugin</a></li>
- <li class="s sub">
- <a href="projects/fix-swf.jsp" class="s selected">fix-swf</a>
- <ul class="s active">
- <li class="s"><a href="projects/fix-swf/overview.jsp" class="s">Overview</a></li>
- <li class="s"><strong class="s">Getting Started</strong></li>
- <li class="s"><a href="" class="s">FAQ</a></li>
- <li class="s"><a href="" class="s">Documentation</a></li>
- </ul>
- </li>
- <li class="s off"><a href="" class="s">jquery.openx</a></li>
- <li class="s off"><a href="" class="s">halbekunst</a></li>
- <li class="s sub off"><a href="" class="s">accelerator</a></li>
- <li class="s off"><a href="projects/typo.jsp" class="s">Typography</a></li>
- </ul>
- </t:putAttribute>
-</t:insertDefinition>
+++ /dev/null
-<%@page contentType="text/html;charset=UTF-8"%>
-<%@page pageEncoding="UTF-8"%>
-<%@page session="false" %>
-<%@taglib uri="http://tiles.apache.org/tags-tiles" prefix="t" %>
-<t:insertDefinition name="BASEPAGE">
- <t:putAttribute name="title" value="Fix SWF - Overview" type="string"/>
- <t:putAttribute name="navigation" type="string">
- <h1 class="nav">Navigation</h1>
- <h2 class="nav menu">Section-Menu</h2>
- <ul id="menu">
- <li class="m blog"><a href="blog.jsp" class="m">Blog</a></li>
- <li class="m projects"><a href="projects.jsp" class="m selected">Projects</a></li>
- </ul>
- <h2 class="nav submenu">
- <span class="s">Submenu for section</span>
- <a class="s selected" href="projects.jsp">Projects</a>
- </h2>
- <ul id="submenu" class="s">
- <li class="s sub off"><a href="" class="s">hibernate4-maven-plugin</a></li>
- <li class="s sub">
- <a href="projects/fix-swf.jsp" class="s selected">fix-swf</a>
- <ul class="s active">
- <li class="s"><strong class="s">Overview</strong></li>
- <li class="s"><a href="projects/fix-swf/getting-started.jsp" class="s">Getting Started</a></li>
- <li class="s"><a href="" class="s">FAQ</a></li>
- <li class="s"><a href="" class="s">Documentation</a></li>
- </ul>
- </li>
- <li class="s off"><a href="" class="s">jquery.openx</a></li>
- <li class="s off"><a href="" class="s">halbekunst</a></li>
- <li class="s sub off"><a href="" class="s">accelerator</a></li>
- <li class="s off"><a href="projects/typo.jsp" class="s">Typography</a></li>
- </ul>
- </t:putAttribute>
-</t:insertDefinition>
+++ /dev/null
-<%@page contentType="text/html;charset=UTF-8"%>
-<%@page pageEncoding="UTF-8"%>
-<%@page session="false" %>
-<%@taglib uri="http://tiles.apache.org/tags-tiles" prefix="t" %>
-<t:insertDefinition name="BASEPAGE">
- <t:putAttribute name="title" value="Typo" type="string"/>
- <t:putAttribute name="navigation" type="string">
- <h1 class="nav">Navigation</h1>
- <h2 class="nav menu">Section-Menu</h2>
- <ul id="menu">
- <li class="m blog"><a href="blog.jsp" class="m">Blog</a></li>
- <li class="m projects"><a href="projects.jsp" class="m selected">Projects</a></li>
- </ul>
- <h2 class="nav submenu">
- <span class="s">Submenu for section</span>
- <a class="s selected" href="projects.jsp">Projects</a>
- </h2>
- <ul id="submenu" class="s active">
- <li class="s sub"><a href="" class="s">hibernate4-maven-plugin</a></li>
- <li class="s sub"><a href="projects/fix-swf.jsp" class="s">fix-swf</a></li>
- <li class="s"><a href="" class="s">jquery.openx</a></li>
- <li class="s"><a href="" class="s">halbekunst</a></li>
- <li class="s sub"><a href="" class="s">accelerator</a></li>
- <li class="s"><strong class="s">Typography</strong></li>
- </ul>
- </t:putAttribute>
- <t:putAttribute name="maincontent" type="string">
- <p>
- Lorem ipsum dolor <a href="#da">sit amet</a>, consectetur adipisicing elit,
- sed do eiusmod <strong>tempor incididunt</strong> ut labore et dolore
- magna aliqua. Ut enim ad minim veniam, quis nostrud
- <a href="dort">exercitation</a> ullamco laboris nisi ut aliquip
- <em>ex ea</em> commodo consequat. Duis aute irure dolor in reprehenderit
- in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
- <strong>Excepteur sint <em>occaecat</em> cupidatat non proident</strong>,
- sunt in culpa qui officia deserunt mollit anim id est laborum.
- </p>
- <h2>Ein Link <a href="#link">im Titel</a></h2>
- <p>Ein Link <a href="#link">im Text</a>.</p>
- <h2>Normal / Italic / Bold / Bold+Italic</h2>
- <ul>
- <li>normal</li>
- <li><em>italic</em></li>
- <li><strong>bold</strong></li>
- <li><strong><em>bold italic</em></strong></li>
- </ul>
- <p>
- ÄäÖöÜüß@€¢
- <strong>ÄäÖöÜüß@€¢</strong>
- <em>ÄäÖöÜüß@€¢</em>
- <strong><em>ÄäÖöÜüß@€¢</em></strong>
- </p>
- <h1>H1: Heading</h1>
- <h2>H2: Heading</h2>
- <h3>H3: Heading</h3>
- <h4>H4: Heading</h4>
- <h1>H1: Heading</h1>
- <p>
- Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
- eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim
- ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut
- aliquip ex ea commodo consequat. Duis aute irure dolor in
- reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla
- pariatur. Excepteur sint occaecat cupidatat non proident, sunt in
- culpa qui officia deserunt mollit anim id est laborum.
- </p>
- <h2>H2: Heading</h2>
- <p>
- Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
- eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim
- ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut
- aliquip ex ea commodo consequat. Duis aute irure dolor in
- reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla
- pariatur. Excepteur sint occaecat cupidatat non proident, sunt in
- culpa qui officia deserunt mollit anim id est laborum.
- </p>
- <h3>H3: Heading</h3>
- <p>
- Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
- eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim
- ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut
- aliquip ex ea commodo consequat. Duis aute irure dolor in
- reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla
- pariatur. Excepteur sint occaecat cupidatat non proident, sunt in
- culpa qui officia deserunt mollit anim id est laborum.
- </p>
- <h4>H4: Heading</h4>
- <p>
- Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
- eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim
- ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut
- aliquip ex ea commodo consequat. Duis aute irure dolor in
- reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla
- pariatur. Excepteur sint occaecat cupidatat non proident, sunt in
- culpa qui officia deserunt mollit anim id est laborum.
- </p>
- </t:putAttribute>
-</t:insertDefinition>