]> git.mxchange.org Git - pizzaservice-war.git/commitdiff
Renamed JSPs to XHTML + removed style.css (old way and already copied into new CSS...
authorRoland Haeder <roland@mxchange.org>
Wed, 2 Sep 2015 16:48:48 +0000 (18:48 +0200)
committerRoland Haeder <roland@mxchange.org>
Wed, 2 Sep 2015 16:48:48 +0000 (18:48 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
12 files changed:
web/bye.jsp [deleted file]
web/bye.xhtml [new file with mode: 0644]
web/errorHandler.jsp [deleted file]
web/errorHandler.xhtml [new file with mode: 0644]
web/imprint.jsp [deleted file]
web/imprint.xhtml [new file with mode: 0644]
web/index.jsp [deleted file]
web/privacy.jsp [deleted file]
web/privacy.xhtml [new file with mode: 0644]
web/style.css [deleted file]
web/terms.jsp [deleted file]
web/terms.xhtml [new file with mode: 0644]

diff --git a/web/bye.jsp b/web/bye.jsp
deleted file mode 100644 (file)
index 167737b..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-<%-- 
-       Document   : bye
-       Created on : 05.08.2015, 10:51:14
-       Author     : Roland Haeder
---%>
-
-<%--<%@page errorPage="errorHandler.jsp" %>--%>
-
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
-       <head>
-               <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-               <link rel="stylesheet" href="${basePath}/style.css" type="text/css" />
-               <title>Pizza-Service - Sitzung beenden</title>
-       </head>
-
-       <body>
-               <div id="header"> 
-                       <div id="title">
-                               <h1>Pizza-Service - Sitzung beenden</h1>
-                       </div>
-               </div>
-
-               <jsp:include page="/static/guest/guest_menu.jsp" flush="false" />
-
-               <div id="content_outer">
-                       <div id="content_title">
-                               <h2>Situng beenden:</h2>
-                       </div>
-
-                       <div id="content">
-                               <%
-                               synchronized (session) {
-                                       if (!session.isNew()) {
-                                               // Not new session
-                                               session.invalidate();
-                                               out.println("Sitzung beendet.");
-                                       } else {
-                                               // New session
-                                               out.println("Sitzung bereits beendet.");
-                                       }
-                               }
-                               %>
-                       </div>
-               </div>
-
-               <jsp:include page="/static/guest/guest_footer.jsp" flush="false" />
-       </body>
-</html>
diff --git a/web/bye.xhtml b/web/bye.xhtml
new file mode 100644 (file)
index 0000000..167737b
--- /dev/null
@@ -0,0 +1,49 @@
+<%-- 
+       Document   : bye
+       Created on : 05.08.2015, 10:51:14
+       Author     : Roland Haeder
+--%>
+
+<%--<%@page errorPage="errorHandler.jsp" %>--%>
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
+       <head>
+               <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+               <link rel="stylesheet" href="${basePath}/style.css" type="text/css" />
+               <title>Pizza-Service - Sitzung beenden</title>
+       </head>
+
+       <body>
+               <div id="header"> 
+                       <div id="title">
+                               <h1>Pizza-Service - Sitzung beenden</h1>
+                       </div>
+               </div>
+
+               <jsp:include page="/static/guest/guest_menu.jsp" flush="false" />
+
+               <div id="content_outer">
+                       <div id="content_title">
+                               <h2>Situng beenden:</h2>
+                       </div>
+
+                       <div id="content">
+                               <%
+                               synchronized (session) {
+                                       if (!session.isNew()) {
+                                               // Not new session
+                                               session.invalidate();
+                                               out.println("Sitzung beendet.");
+                                       } else {
+                                               // New session
+                                               out.println("Sitzung bereits beendet.");
+                                       }
+                               }
+                               %>
+                       </div>
+               </div>
+
+               <jsp:include page="/static/guest/guest_footer.jsp" flush="false" />
+       </body>
+</html>
diff --git a/web/errorHandler.jsp b/web/errorHandler.jsp
deleted file mode 100644 (file)
index 1021261..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-<%-- 
-       Document   : errorHandler
-       Created on : 05.08.2015, 12:06:39
-       Author     : Roland Haeder
---%>
-
-<%@page import="java.io.PrintWriter"%>
-<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
-<jsp:useBean id="date" class="java.util.Date" />
-
-<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
-<c:set var="basePath" value="${pageContext.request.contextPath}" />
-
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
-       <head>
-               <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-               <link rel="stylesheet" href="${basePath}/style.css" type="text/css" />
-               <title>Pizza-Service - Fehler</title>
-       </head>
-
-       <body>
-               <div id="header"> 
-                       <div id="title">
-                               <h1>Pizza-Service - Fehler</h1>
-                       </div>
-               </div>
-
-               <jsp:include page="/static/guest/guest_menu.jsp" flush="false" />
-
-               <div id="content_outer">
-                       <div id="content_title">
-                               <h2>An error occured:</h2>
-                       </div>
-
-                       <div id="content">
-                               Unfortunately an unexpected error has occurred. Below you can find the error details.
-                               <ul>
-                                       <li>Timestamp: <fmt:formatDate value="${date}" type="both" dateStyle="long" timeStyle="long" /></li>
-                                       <li>Action: <c:out value="${requestScope['javax.servlet.forward.request_uri']}" /></li>
-                                       <li>Exception: <c:out value="${requestScope['javax.servlet.error.exception']}" /></li>
-                                       <li>Message: <c:out value="${requestScope['javax.servlet.error.message']}" /></li>
-                                       <li>Status code: <c:out value="${requestScope['javax.servlet.error.status_code']}" /></li>
-                                       <li>User agent: <c:out value="${header['user-agent']}" /></li>
-                               </ul>
-                       </div>
-               </div>
-
-               <jsp:include page="/static/guest/guest_footer.jsp" flush="false" />
-       </body>
-</html>
diff --git a/web/errorHandler.xhtml b/web/errorHandler.xhtml
new file mode 100644 (file)
index 0000000..1021261
--- /dev/null
@@ -0,0 +1,52 @@
+<%-- 
+       Document   : errorHandler
+       Created on : 05.08.2015, 12:06:39
+       Author     : Roland Haeder
+--%>
+
+<%@page import="java.io.PrintWriter"%>
+<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
+<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
+<jsp:useBean id="date" class="java.util.Date" />
+
+<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
+<c:set var="basePath" value="${pageContext.request.contextPath}" />
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
+       <head>
+               <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+               <link rel="stylesheet" href="${basePath}/style.css" type="text/css" />
+               <title>Pizza-Service - Fehler</title>
+       </head>
+
+       <body>
+               <div id="header"> 
+                       <div id="title">
+                               <h1>Pizza-Service - Fehler</h1>
+                       </div>
+               </div>
+
+               <jsp:include page="/static/guest/guest_menu.jsp" flush="false" />
+
+               <div id="content_outer">
+                       <div id="content_title">
+                               <h2>An error occured:</h2>
+                       </div>
+
+                       <div id="content">
+                               Unfortunately an unexpected error has occurred. Below you can find the error details.
+                               <ul>
+                                       <li>Timestamp: <fmt:formatDate value="${date}" type="both" dateStyle="long" timeStyle="long" /></li>
+                                       <li>Action: <c:out value="${requestScope['javax.servlet.forward.request_uri']}" /></li>
+                                       <li>Exception: <c:out value="${requestScope['javax.servlet.error.exception']}" /></li>
+                                       <li>Message: <c:out value="${requestScope['javax.servlet.error.message']}" /></li>
+                                       <li>Status code: <c:out value="${requestScope['javax.servlet.error.status_code']}" /></li>
+                                       <li>User agent: <c:out value="${header['user-agent']}" /></li>
+                               </ul>
+                       </div>
+               </div>
+
+               <jsp:include page="/static/guest/guest_footer.jsp" flush="false" />
+       </body>
+</html>
diff --git a/web/imprint.jsp b/web/imprint.jsp
deleted file mode 100644 (file)
index 5c066f6..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<%-- 
-       Document   : login
-       Created on : 11.08.2015, 11:35:53
-       Author     : Roland Haeder
---%>
-
-<%--<%@page errorPage="errorHandler.jsp" %>--%>
-<%@page contentType="text/html" pageEncoding="UTF-8"%>
-<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
-
-<c:set var="basePath" value="${pageContext.request.contextPath}" />
-
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
-       <head>
-               <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-               <link rel="stylesheet" href="${basePath}/style.css" type="text/css" />
-               <title>Pizza-Service - Impressum</title>
-       </head>
-
-       <body>
-               <div id="header"> 
-                       <div id="title">
-                               <h1>Pizza-Service - Impressum</h1>
-                       </div>
-               </div>
-
-               <jsp:include page="/static/guest/guest_menu.jsp" flush="false" />
-
-               <div id="content_outer">
-                       <div id="content_title">
-                               <h2>Impressum:</h2>
-                       </div>
-
-                       <div id="content">
-                       </div>
-               </div>
-
-               <jsp:include page="/static/guest/guest_footer.jsp" flush="false" />
-       </body>
-</html>
diff --git a/web/imprint.xhtml b/web/imprint.xhtml
new file mode 100644 (file)
index 0000000..5c066f6
--- /dev/null
@@ -0,0 +1,41 @@
+<%-- 
+       Document   : login
+       Created on : 11.08.2015, 11:35:53
+       Author     : Roland Haeder
+--%>
+
+<%--<%@page errorPage="errorHandler.jsp" %>--%>
+<%@page contentType="text/html" pageEncoding="UTF-8"%>
+<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
+
+<c:set var="basePath" value="${pageContext.request.contextPath}" />
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
+       <head>
+               <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+               <link rel="stylesheet" href="${basePath}/style.css" type="text/css" />
+               <title>Pizza-Service - Impressum</title>
+       </head>
+
+       <body>
+               <div id="header"> 
+                       <div id="title">
+                               <h1>Pizza-Service - Impressum</h1>
+                       </div>
+               </div>
+
+               <jsp:include page="/static/guest/guest_menu.jsp" flush="false" />
+
+               <div id="content_outer">
+                       <div id="content_title">
+                               <h2>Impressum:</h2>
+                       </div>
+
+                       <div id="content">
+                       </div>
+               </div>
+
+               <jsp:include page="/static/guest/guest_footer.jsp" flush="false" />
+       </body>
+</html>
diff --git a/web/index.jsp b/web/index.jsp
deleted file mode 100644 (file)
index ec70c2d..0000000
+++ /dev/null
@@ -1,132 +0,0 @@
-<%-- 
-       Document   : index
-       Created on : 04.08.2015, 10:33:10
-       Author     : Roland Haeder
---%>
-
-<%--<%@page errorPage="errorHandler.jsp" %>--%>
-<%@page import="org.mxchange.pizzaapplication.beans.controller.PizzaBean"%>
-<%@page contentType="text/html" pageEncoding="UTF-8"%>
-<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
-<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
-<%@taglib prefix="basket" uri="http://mxchange.org/jshop/tags/basket" %>
-
-<jsp:useBean id="controller" scope="session" class="org.mxchange.pizzaapplication.beans.controller.PizzaServiceBean" type="PizzaBean" />
-
-<jsp:setProperty name="controller" property="application" value="${pageContext.servletContext}" />
-<jsp:setProperty name="controller" property="basket" value="${basket}" />
-<%
-       // TODO: Can be removed later
-       controller.init();
-%>
-
-<c:set var="basePath" value="${pageContext.request.contextPath}" />
-
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
-       <head>
-               <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-               <link rel="stylesheet" href="${basePath}/style.css" type="text/css" />
-               <title>Pizza-Service - Willkommen</title>
-       </head>
-
-       <body>
-               <div id="header"> 
-                       <div id="title">
-                               <h1>Pizza-Service - Willkommen</h1>
-                       </div>
-               </div>
-
-               <jsp:include page="/static/guest/guest_menu.jsp" flush="false" />
-
-               <div id="content_outer">
-                       <div id="content_title">
-                               <h2>Eingangsseite (dummy):</h2>
-                       </div>
-
-                       <div id="content">
-                               <!-- TODO: Missing in xhtml: //-->
-                               <basket:mini_basket basket="${basket}" />
-
-                               <table class="table">
-                                       <thead>
-                                               <tr>
-                                                       <th colspan="4" class="table_header">
-                                                               Folgendes kann bestellt werden:
-                                                       </th>
-                                               </tr>
-                                       </thead>
-
-                                       <tbody>
-                                               <tr>
-                                                       <th class="table_header_column">
-                                                               Bestellen?
-                                                       </th>
-                                                       <th class="table_header_column">
-                                                               Anzahl:
-                                                       </th>
-                                                       <th class="table_header_column">
-                                                               Produkt:
-                                                       </th>
-                                                       <th class="table_header_column">
-                                                               Einzelpreis:
-                                                       </th>
-                                               </tr>
-                                       </tbody>
-                               </table>
-
-                               <c:forEach var="product" items="${controller.availableProductsIterator}">
-                                       <c:choose>
-                                               <c:when test="${controller.basket.isAdded(product)}">
-                                                       <c:set var="item" value="${controller.basket.item}" />
-                                                       <table class="table">
-                                                               <tbody>
-                                                                               <tr>
-                                                                                       <td class="table_data_column">
-                                                                                               <a href="${basePath}/basket.jsp" title="Zum Warenkorb">Warenkorb</a>
-                                                                                       </td>
-                                                                                       <td class="table_data_column">
-                                                                                               ${item.amount}
-                                                                                       </td>
-                                                                                       <td class="table_data_column">
-                                                                                               ${product.title}
-                                                                                       </td>
-                                                                                       <td class="table_data_column" align="right">
-                                                                                               <fmt:formatNumber type="currency" minFractionDigits="2" maxFractionDigits="2" value="${product.price}" />
-                                                                                       </td>
-                                                                               </tr>
-                                                               </tbody>
-                                                       </table>
-                                               </c:when>
-                                               <c:otherwise>
-                                                       <form action="${basePath}/form_handler/add_item.jsp" accept-charset="utf-8" id="form" method="post">
-                                                       <table class="table">
-                                                               <tbody>
-                                                                               <tr>
-                                                                                       <td class="table_data_column">
-                                                                                               <input class="submit" type="submit" name="add" value="Hinzuf&uuml;gen" />
-                                                                                               <input type="hidden" name="itemId" value="${product.itemId}" />
-                                                                                               <input type="hidden" name="itemType" value="Product" />
-                                                                                       </td>
-                                                                                       <td class="table_data_column">
-                                                                                               <input class="input" type="text" name="amount" size="3" maxlength="20" />
-                                                                                       </td>
-                                                                                       <td class="table_data_column">
-                                                                                               ${product.title}
-                                                                                       </td>
-                                                                                       <td class="table_data_column" align="right">
-                                                                                               <fmt:formatNumber type="currency" minFractionDigits="2" maxFractionDigits="2" value="${product.price}" />
-                                                                                       </td>
-                                                                               </tr>
-                                                               </tbody>
-                                                       </table>
-                                                       </form>
-                                               </c:otherwise>
-                                       </c:choose>
-                               </c:forEach>
-                       </div>
-               </div>
-
-               <jsp:include page="/static/guest/guest_footer.jsp" flush="false" />
-       </body>
-</html>
diff --git a/web/privacy.jsp b/web/privacy.jsp
deleted file mode 100644 (file)
index e385c09..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<%-- 
-       Document   : privacy
-       Created on : 11.08.2015, 11:56:22
-       Author     : Roland Haeder
---%>
-
-<%--<%@page errorPage="errorHandler.jsp" %>--%>
-<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
-<%@page contentType="text/html" pageEncoding="UTF-8"%>
-
-<c:set var="basePath" value="${pageContext.request.contextPath}" />
-
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
-       <head>
-               <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-               <link rel="stylesheet" href="${basePath}/style.css" type="text/css" />
-               <title>Pizza-Service - Datenschutzbestimmungen</title>
-       </head>
-
-       <body>
-               <div id="header"> 
-                       <div id="title">
-                               <h1>Pizza-Service - Datenschutzbestimmungen</h1>
-                       </div>
-               </div>
-
-               <jsp:include page="/static/guest/guest_menu.jsp" flush="false" />
-
-               <div id="content_outer">
-                       <div id="content_title">
-                               <h2>Datenschutzbestimmungen:</h2>
-                       </div>
-
-                       <div id="content">
-                       </div>
-               </div>
-
-               <jsp:include page="/static/guest/guest_footer.jsp" flush="false" />
-       </body>
-</html>
diff --git a/web/privacy.xhtml b/web/privacy.xhtml
new file mode 100644 (file)
index 0000000..e385c09
--- /dev/null
@@ -0,0 +1,41 @@
+<%-- 
+       Document   : privacy
+       Created on : 11.08.2015, 11:56:22
+       Author     : Roland Haeder
+--%>
+
+<%--<%@page errorPage="errorHandler.jsp" %>--%>
+<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
+<%@page contentType="text/html" pageEncoding="UTF-8"%>
+
+<c:set var="basePath" value="${pageContext.request.contextPath}" />
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
+       <head>
+               <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+               <link rel="stylesheet" href="${basePath}/style.css" type="text/css" />
+               <title>Pizza-Service - Datenschutzbestimmungen</title>
+       </head>
+
+       <body>
+               <div id="header"> 
+                       <div id="title">
+                               <h1>Pizza-Service - Datenschutzbestimmungen</h1>
+                       </div>
+               </div>
+
+               <jsp:include page="/static/guest/guest_menu.jsp" flush="false" />
+
+               <div id="content_outer">
+                       <div id="content_title">
+                               <h2>Datenschutzbestimmungen:</h2>
+                       </div>
+
+                       <div id="content">
+                       </div>
+               </div>
+
+               <jsp:include page="/static/guest/guest_footer.jsp" flush="false" />
+       </body>
+</html>
diff --git a/web/style.css b/web/style.css
deleted file mode 100644 (file)
index a94052a..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-/**
-div {
-       border: 1px solid #ff0000;
-}
-/**/
-
-table, .table {
-       margin: 0px;
-       padding: 0px;
-}
-
-.table {
-       width: 500px;
-}
-
-.table_row {
-       width: 100%;
-}
-
-.table_left {
-       width: 250px;
-       float: left;
-}
-
-.table_right {
-       width: 200px;
-       float: right;
-}
-
-.table_left25 {
-       width: 20px;
-       float: left;
-}
-
-.table_right75 {
-       width: 430px;
-       float: right;
-}
-
-.para {
-       padding: 5px 5px 5px 5px;
-}
-
-.clear {
-       clear: both;
-}
-
-ul.footer_nav {
-       text-align: center;
-       width   : 500px;
-       list-style: none;
-}
-
-ul.footer_nav li {
-       float: left;
-       width: 100px;
-}
-
-#menu ul {
-       list-style: none;
-       padding-left: 5px;
-}
-
-.table_header {
-       text-align: center;
-       font-weight: bold;
-       font-size: 20px;
-}
-
-.table_header_column {
-       width: 100px;
-}
-
-.table_data_column {
-       width: 100px;
-}
diff --git a/web/terms.jsp b/web/terms.jsp
deleted file mode 100644 (file)
index 1c365b3..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<%-- 
-       Document   : privacy
-       Created on : 11.08.2015, 11:56:22
-       Author     : Roland Haeder
---%>
-
-<%--<%@page errorPage="errorHandler.jsp" %>--%>
-<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
-<%@page contentType="text/html" pageEncoding="UTF-8"%>
-
-<c:set var="basePath" value="${pageContext.request.contextPath}" />
-
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
-       <head>
-               <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-               <link rel="stylesheet" href="${basePath}/style.css" type="text/css" />
-               <title>Pizza-Service - Allgemeine Geschäftsbedingungen</title>
-       </head>
-
-       <body>
-               <div id="header"> 
-                       <div id="title">
-                               <h1>Pizza-Service - Allgemeine Geschäftsbedingungen</h1>
-                       </div>
-               </div>
-
-               <jsp:include page="/static/guest/guest_menu.jsp" flush="false" />
-
-               <div id="content_outer">
-                       <div id="content_title">
-                               <h2>Allgemeine Geschäftsbedingungen:</h2>
-                       </div>
-
-                       <div id="content">
-                       </div>
-               </div>
-
-               <jsp:include page="/static/guest/guest_footer.jsp" flush="false" />
-       </body>
-</html>
diff --git a/web/terms.xhtml b/web/terms.xhtml
new file mode 100644 (file)
index 0000000..1c365b3
--- /dev/null
@@ -0,0 +1,41 @@
+<%-- 
+       Document   : privacy
+       Created on : 11.08.2015, 11:56:22
+       Author     : Roland Haeder
+--%>
+
+<%--<%@page errorPage="errorHandler.jsp" %>--%>
+<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
+<%@page contentType="text/html" pageEncoding="UTF-8"%>
+
+<c:set var="basePath" value="${pageContext.request.contextPath}" />
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
+       <head>
+               <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+               <link rel="stylesheet" href="${basePath}/style.css" type="text/css" />
+               <title>Pizza-Service - Allgemeine Geschäftsbedingungen</title>
+       </head>
+
+       <body>
+               <div id="header"> 
+                       <div id="title">
+                               <h1>Pizza-Service - Allgemeine Geschäftsbedingungen</h1>
+                       </div>
+               </div>
+
+               <jsp:include page="/static/guest/guest_menu.jsp" flush="false" />
+
+               <div id="content_outer">
+                       <div id="content_title">
+                               <h2>Allgemeine Geschäftsbedingungen:</h2>
+                       </div>
+
+                       <div id="content">
+                       </div>
+               </div>
+
+               <jsp:include page="/static/guest/guest_footer.jsp" flush="false" />
+       </body>
+</html>