<%@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" />
-<c:set var="basePath" value="${pageContext.request.contextPath}" />
+<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}" />
<%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>
// Has it been already added to the basket?
if (item != null) {
- // Some nice output ...
+ // Item was added to basket
%>
<table class="table">
<tbody>