]> git.mxchange.org Git - pizzaservice-war.git/blob - web/form_handler/add_item.jsp
Added footer for admin area + error include file "direct_call.jsp"
[pizzaservice-war.git] / web / form_handler / add_item.jsp
1 <%-- 
2         Document   : add_item
3         Ceated on : Aug 17, 2015, 7:03:38 PM
4         Author     : Roland Haeder
5 --%>
6
7 <%--<%@page errorPage="errorHandler.jsp" %>--%>
8 <%@page contentType="text/html" pageEncoding="UTF-8"%>
9 <%@page import="org.mxchange.pizzaapplication.application.PizzaApplication"%>
10 <%@page import="org.mxchange.pizzaapplication.application.PizzaServiceApplication"%>
11 <%@page import="org.mxchange.pizzaapplication.item.OrderableItem"%>
12
13 <%
14         // Init application instance
15         PizzaApplication app = PizzaServiceApplication.getInstance(application);
16
17         // Redirect to proper URL
18         // @TODO Commented out for debugging
19         //response.sendRedirect(request.getContextPath() + "/?add=1");
20 %>
21 <jsp:forward page="../index.jsp" />
22
23 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
24 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
25         <head>
26                 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
27                 <link rel="stylesheet" href="<%=request.getContextPath()%>/style.css" type="text/css"/>
28                 <title><%=PizzaServiceApplication.MAIN_TITLE%> - Form-Handler</title>
29         </head>
30
31         <body>
32                 <div id="title">
33                         <h1><%=PizzaServiceApplication.MAIN_TITLE%> - Form-Handler</h1>
34                 </div>
35
36                 <jsp:include page="/static/menu.jsp" flush="true" />
37
38                 <jsp:include page="/static/error/direct_call.jsp" flush="true" />
39         </body>
40 </html>