<%--<%@page errorPage="errorHandler.jsp" %>--%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
-<%@page import="org.mxchange.pizzaapplication.beans.PizzaServiceBean"%>
+<%@page import="org.mxchange.pizzaapplication.beans.controller.PizzaServiceBean"%>
<%@page import="org.mxchange.pizzaapplication.beans.PizzaBean"%>
<%@page import="org.mxchange.pizzaapplication.beans.customer.CustomerBean" %>
<%@page import="org.mxchange.pizzaapplication.product.Product"%>
<%@page import="org.mxchange.pizzaapplication.exceptions.CategoryTitleAlreadyUsedException"%>
-<jsp:useBean id="controller" scope="session" class="org.mxchange.pizzaapplication.beans.PizzaServiceBean" type="org.mxchange.pizzaapplication.beans.PizzaBean" />
+<jsp:useBean id="controller" scope="session" class="org.mxchange.pizzaapplication.beans.controller.PizzaServiceBean" type="org.mxchange.pizzaapplication.beans.PizzaBean" />
+
+<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
+<c:set var="basePath" value="${pageContext.request.contextPath}" />
<%
// Handle forms
<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="<%=request.getContextPath()%>/style.css" type="text/css"/>
+ <link rel="stylesheet" href="${basePath}/style.css" type="text/css"/>
<title>Pizza-Service - Form-Handler</title>
</head>
<jsp:include page="/static/admin/admin_menu.jsp" flush="false" />
- <div id="content_outer">
- <div id="content_title">
- <h2>Bitte nicht direkt aufrufen:</h2>
- </div>
-
- <div id="content">
- Bitte rufen Sie diese Seite nicht direkt auf.
- </div>
- </div>
+ <jsp:include page="/static/error/direct_call.jsp" flush="false" />
</body>
</html>