]> git.mxchange.org Git - pizzaservice-war.git/commitdiff
Continued with project:
authorRoland Haeder <roland@mxchange.org>
Tue, 18 Aug 2015 09:45:36 +0000 (11:45 +0200)
committerRoland Haeder <roland@mxchange.org>
Tue, 18 Aug 2015 09:45:36 +0000 (11:45 +0200)
- no flush, maybe better?
- space removed
- Renamed variable "value" to "customerGender" for making it more clear
- Some more debug logging
- Added missing error handler (but commented out for developing)
Signed-off-by:Roland Häder <roland@mxchange.org>

23 files changed:
src/java/org/mxchange/pizzaapplication/application/PizzaServiceApplication.java
web/admin/category.jsp
web/admin/index.jsp
web/admin/product.jsp
web/bye.jsp
web/customer/login.jsp
web/customer/lost_passwd.jsp
web/customer/register.jsp
web/errorHandler.jsp
web/finished.jsp
web/form_handler/add_item.jsp
web/form_handler/admin/do_category.jsp
web/form_handler/admin/do_product.jsp
web/form_handler/do_order.jsp
web/form_handler/do_preview.jsp
web/imprint.jsp
web/index.jsp
web/preview.jsp
web/privacy.jsp
web/static/admin/category_selection_box.jsp
web/static/admin/parent_category_selection_box.jsp
web/static/gender_selection_box.jsp
web/terms.jsp

