3 Ceated on : Aug 17, 2015, 7:03:38 PM
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.AddableBasketItem"%>
13 <jsp:useBean id="item" scope="session" class="org.mxchange.pizzaapplication.item.basket.BasketItem" type="AddableBasketItem" />
14 <jsp:setProperty name="item" property="*" />
17 // Init application instance
18 PizzaApplication app = PizzaServiceApplication.getInstance(application);
20 // Redirect to proper URL
21 response.sendRedirect(request.getContextPath() + "/?add=1");
24 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
25 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
27 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
28 <link rel="stylesheet" href="<%=request.getContextPath()%>/style.css" type="text/css"/>
29 <title><%=PizzaServiceApplication.MAIN_TITLE%> - Form-Handler</title>
34 <h1><%=PizzaServiceApplication.MAIN_TITLE%> - Form-Handler</h1>
37 <jsp:include page="/static/menu.jsp" flush="false" />
39 <jsp:include page="/static/error/direct_call.jsp" flush="false" />