diff --git a/TugasBesar2_2017/WebApp/src/main/webapp/WEB-INF/edit_preferences.jsp b/TugasBesar2_2017/WebApp/src/main/webapp/WEB-INF/edit_preferences.jsp index e5eead9f4a6724d6b79862f2ed53e2c8aa869643..36187dd6b569e174444af38ca66f8e8f98127a34 100644 --- a/TugasBesar2_2017/WebApp/src/main/webapp/WEB-INF/edit_preferences.jsp +++ b/TugasBesar2_2017/WebApp/src/main/webapp/WEB-INF/edit_preferences.jsp @@ -33,7 +33,7 @@ <tr> <td><%= i %></td> <td> - <form action="/edit_preferred_location" method="post" id="form-update-${item.getPosition()}"> + <form action="edit_preferred_location" method="post" id="form-update-${item.getPosition()}"> <input type="hidden" value="${item.getPosition()}" name="position"> <input value="${item.getLocation()}" class="form-input" id="edit-input-${item.getPosition()}" disabled name="location"> </form> @@ -41,7 +41,7 @@ <td> <span><button class="edit-button inline-block" type="button" onclick=toggleEdit(${item.getPosition()}) id="edit-button-${item.getPosition()}"></button></span> - <form action="/delete_location" class="display-inline-block" onsubmit="return confirm('Are You Sure')" method="post"> + <form action="delete_location" class="display-inline-block" onsubmit="return confirm('Are You Sure')" method="post"> <input type="hidden" value="${item.getPosition()}" name="position"> <span><button class="delete-button inline-block" type="submit"></button></span> </form> diff --git a/TugasBesar2_2017/WebApp/src/main/webapp/WEB-INF/edit_profile.jsp b/TugasBesar2_2017/WebApp/src/main/webapp/WEB-INF/edit_profile.jsp index 609962e9043d9ba403737deee9c3666aedf5b603..4fecc39337554075edd6b649ac7237de3b32ee18 100644 --- a/TugasBesar2_2017/WebApp/src/main/webapp/WEB-INF/edit_profile.jsp +++ b/TugasBesar2_2017/WebApp/src/main/webapp/WEB-INF/edit_profile.jsp @@ -70,7 +70,7 @@ </tr> <tr> <td> - <a href="/profile"> + <a href="profile"> <button id="back-button" type="button" class="submit-button">Back</button> </a> </td> diff --git a/TugasBesar2_2017/WebApp/src/main/webapp/WEB-INF/find_driver.jsp b/TugasBesar2_2017/WebApp/src/main/webapp/WEB-INF/find_driver.jsp index 3efce5b04e7f9f0d7a23dd6f172b6e965569540a..aefb1bb80bee9ea01850c1e8293328e1d9dd6161 100644 --- a/TugasBesar2_2017/WebApp/src/main/webapp/WEB-INF/find_driver.jsp +++ b/TugasBesar2_2017/WebApp/src/main/webapp/WEB-INF/find_driver.jsp @@ -28,7 +28,7 @@ </li> </ul> </div> - <form action="/complete_order" method="get"> + <form action="complete_order" method="get"> <input type="hidden" name="pickUp" value="${pickup}"> <input type="hidden" name="destination" value="${destination}"> <div class="order-panel"> diff --git a/TugasBesar2_2017/WebApp/src/main/webapp/WEB-INF/history.jsp b/TugasBesar2_2017/WebApp/src/main/webapp/WEB-INF/history.jsp index f50876aaffd0adc3e303cc1501aa1bc58eb6cd8f..a3b0bb078570a110058bed9a0a6b2a149ea07bd9 100644 --- a/TugasBesar2_2017/WebApp/src/main/webapp/WEB-INF/history.jsp +++ b/TugasBesar2_2017/WebApp/src/main/webapp/WEB-INF/history.jsp @@ -19,14 +19,14 @@ </div> </div> <div class="row inline-flex history-menu"> - <a href="/history"> + <a href="history"> <div class="active"> My Previous Order </div> </a> - <a href="/driver_history"> + <a href="driver_history"> <div> Driver History </div> diff --git a/TugasBesar2_2017/WebApp/src/main/webapp/WEB-INF/order.jsp b/TugasBesar2_2017/WebApp/src/main/webapp/WEB-INF/order.jsp index d5a1f4f0543701c46d9dd3ea3b7fd2bf1c3659c0..ac7817faae2b6360065fe1a360c40629e95f5238 100644 --- a/TugasBesar2_2017/WebApp/src/main/webapp/WEB-INF/order.jsp +++ b/TugasBesar2_2017/WebApp/src/main/webapp/WEB-INF/order.jsp @@ -26,7 +26,7 @@ </ul> </div> <div class="order-form"> - <form action="/find_driver" onsubmit="return validateForm(this)" method="get"> + <form action="find_driver" onsubmit="return validateForm(this)" method="get"> <table> <tr> <td>Picking Point</td> diff --git a/TugasBesar2_2017/WebApp/src/main/webapp/WEB-INF/signup.jsp b/TugasBesar2_2017/WebApp/src/main/webapp/WEB-INF/signup.jsp index 7ab3b5304a8de904ed28c90bfb2ea41c036f8c8e..f0a45838c304e26954803b0a441d099585c5c7d0 100644 --- a/TugasBesar2_2017/WebApp/src/main/webapp/WEB-INF/signup.jsp +++ b/TugasBesar2_2017/WebApp/src/main/webapp/WEB-INF/signup.jsp @@ -15,7 +15,7 @@ out.println("<span class='color-red'>SignUp Gagal</span>"); } %> - <form action="/register" method="post" onsubmit="return validateForm(this)"> + <form action="register" method="post" onsubmit="return validateForm(this)"> <div class="form-box-body-wrapper"> <table border="0" class="form-box-table"> <tr> diff --git a/TugasBesar2_2017/WebApp/src/main/webapp/component/footer.html b/TugasBesar2_2017/WebApp/src/main/webapp/component/footer.html index 724ae4ee320e90577b69974f66204be0e0d065b0..307b1ee46a4be1e16d19750f490e345a8d69d10c 100644 --- a/TugasBesar2_2017/WebApp/src/main/webapp/component/footer.html +++ b/TugasBesar2_2017/WebApp/src/main/webapp/component/footer.html @@ -1,3 +1,3 @@ -<script src="../js/app.js"></script> +<script src="js/app.js"></script> </body> </html> \ No newline at end of file diff --git a/TugasBesar2_2017/WebApp/src/main/webapp/component/nav.html b/TugasBesar2_2017/WebApp/src/main/webapp/component/nav.html index be980a8f012898e1fab7964521367766cd7a81bf..5bcc9d67b94d5a38b34953f5e1e985ece54b086a 100644 --- a/TugasBesar2_2017/WebApp/src/main/webapp/component/nav.html +++ b/TugasBesar2_2017/WebApp/src/main/webapp/component/nav.html @@ -1,29 +1,29 @@ <nav class="navbar"> <div class="row navbar-top"> <div class="inline-block float-left txt-left"> - <img src="../img/logo.png" class="margin-auto height-100"> + <img src="img/logo.png" class="margin-auto height-100"> </div> <div class="inline-block float-right txt-right"> Hi,${user}! <br> - <a href="/logout">Logout</a> + <a href="logout">Logout</a> </div> </div> <br> <div class="inline-flex" id="navbar-menu"> - <a href="/order"> + <a href="order"> <div id="nav-order"> <span>ORDER</span> </div> </a> - <a href="/history"> + <a href="history"> <div id="nav-history"> <span>HISTORY</span> </div> </a> - <a href="/profile"> + <a href="profile"> <div id="nav-profile"> <span> MY PROFILE</span> </div>