]> git.mxchange.org Git - pizzaservice-war.git/commitdiff
Added <%=request.getContextPath()%>
authorRoland Haeder <roland@mxchange.org>
Thu, 6 Aug 2015 10:02:31 +0000 (12:02 +0200)
committerRoland Haeder <roland@mxchange.org>
Thu, 6 Aug 2015 10:02:31 +0000 (12:02 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

web/index.jsp
web/order.jsp

index 0eedc91abdec937faf4e91d24c8379ccdb5884c1..49ec6f0e57f1ae721204039094880d0f81e3aa60 100644 (file)
@@ -43,7 +43,7 @@
                        </div>
 
                        <div id="content">
-                               <form action="order.jsp" accept-charset="utf-8" id="form" method="post">
+                               <form action="<%=request.getContextPath()%>/order.jsp" accept-charset="utf-8" id="form" method="post">
                                <table class="table">
                                        <thead class="table_header">
                                                <tr>
                                                        %>
                                                        <tr>
                                                                <td>
-                                                                       <input type="checkbox" name="<%=String.format(Service.HTTP_PARAM_MASK, Service.HTTP_PARAM_CHOOSE, product.getName())%>" value="1" <%=service.getCheckedHtmlFromProduct(product, request, session)%> />
+                                                                       <input type="checkbox" name="<%=String.format(PizzaApplication.HTTP_PARAM_MASK, PizzaApplication.HTTP_PARAM_CHOOSE, product.getName())%>" value="1" <%=service.getCheckedHtmlFromProduct(product, request, session)%> />
                                                                </td>
                                                                <td>
-                                                                       <input type="text" name="<%=String.format(Service.HTTP_PARAM_MASK, Service.HTTP_PARAM_AMOUNT, product.getName())%>" value="<%=service.getAmountFromSession(product, session)%>" size="3" maxlength="20" />
+                                                                       <input type="text" name="<%=String.format(PizzaApplication.HTTP_PARAM_MASK, PizzaApplication.HTTP_PARAM_AMOUNT, product.getName())%>" value="<%=service.getAmountFromSession(product, session)%>" size="3" maxlength="20" />
                                                                </td>
                                                                <td>
                                                                        <%=product.getTitle()%>
index 78019fe86a29c3aab217dc0610e7730deef7ae3e..a846d0b2bacaf342fef6240d88e6316d34349a89 100644 (file)
@@ -43,7 +43,7 @@
                        </div>
 
                        <div id="content">
-                               <form action="finished.jsp" accept-charset="utf-8" id="form" method="post">
+                               <form action="<%=request.getContextPath()%>/finished.jsp" accept-charset="utf-8" id="form" method="post">
                                <table class="table">
                                        <thead class="table_header">
                                                <tr>