index d94e23b3b6f29f155eeab7c55480b1ceaea6666d..b81e142a635f910f33f657baf829a5e615d46bae 100644 (file)
@@ -93,6 +93,9 @@ public class PizzaServiceApplication extends BasePizzaServiceSystem implements P
                if (object instanceof PizzaApplication) {
                        // Instance is set, so casting should work
                        instance = (PizzaApplication) object;
+
+                       // Debug message
+                       instance.getLogger().debug(MessageFormat.format("Using existing instance {0} ...", object));
                } else if (object instanceof Object) {
                        // Not correct instance
                        throw new ServletException("app is not set correctly"); //NOI18N
@@ -100,6 +103,9 @@ public class PizzaServiceApplication extends BasePizzaServiceSystem implements P
                        try {
                                // "service" is null, so initialize it
                                instance = new PizzaServiceApplication(context);
+
+                       // Debug message
+                       instance.getLogger().debug(MessageFormat.format("Created new instance {0} ...", object));
                        } catch (final UnsupportedDatabaseBackendException | SQLException | IOException | BadTokenException ex) {
                                throw new ServletException(ex);
                        }
index 4ebcc9a60e76e4e1b760997b506b7bfc64f3b2b4..57417eba216431a9ca059d0f2c041e4946c87f79 100644 (file)
@@ -4,7 +4,7 @@
        Author     : Roland Haeder
 --%>
 
-<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
+<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
 <%--<%@page errorPage="errorHandler.jsp" %>--%>
 <%@page import="org.mxchange.pizzaapplication.category.Category"%>
 <%@page import="org.mxchange.pizzaapplication.database.category.PizzaCategoryDatabaseConstants"%>
@@ -32,7 +32,7 @@
                        </div>
                </div>
 
-               <jsp:include page="/static/admin/menu.jsp" flush="true" />
+               <jsp:include page="/static/admin/menu.jsp" flush="false" />
 
                <div id="content_outer">
                        <div id="content_title">
                                                                </div>
 
                                                                <div class="table_right">
-                                                                       <jsp:include flush="true" page="/static/admin/parent_category_selection_box.jsp" />
+                                                                       <jsp:include flush="false" page="/static/admin/parent_category_selection_box.jsp" />
                                                                </div>
 
                                                                <div class="clear"></div>
                        </div>
                </div>
 
-               <jsp:include page="/static/admin/footer.jsp" flush="true" />
+               <jsp:include page="/static/admin/footer.jsp" flush="false" />
        </body>
 </html>
index c28f4f4c2089a27bd54d2ae3cf55f6dfa4e23f11..df4969ee08d6a3f2e08e336eacf30dc784e66735 100644 (file)
@@ -31,7 +31,7 @@
                        </div>
                </div>
 
-               <jsp:include page="/static/admin/menu.jsp" flush="true" />
+               <jsp:include page="/static/admin/menu.jsp" flush="false" />
 
                <div id="content_outer">
                        <div id="content_title">
@@ -43,6 +43,6 @@
                        </div>
                </div>
 
-               <jsp:include page="/static/admin/footer.jsp" flush="true" />
+               <jsp:include page="/static/admin/footer.jsp" flush="false" />
        </body>
 </html>
index 4e9f0da864dd108c19ab9cac48d8adcdca374c64..3cd489e2d60da7350f1a034f161b85de1f18da64 100644 (file)
@@ -4,7 +4,7 @@
        Author     : Roland Haeder
 --%>
 
-<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
+<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
 <%--<%@page errorPage="errorHandler.jsp" %>--%>
 <%@page contentType="text/html" pageEncoding="UTF-8"%>
 <%@page import="java.util.Iterator"%>
@@ -34,7 +34,7 @@
                        </div>
                </div>
 
-               <jsp:include page="/static/admin/menu.jsp" flush="true" />
+               <jsp:include page="/static/admin/menu.jsp" flush="false" />
 
                <div id="content_outer">
                        <div id="content_title">
                                                                </div>
 
                                                                <div class="table_right">
-                                                                       <jsp:include flush="true" page="/static/admin/category_selection_box.jsp" />
+                                                                       <jsp:include flush="false" page="/static/admin/category_selection_box.jsp" />
                                                                </div>
 
                                                                <div class="clear"></div>
                        </div>
                </div>
 
-               <jsp:include page="/static/admin/footer.jsp" flush="true" />
+               <jsp:include page="/static/admin/footer.jsp" flush="false" />
        </body>
 </html>
index dc9df94f68b59ca15a27eb463f2570422ac0af2d..c4ec492148579b22a4ad82f00dc93605209e1c05 100644 (file)
@@ -22,7 +22,7 @@
                        </div>
                </div>
 
-               <jsp:include page="/static/menu.jsp" flush="true" />
+               <jsp:include page="/static/menu.jsp" flush="false" />
 
                <div id="content_outer">
                        <div id="content_title">
@@ -45,6 +45,6 @@
                        </div>
                </div>
 
-               <jsp:include page="/static/footer.jsp" flush="true" />
+               <jsp:include page="/static/footer.jsp" flush="false" />
        </body>
 </html>
index 8a3ecb050c9709c9aa39ed61c0ad07526b5e109c..ed349fdef11769f258559532deb60de48822129d 100644 (file)
@@ -4,6 +4,7 @@
        Author     : Roland Haeder
 --%>
 
+<%--<%@page errorPage="errorHandler.jsp" %>--%>
 <%@page contentType="text/html" pageEncoding="UTF-8"%>
 <%@page import="org.mxchange.pizzaapplication.application.PizzaServiceApplication"%>
 
@@ -22,7 +23,7 @@
                        </div>
                </div>
 
-               <jsp:include page="/static/menu.jsp" flush="true" />
+               <jsp:include page="/static/menu.jsp" flush="false" />
 
                <div id="content_outer">
                        <div id="content_title">
@@ -35,7 +36,7 @@
                                </div>
 
                                <div class="para">
-                                       <jsp:include page="/static/forms/form_login.jsp" flush="true" />
+                                       <jsp:include page="/static/forms/form_login.jsp" flush="false" />
                                </div>
 
                                <div class="para">
@@ -44,6 +45,6 @@
                        </div>
                </div>
 
-               <jsp:include page="/static/footer.jsp" flush="true" />
+               <jsp:include page="/static/footer.jsp" flush="false" />
        </body>
 </html>
index d726dc078259ba846b7e895b402022f7dcba2ae0..37813f7abdfbd5734ad4175ea4dce324f7357a1c 100644 (file)
@@ -4,6 +4,7 @@
        Author     : Roland Haeder
 --%>
 
+<%--<%@page errorPage="errorHandler.jsp" %>--%>
 <%@page contentType="text/html" pageEncoding="UTF-8"%>
 <%@page import="org.mxchange.pizzaapplication.application.PizzaServiceApplication"%>
 
@@ -22,7 +23,7 @@
                        </div>
                </div>
 
-               <jsp:include page="/static/menu.jsp" flush="true" />
+               <jsp:include page="/static/menu.jsp" flush="false" />
 
                <div id="content_outer">
                        <div id="content_title">
@@ -84,6 +85,6 @@
                        </div>
                </div>
 
-               <jsp:include page="/static/footer.jsp" flush="true" />
+               <jsp:include page="/static/footer.jsp" flush="false" />
        </body>
 </html>
index 6f2cb057d39b60204232909e4bf461fe112e5557..ea441607d768ac30c826d07d3fab731f0e9086d1 100644 (file)
@@ -4,7 +4,9 @@
        Author     : Roland Haeder
 --%>
 
-<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
+<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
+
+<%--<%@page errorPage="errorHandler.jsp" %>--%>
 <%@page contentType="text/html" pageEncoding="UTF-8"%>
 <%@page import="org.mxchange.pizzaapplication.application.PizzaServiceApplication"%>
 
@@ -23,7 +25,7 @@
                        </div>
                </div>
 
-               <jsp:include page="/static/menu.jsp" flush="true" />
+               <jsp:include page="/static/menu.jsp" flush="false" />
 
                <div id="content_outer">
                        <div id="content_title">
@@ -52,7 +54,7 @@
 
                                                                        <div class="table_right">
                                                                                <c:set var="enabled" scope="request" value="true" />
-                                                                               <jsp:include page="/static/gender_selection_box.jsp" flush="true" />
+                                                                               <jsp:include page="/static/gender_selection_box.jsp" flush="false" />
                                                                        </div>
 
                                                                        <div class="clear"></div>
                        </div>
                </div>
 
-               <jsp:include page="/static/footer.jsp" flush="true" />
+               <jsp:include page="/static/footer.jsp" flush="false" />
        </body>
 </html>
index 5cb88450ce85637668bab29a4e83de39f36afc47..6bb7e636a1c00f8dae2cc6d49b3e3c9617e2962c 100644 (file)
@@ -7,8 +7,8 @@
 <%@page import="org.mxchange.pizzaapplication.application.PizzaApplication"%>
 <%@page import="org.mxchange.pizzaapplication.application.PizzaServiceApplication"%>
 <%@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" %>
+<%@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" />
 
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
@@ -26,7 +26,7 @@
                        </div>
                </div>
 
-               <jsp:include page="/static/menu.jsp" flush="true" />
+               <jsp:include page="/static/menu.jsp" flush="false" />
 
                <div id="content_outer">
                        <div id="content_title">
@@ -46,6 +46,6 @@
                        </div>
                </div>
 
-               <jsp:include page="/static/footer.jsp" flush="true" />
+               <jsp:include page="/static/footer.jsp" flush="false" />
        </body>
 </html>
index 26d3b050d7dc558882aa46e51c7421ef4a45aea7..b239762d17a28c2b27f662eb43ed9e8b9b5e07d6 100644 (file)
@@ -37,7 +37,7 @@
                        </div>
                </div>
 
-               <jsp:include page="/static/menu.jsp" flush="true" />
+               <jsp:include page="/static/menu.jsp" flush="false" />
 
                <div id="content_outer">
                        <div id="content_title">
                        </div>
                </div>
 
-               <jsp:include page="/static/footer.jsp" flush="true" />
+               <jsp:include page="/static/footer.jsp" flush="false" />
        </body>
 </html>
index 0fc27125ad48a062abe1cbeaa3343cbfa8b967a1..2b13c70b82d8cd8530fccb54faabbefdf86e295b 100644 (file)
@@ -33,8 +33,8 @@
                        <h1><%=PizzaServiceApplication.MAIN_TITLE%> - Form-Handler</h1>
                </div>
 
-               <jsp:include page="/static/menu.jsp" flush="true" />
+               <jsp:include page="/static/menu.jsp" flush="false" />
 
-               <jsp:include page="/static/error/direct_call.jsp" flush="true" />
+               <jsp:include page="/static/error/direct_call.jsp" flush="false" />
        </body>
 </html>
index 1bb64d71579ee5976996507a66acacf03fd56370..40f23f91d66461249449dcd1d7ee14d5f36eef73 100644 (file)
@@ -33,7 +33,7 @@
                        <h1><%=PizzaServiceApplication.MAIN_TITLE%> - Form-Handler</h1>
                </div>
 
-               <jsp:include page="/static/admin/menu.jsp" flush="true" />
+               <jsp:include page="/static/admin/menu.jsp" flush="false" />
 
                <div id="content_outer">
                        <div id="content_title">
index 65fb17cfa9b76e7d00b9887246b5b8460abf2104..d6be5ce7ce63efcb9ec7d42fc79685e3aa874d31 100644 (file)
@@ -32,7 +32,7 @@
                        <h1><%=PizzaServiceApplication.MAIN_TITLE%> - Form-Handler</h1>
                </div>
 
-               <jsp:include page="/static/admin/menu.jsp" flush="true" />
+               <jsp:include page="/static/admin/menu.jsp" flush="false" />
 
                <div id="content_outer">
                        <div id="content_title">
index 6afcf1f6f05d6fe389facb890a0af85e1875ceb2..503e9ede684cef14324663c30455937e049d2270 100644 (file)
@@ -46,8 +46,8 @@
                        <h1><%=PizzaServiceApplication.MAIN_TITLE%> - Form-Handler</h1>
                </div>
 
-               <jsp:include page="/static/menu.jsp" flush="true" />
+               <jsp:include page="/static/menu.jsp" flush="false" />
 
-               <jsp:include page="/static/error/direct_call.jsp" flush="true" />
+               <jsp:include page="/static/error/direct_call.jsp" flush="false" />
        </body>
 </html>
index 61c6cfdba82e68efdeb5e8ea95fc062bd7023fed..6eebc903af4f0af0ae6b5204eac5651b1b64498a 100644 (file)
@@ -64,8 +64,8 @@
                        <h1><%=PizzaServiceApplication.MAIN_TITLE%> - Form-Handler</h1>
                </div>
 
-               <jsp:include page="/static/menu.jsp" flush="true" />
+               <jsp:include page="/static/menu.jsp" flush="false" />
 
-               <jsp:include page="/static/error/direct_call.jsp" flush="true" />
+               <jsp:include page="/static/error/direct_call.jsp" flush="false" />
        </body>
 </html>
index 7631c911756bc88486ae65e8ddd309b3138532ca..b1643a6edaa6b51b91f55d3103a8c74b2c921ae7 100644 (file)
@@ -22,7 +22,7 @@
                        </div>
                </div>
 
-               <jsp:include page="/static/menu.jsp" flush="true" />
+               <jsp:include page="/static/menu.jsp" flush="false" />
 
                <div id="content_outer">
                        <div id="content_title">
@@ -33,6 +33,6 @@
                        </div>
                </div>
 
-               <jsp:include page="/static/footer.jsp" flush="true" />
+               <jsp:include page="/static/footer.jsp" flush="false" />
        </body>
 </html>
index ae7eb48335071993245cf6b03504954a5971a87a..69f8b7686bd95467d2439bbe711a6ed5e367a6e9 100644 (file)
@@ -11,7 +11,7 @@
 <%@page import="org.mxchange.pizzaapplication.application.PizzaApplication"%>
 <%@page import="org.mxchange.pizzaapplication.product.Product"%>
 <%@page contentType="text/html" pageEncoding="UTF-8"%>
-<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
+<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
 
 <%
        // Init application instance
@@ -32,7 +32,7 @@
                        </div>
                </div>
 
-               <jsp:include page="/static/menu.jsp" flush="true" />
+               <jsp:include page="/static/menu.jsp" flush="false" />
 
                <div id="content_outer">
                        <div id="content_title">
@@ -97,6 +97,6 @@
                        </div>
                </div>
 
-               <jsp:include page="/static/footer.jsp" flush="true" />
+               <jsp:include page="/static/footer.jsp" flush="false" />
        </body>
 </html>
index bd670ba337a02a47dd096b561041ced911effa75..ca5c788e74b500af3dca8bf64a85ea3d94840d0b 100644 (file)
@@ -4,7 +4,7 @@
        Author     : Roland Haeder
 --%>
 
-<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
+<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
 <%--<%@page errorPage="errorHandler.jsp" %>--%>
 <%@page import="java.util.Iterator"%>
 <%@page import="java.util.Map"%>
@@ -37,7 +37,7 @@
                        </div>
                </div>
 
-               <jsp:include page="/static/menu.jsp" flush="true" />
+               <jsp:include page="/static/menu.jsp" flush="false" />
 
                <div id="content_outer">
                        <div id="content_title">
 
                                                <tr>
                                                        <td colspan="5">
-                                                               <fieldset id="personal_data">
-                                                                       <legend title="Bitte geben Sie Ihre Daten ein.">Bitte Ihre Daten eingeben:</legend>
-
-                                                                       <div class="table_row">
-                                                                               <div class="table_left">
-                                                                                       <label for="gender">Anrede</label>
-                                                                               </div>
-
-                                                                               <div class="table_right">
-                                                                                       <c:set var="enabled" scope="request" value="false" />
-                                                                                       <jsp:include page="/static/gender_selection_box.jsp" flush="true" />
-                                                                               </div>
-
-                                                                               <div class="clear"></div>
-                                                                       </div>
-
-                                                                       <div class="table_row">
-                                                                               <div class="table_left">
-                                                                                       <label for="companyname">Firmenname:</label>
-                                                                               </div>
-
-                                                                               <div class="table_right">
-                                                                                       <input class="input" type="text" id="companyname" name="companyName" size="15" maxlength="255" value="${customer.companyName}" <%=app.getDisabledHtmlFromSession(request, session)%> />
-                                                                               </div>
-
-                                                                               <div class="clear"></div>
-                                                                       </div>
-
-                                                                       <div class="table_row">
-                                                                               <div class="table_left">
-                                                                                       <label for="surname">Vorname:</label>
-                                                                               </div>
-
-                                                                               <div class="table_right">
-                                                                                       <input class="input" type="text" id="surname" name="surname" size="10" maxlength="255" value="${customer.surname}" <%=app.getDisabledHtmlFromSession(request, session)%> />
-                                                                               </div>
-
-                                                                               <div class="clear"></div>
-                                                                       </div>
-
-                                                                       <div class="table_row">
-                                                                               <div class="table_left">
-                                                                                       <label for="familyName">Nachname:</label>
-                                                                               </div>
-
-                                                                               <div class="table_right">
-                                                                                       <input class="input" type="text" id="familyName" name="familyName" size="10" maxlength="255" value="${customer.familyName}" <%=app.getDisabledHtmlFromSession(request, session)%> />
-                                                                               </div>
-
-                                                                               <div class="clear"></div>
-                                                                       </div>
-
-                                                                       <div class="table_row">
-                                                                               <div class="table_left">
-                                                                                       <label for="street">Straße:</label>
-                                                                               </div>
-
-                                                                               <div class="table_right">
-                                                                                       <input class="input" type="text" id="street" name="street" size="20" maxlength="255" value="${customer.street}" <%=app.getDisabledHtmlFromSession(request, session)%> />
-                                                                               </div>
-
-                                                                               <div class="clear"></div>
-                                                                       </div>
-
-                                                                       <div class="table_row">
-                                                                               <div class="table_left">
-                                                                                       <label for="houseNumber">Hausnummer:</label>
-                                                                               </div>
-
-                                                                               <div class="table_right">
-                                                                                       <input class="input" type="text" id="houseNumber" name="houseNumber" size="3" maxlength="5" value="${customer.houseNumber}" <%=app.getDisabledHtmlFromSession(request, session)%> />
-                                                                               </div>
-
-                                                                               <div class="clear"></div>
-                                                                       </div>
-
-                                                                       <div class="table_row">
-                                                                               <div class="table_left">
-                                                                                       <label for="zipCode">Postleitzahl:</label>
-                                                                               </div>
-
-                                                                               <div class="table_right">
-                                                                                       <input class="input" type="text" id="zipCode" name="zipCode" size="5" maxlength="6" value="${customer.zipCode}" <%=app.getDisabledHtmlFromSession(request, session)%> />
-                                                                               </div>
-
-                                                                               <div class="clear"></div>
-                                                                       </div>
-
-                                                                       <div class="table_row">
-                                                                               <div class="table_left">
-                                                                                       <label for="city">Ort:</label>
-                                                                               </div>
-
-                                                                               <div class="table_right">
-                                                                                       <input class="input" type="text" id="city" name="city" size="10" maxlength="255" value="${customer.city}" <%=app.getDisabledHtmlFromSession(request, session)%> />
-                                                                               </div>
-
-                                                                               <div class="clear"></div>
-                                                                       </div>
-
-                                                                       <div class="table_row">
-                                                                               <div class="table_left">
-                                                                                       <label for="phoneNumber">Telefon:</label>
-                                                                               </div>
-
-                                                                               <div class="table_right">
-                                                                                       <input class="input" type="text" id="phoneNumber" name="phoneNumber" size="20" maxlength="255" value="${customer.phoneNumber}" <%=app.getDisabledHtmlFromSession(request, session)%> />
-                                                                               </div>
-
-                                                                               <div class="clear"></div>
-                                                                       </div>
-
-                                                                       <div class="table_row">
-                                                                               <div class="table_left">
-                                                                                       <label for="faxNumber">Faxnummer:</label>
-                                                                               </div>
-
-                                                                               <div class="table_right">
-                                                                                       <input class="input" type="text" id="faxNumber" name="faxNumber" size="20" maxlength="255" value="${customer.faxNumber}" <%=app.getDisabledHtmlFromSession(request, session)%> />
-                                                                               </div>
-
-                                                                               <div class="clear"></div>
-                                                                       </div>
-
-                                                                       <div class="table_row">
-                                                                               <div class="table_left">
-                                                                                       <label for="cellphoneNumber">Handy:</label>
-                                                                               </div>
-
-                                                                               <div class="table_right">
-                                                                                       <input class="input" type="text" id="cellphoneNumber" name="cellphoneNumber" size="20" maxlength="255" value="${customer.cellphoneNumber}" <%=app.getDisabledHtmlFromSession(request, session)%> />
-                                                                               </div>
-
-                                                                               <div class="clear"></div>
-                                                                       </div>
-                                                               </fieldset>
+                                                               <%-- @TODO Add navigation to login and registration form --%>
                                                        </td>
                                                </tr>
 
                        </div>
                </div>
 
-               <jsp:include page="/static/footer.jsp" flush="true" />
+               <jsp:include page="/static/footer.jsp" flush="false" />
        </body>
 </html>
index fa5d2d612a7c7bd184aed774e9ec5fb05a07f96e..b62b9fe678cda035cba13445e977562ba3026e34 100644 (file)
@@ -4,7 +4,7 @@
        Author     : Roland Haeder
 --%>
 
-<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
+<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
 <%@page contentType="text/html" pageEncoding="UTF-8"%>
 <%@page import="org.mxchange.pizzaapplication.application.PizzaServiceApplication"%>
 
@@ -23,7 +23,7 @@
                        </div>
                </div>
 
-               <jsp:include page="/static/menu.jsp" flush="true" />
+               <jsp:include page="/static/menu.jsp" flush="false" />
 
                <div id="content_outer">
                        <div id="content_title">
@@ -34,6 +34,6 @@
                        </div>
                </div>
 
-               <jsp:include page="/static/footer.jsp" flush="true" />
+               <jsp:include page="/static/footer.jsp" flush="false" />
        </body>
 </html>
index 0de4d8c022473956ca16db9f421323336bc66171..ff55de65e465089d1c4beb047345e14bafaf3d3e 100644 (file)
@@ -4,7 +4,7 @@
        Author     : Roland Haeder
 --%>
 
-<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
+<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
 <%@page import="org.mxchange.pizzaapplication.database.category.PizzaCategoryDatabaseConstants"%>
 <%@page import="org.mxchange.pizzaapplication.application.PizzaServiceApplication"%>
 <%@page import="org.mxchange.pizzaapplication.application.PizzaApplication"%>
index 2f5b2ee74723d4d5168c881e120ea29685b60f2f..ed7d6fefa9d56e4e0d996be2a905451b46ceda25 100644 (file)
@@ -4,7 +4,7 @@
        Author     : Roland Haeder
 --%>
 
-<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
+<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
 <%@page import="org.mxchange.pizzaapplication.database.category.PizzaCategoryDatabaseConstants"%>
 <%@page import="org.mxchange.pizzaapplication.application.PizzaServiceApplication"%>
 <%@page import="org.mxchange.pizzaapplication.application.PizzaApplication"%>
index 14ccaadc5026c44352bb1b0c501c7c659ac96f60..dfd0a2f99c6026d3dbdfcafd4c0e80a4aa482680 100644 (file)
                %>
                <option value="<%=gender.name()%>"<%
                // Get gender from bean
-               Gender value=  customer.getGender();
+               Gender customerGender =  customer.getGender();
 
                // Test it
-               if (value.equals(gender)) {
+               if (customerGender.equals(gender)) {
                        // Output selected="selected"
                        out.print("selected=\"selected\"");
                }
index fb66a003ab232961e95ee7476c78bd94412db80a..1a14709ca68fcece18dfc19275f5ac57bd461f2d 100644 (file)
@@ -4,7 +4,7 @@
        Author     : Roland Haeder
 --%>
 
-<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
+<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
 <%@page contentType="text/html" pageEncoding="UTF-8"%>
 <%@page import="org.mxchange.pizzaapplication.application.PizzaServiceApplication"%>
 
@@ -23,7 +23,7 @@
                        </div>
                </div>
 
-               <jsp:include page="/static/menu.jsp" flush="true" />
+               <jsp:include page="/static/menu.jsp" flush="false" />
 
                <div id="content_outer">
                        <div id="content_title">
@@ -34,6 +34,6 @@
                        </div>
                </div>
 
-               <jsp:include page="/static/footer.jsp" flush="true" />
+               <jsp:include page="/static/footer.jsp" flush="false" />
        </body>
 </html>