<%@page contentType="text/html;charset=UTF-8"%>
<%@page pageEncoding="UTF-8"%>
<%@page session="false" %>
+<%@page isErrorPage="true" %>
<%@taglib uri="http://tiles.apache.org/tags-tiles" prefix="t" %>
<%@taglib uri="http://www.springframework.org/tags" prefix="s"%>
<s:url var="base" value="/" />
--- /dev/null
+<%@page contentType="text/html;charset=UTF-8"%>
+<%@page pageEncoding="UTF-8"%>
+<%@page session="false" %>
+<%@page isErrorPage="true" %>
+<%@taglib uri="http://tiles.apache.org/tags-tiles" prefix="t" %>
+<%@taglib uri="http://www.springframework.org/tags" prefix="s"%>
+<s:url var="base" value="/" />
+<t:insertDefinition name="NOMENU">
+ <t:putAttribute name="contentclass" value="nomenu withbackground" type="string"/>
+ <t:putAttribute name="title" value="An unexpected Error occured!" type="string"/>
+ <t:putAttribute name="breadcrumb">
+ <li class="b"><a class="b" href="${base}index.html">Home</a></li>
+ <li class="b"><strong class="b">!#%*§</strong></li>
+ </t:putAttribute>
+ <t:putAttribute name="maincontent" type="string">
+ <span class="background sehrhell" id="bs1">x</span>
+ <span class="background heller" id="bs2">#</span>
+ <span class="background sehrhell" id="bs3">*</span>
+ <span class="background heller" id="bs4">%</span>
+ <span class="background sehrhell" id="bs5">§</span>
+ <span class="background sehrhell" id="bs6">?</span>
+ <span class="background heller" id="bs7">?</span>
+ <span class="background heller" id="bs8">?</span>
+ <span class="background heller" id="bs9">?</span>
+ <p>We do not know, what happend.</p>
+ <p>But we can tell you: WE ARE SORRY!</p>
+ <p>Really.</p>
+ <ul>
+ <li>${pageContext.errorData.statusCode}</li>
+ <li>${pageContext.errorData.requestURI}</li>
+ <li>${pageContext.errorData.servletName}</li>
+ <li>${pageContext.errorData.throwable}</li>
+ </ul>
+ </t:putAttribute>
+ <t:putAttribute name="marginalcontent" type="string" value=""/>
+</t:insertDefinition>
<%@page session="false" %>
<%@taglib uri="http://www.springframework.org/tags" prefix="s"%>
<s:url var="base" value="/" />
-<h2>HTML-Elemente</h2>
+<h2>HTML-Elemente / spezielle Seiten</h2>
<ul>
<li><a href="${base}test/formulare.html">Formulare</a></li>
<li><a href="${base}test/symbole.html">Symbol-Font</a></li>
+ <li><a href="${base}test/gibts-ja-gar-nicht.html">404-Fehlerseite</a></li>
+ <li><a href="${base}test/error.html">Fehlerseite für andere Fehler</a></li>
</ul>
<h2>Layout-Grenzfälle</h2>
<ul>
--- /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" %>
+<%@taglib uri="http://www.springframework.org/tags" prefix="s"%>
+<s:url var="base" value="/" />
+<t:insertDefinition name="test">
+ <t:putAttribute name="title" value="Diese Seite erzeugt einen Fehler!" type="string"/>
+ <t:putAttribute name="maincontent" type="string">
+ <% Integer.parseInt("foo"); //throws an exception %>
+ </t:putAttribute>
+</t:insertDefinition>