diff --git a/ProjectPRJ/build.xml b/ProjectPRJ/build.xml new file mode 100644 index 0000000..defc433 --- /dev/null +++ b/ProjectPRJ/build.xml @@ -0,0 +1,71 @@ + + + + + + + + + + + Builds, tests, and runs the project ProjectPRJ. + + + diff --git a/ProjectPRJ/build/generated/classes/org/apache/jsp/components/navbar_jsp.class b/ProjectPRJ/build/generated/classes/org/apache/jsp/components/navbar_jsp.class new file mode 100644 index 0000000..0a40a88 Binary files /dev/null and b/ProjectPRJ/build/generated/classes/org/apache/jsp/components/navbar_jsp.class differ diff --git a/ProjectPRJ/build/generated/classes/org/apache/jsp/container/admin/dash_jsp.class b/ProjectPRJ/build/generated/classes/org/apache/jsp/container/admin/dash_jsp.class new file mode 100644 index 0000000..86ff7aa Binary files /dev/null and b/ProjectPRJ/build/generated/classes/org/apache/jsp/container/admin/dash_jsp.class differ diff --git a/ProjectPRJ/build/generated/classes/org/apache/jsp/container/admin/dashboard_jsp.class b/ProjectPRJ/build/generated/classes/org/apache/jsp/container/admin/dashboard_jsp.class new file mode 100644 index 0000000..070699f Binary files /dev/null and b/ProjectPRJ/build/generated/classes/org/apache/jsp/container/admin/dashboard_jsp.class differ diff --git a/ProjectPRJ/build/generated/classes/org/apache/jsp/container/admin/invoicelines_jsp.class b/ProjectPRJ/build/generated/classes/org/apache/jsp/container/admin/invoicelines_jsp.class new file mode 100644 index 0000000..84139d5 Binary files /dev/null and b/ProjectPRJ/build/generated/classes/org/apache/jsp/container/admin/invoicelines_jsp.class differ diff --git a/ProjectPRJ/build/generated/classes/org/apache/jsp/container/admin/newjspasdas_jsp.class b/ProjectPRJ/build/generated/classes/org/apache/jsp/container/admin/newjspasdas_jsp.class new file mode 100644 index 0000000..eeae22d Binary files /dev/null and b/ProjectPRJ/build/generated/classes/org/apache/jsp/container/admin/newjspasdas_jsp.class differ diff --git a/ProjectPRJ/build/generated/classes/org/apache/jsp/container/admin/productinshop_jsp.class b/ProjectPRJ/build/generated/classes/org/apache/jsp/container/admin/productinshop_jsp.class new file mode 100644 index 0000000..09117e0 Binary files /dev/null and b/ProjectPRJ/build/generated/classes/org/apache/jsp/container/admin/productinshop_jsp.class differ diff --git a/ProjectPRJ/build/generated/classes/org/apache/jsp/dashboard_jsp.class b/ProjectPRJ/build/generated/classes/org/apache/jsp/dashboard_jsp.class new file mode 100644 index 0000000..38231fb Binary files /dev/null and b/ProjectPRJ/build/generated/classes/org/apache/jsp/dashboard_jsp.class differ diff --git a/ProjectPRJ/build/generated/classes/org/apache/jsp/navbar_jsp.class b/ProjectPRJ/build/generated/classes/org/apache/jsp/navbar_jsp.class new file mode 100644 index 0000000..e80327e Binary files /dev/null and b/ProjectPRJ/build/generated/classes/org/apache/jsp/navbar_jsp.class differ diff --git a/ProjectPRJ/build/generated/classes/org/apache/jsp/newjsp_jsp.class b/ProjectPRJ/build/generated/classes/org/apache/jsp/newjsp_jsp.class new file mode 100644 index 0000000..b2fe38f Binary files /dev/null and b/ProjectPRJ/build/generated/classes/org/apache/jsp/newjsp_jsp.class differ diff --git a/ProjectPRJ/build/generated/classes/org/apache/jsp/xxx_jsp.class b/ProjectPRJ/build/generated/classes/org/apache/jsp/xxx_jsp.class new file mode 100644 index 0000000..61b1d35 Binary files /dev/null and b/ProjectPRJ/build/generated/classes/org/apache/jsp/xxx_jsp.class differ diff --git a/ProjectPRJ/build/generated/src/org/apache/jsp/components/navbar_jsp.class.smap b/ProjectPRJ/build/generated/src/org/apache/jsp/components/navbar_jsp.class.smap new file mode 100644 index 0000000..37ff1ca --- /dev/null +++ b/ProjectPRJ/build/generated/src/org/apache/jsp/components/navbar_jsp.class.smap @@ -0,0 +1,10 @@ +SMAP +navbar_jsp.java +JSP +*S JSP +*F ++ 0 navbar.jsp +components/navbar.jsp +*L +5,35:44 +*E diff --git a/ProjectPRJ/build/generated/src/org/apache/jsp/components/navbar_jsp.java b/ProjectPRJ/build/generated/src/org/apache/jsp/components/navbar_jsp.java new file mode 100644 index 0000000..b033943 --- /dev/null +++ b/ProjectPRJ/build/generated/src/org/apache/jsp/components/navbar_jsp.java @@ -0,0 +1,90 @@ +package org.apache.jsp.components; + +import javax.servlet.*; +import javax.servlet.http.*; +import javax.servlet.jsp.*; + +public final class navbar_jsp extends org.apache.jasper.runtime.HttpJspBase + implements org.apache.jasper.runtime.JspSourceDependent { + + private static final JspFactory _jspxFactory = JspFactory.getDefaultFactory(); + + private static java.util.List _jspx_dependants; + + private org.glassfish.jsp.api.ResourceInjector _jspx_resourceInjector; + + public java.util.List getDependants() { + return _jspx_dependants; + } + + public void _jspService(HttpServletRequest request, HttpServletResponse response) + throws java.io.IOException, ServletException { + + PageContext pageContext = null; + HttpSession session = null; + ServletContext application = null; + ServletConfig config = null; + JspWriter out = null; + Object page = this; + JspWriter _jspx_out = null; + PageContext _jspx_page_context = null; + + try { + response.setContentType("text/html;charset=UTF-8"); + pageContext = _jspxFactory.getPageContext(this, request, response, + null, true, 8192, true); + _jspx_page_context = pageContext; + application = pageContext.getServletContext(); + config = pageContext.getServletConfig(); + session = pageContext.getSession(); + out = pageContext.getOut(); + _jspx_out = out; + _jspx_resourceInjector = (org.glassfish.jsp.api.ResourceInjector) application.getAttribute("com.sun.appserv.jsp.resource.injector"); + + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + } catch (Throwable t) { + if (!(t instanceof SkipPageException)){ + out = _jspx_out; + if (out != null && out.getBufferSize() != 0) + out.clearBuffer(); + if (_jspx_page_context != null) _jspx_page_context.handlePageException(t); + else throw new ServletException(t); + } + } finally { + _jspxFactory.releasePageContext(_jspx_page_context); + } + } +} diff --git a/ProjectPRJ/build/generated/src/org/apache/jsp/container/admin/dash_jsp.class.smap b/ProjectPRJ/build/generated/src/org/apache/jsp/container/admin/dash_jsp.class.smap new file mode 100644 index 0000000..282f177 --- /dev/null +++ b/ProjectPRJ/build/generated/src/org/apache/jsp/container/admin/dash_jsp.class.smap @@ -0,0 +1,12 @@ +SMAP +dash_jsp.java +JSP +*S JSP +*F ++ 0 dash.jsp +container/admin/dash.jsp +*L +5,15:44 +20:59,3 +21,169:62 +*E diff --git a/ProjectPRJ/build/generated/src/org/apache/jsp/container/admin/dash_jsp.java b/ProjectPRJ/build/generated/src/org/apache/jsp/container/admin/dash_jsp.java new file mode 100644 index 0000000..d04c0d7 --- /dev/null +++ b/ProjectPRJ/build/generated/src/org/apache/jsp/container/admin/dash_jsp.java @@ -0,0 +1,242 @@ +package org.apache.jsp.container.admin; + +import javax.servlet.*; +import javax.servlet.http.*; +import javax.servlet.jsp.*; + +public final class dash_jsp extends org.apache.jasper.runtime.HttpJspBase + implements org.apache.jasper.runtime.JspSourceDependent { + + private static final JspFactory _jspxFactory = JspFactory.getDefaultFactory(); + + private static java.util.List _jspx_dependants; + + private org.glassfish.jsp.api.ResourceInjector _jspx_resourceInjector; + + public java.util.List getDependants() { + return _jspx_dependants; + } + + public void _jspService(HttpServletRequest request, HttpServletResponse response) + throws java.io.IOException, ServletException { + + PageContext pageContext = null; + HttpSession session = null; + ServletContext application = null; + ServletConfig config = null; + JspWriter out = null; + Object page = this; + JspWriter _jspx_out = null; + PageContext _jspx_page_context = null; + + try { + response.setContentType("text/html;charset=UTF-8"); + pageContext = _jspxFactory.getPageContext(this, request, response, + null, true, 8192, true); + _jspx_page_context = pageContext; + application = pageContext.getServletContext(); + config = pageContext.getServletConfig(); + session = pageContext.getSession(); + out = pageContext.getOut(); + _jspx_out = out; + _jspx_resourceInjector = (org.glassfish.jsp.api.ResourceInjector) application.getAttribute("com.sun.appserv.jsp.resource.injector"); + + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" JSP Page\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" "); + org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "../../components/navbar.jsp", out, false); + out.write("\n"); + out.write("
\n"); + out.write("

   Dashboard

\n"); + out.write("
\n"); + out.write("
\n"); + out.write("
\n"); + out.write("
\n"); + out.write(" Users\n"); + out.write(" Shops\n"); + out.write(" Products\n"); + out.write(" Invoice\n"); + out.write("
\n"); + out.write("
\n"); + out.write("
\n"); + out.write("
\n"); + out.write("
\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write("
#FirstLastHandle
1MarkOtto@mdo
2JacobThornton@fat
3Larrythe Bird@twitter
\n"); + out.write("\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write("
#FirstLastHandle
1MarkOtto@mdo
2JacobThornton@fat
3Larrythe Bird@twitter
\n"); + out.write("
\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write("
#FirstLastHandle
1MarkOtto@mdo
2JacobThornton@fat
3Larrythe Bird@twitter
\n"); + out.write("
\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write("
#FirstLastHandle
1MarkOtto@mdo
2JacobThornton@fat
3Larry the Bird@twitter
\n"); + out.write("
\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write("
#FirstLastHandle
1MarkOtto@mdo
2JacobThornton@fat
3Larry the Bird@twitter
\n"); + out.write("
\n"); + out.write("
\n"); + out.write("
\n"); + out.write(" \n"); + out.write("\n"); + } catch (Throwable t) { + if (!(t instanceof SkipPageException)){ + out = _jspx_out; + if (out != null && out.getBufferSize() != 0) + out.clearBuffer(); + if (_jspx_page_context != null) _jspx_page_context.handlePageException(t); + else throw new ServletException(t); + } + } finally { + _jspxFactory.releasePageContext(_jspx_page_context); + } + } +} diff --git a/ProjectPRJ/build/generated/src/org/apache/jsp/container/admin/dashboard_jsp.class.smap b/ProjectPRJ/build/generated/src/org/apache/jsp/container/admin/dashboard_jsp.class.smap new file mode 100644 index 0000000..f358009 --- /dev/null +++ b/ProjectPRJ/build/generated/src/org/apache/jsp/container/admin/dashboard_jsp.class.smap @@ -0,0 +1,273 @@ +SMAP +dashboard_jsp.java +JSP +*S JSP +*F ++ 0 dashboard.jsp +container/admin/dashboard.jsp ++ 1 navbar.jsp +container/admin/../../components/navbar.jsp +*L +5,20:68 +25:88,10 +26:98,3 +27,5:101 +5#1,35:106 +31#0,22:140 +53:162,3 +54:165 +55:166,3 +56:169 +57,4:170,3 +61,4:182 +65:186,3 +66:189 +67:190,3 +68,14:193 +81:510,11 +82:521 +83,8:522,3 +91,2:546 +92,4:209 +95:572,8 +96,2:580,3 +98,14:586 +111:624,11 +112:635 +113,8:636,3 +121,2:660 +122,4:602 +125,2:215 +126:686,8 +127,15:694 +141:733,11 +142:744 +143,8:745,3 +151,2:769 +152,4:711 +155,2:219 +156:795,8 +157,15:803 +171:842,11 +172:853 +173,8:854,3 +181,2:878 +182,4:820 +185,3:223 +188:226,3 +189:229 +190:230,3 +191:233 +192,4:234,3 +196,4:246 +200:250,3 +201:253 +202:254,3 +203,16:257 +218:904,11 +219:915 +219:974,15 +220:989 +220:1015,6 +220,2:992 +221,2:918 +223,9:920,3 +232,3:947 +234,4:275 +237:1034,8 +238,2:1042,3 +240,16:1048 +255:1088,11 +256:1099 +256:1158,15 +257:1173 +257:1199,6 +257,2:1176 +258,2:1102 +260,9:1104,3 +269,3:1131 +271,4:1066 +274,2:281 +275:1218,8 +276,17:1226 +292:1267,11 +293:1278 +293:1337,15 +294:1352 +294:1378,6 +294,2:1355 +295,2:1281 +297,9:1283,3 +306,3:1310 +308,4:1245 +311,2:285 +312:1397,8 +313,17:1405 +329:1446,11 +330:1457 +330:1516,15 +331:1531 +331:1557,6 +331,2:1534 +332,2:1460 +334,9:1462,3 +343,3:1489 +345,4:1424 +348,2:289 +349:1576,8 +350,17:1584 +366:1625,11 +367:1636 +367:1695,15 +368:1710 +368:1736,6 +368,2:1713 +369,2:1639 +371,9:1641,3 +380,3:1668 +382,4:1603 +385,2:293 +387:295,3 +388:298 +389:299,3 +390:302 +391,4:303,3 +395,4:315 +399:319,3 +400:322 +401:323,3 +402,11:326 +412:1755,11 +413:1766 +414,4:1767,3 +418,3:1779 +420,4:339 +423:1806,8 +424,2:1814,3 +426,11:1820 +436:1855,11 +437:1866 +438,4:1867,3 +442,3:1879 +444,4:1833 +447,2:345 +448:1906,8 +449,12:1914 +460:1950,11 +461:1961 +462,4:1962,3 +466,3:1974 +468,4:1928 +471,2:349 +472:2001,8 +473,12:2009 +484:2045,11 +485:2056 +486,4:2057,3 +490,3:2069 +492,4:2023 +495,2:353 +496:2096,8 +497,12:2104 +508:2140,11 +509:2151 +510,4:2152,3 +514,3:2164 +516,4:2118 +519,2:357 +521:359,3 +522:362 +523:363,3 +524:366 +525,6:367,3 +531,4:385 +535:389,3 +536:392 +537:393,3 +538,12:396 +549:2191,11 +550:2202 +550:2262,15 +551:2277 +551:2303,6 +551,2:2280 +552,2:2205 +554,5:2207,3 +559:2222 +560:2223,7 +561,2:2230 +563:2232,3 +564,3:2235 +566,4:410 +569:2322,8 +570,2:2330,3 +572,12:2336 +583:2372,11 +584:2383 +584:2432,15 +585:2447 +585:2473,6 +585,2:2450 +586,2:2386 +588,6:2388,3 +594,2:2406 +595,4:2350 +598,2:416 +599:2492,8 +600,13:2500 +612:2537,11 +613:2548 +613:2597,15 +614:2612 +614:2638,6 +614,2:2615 +615,2:2551 +617,6:2553,3 +623,2:2571 +624,4:2515 +627,2:420 +628:2657,8 +629,13:2665 +641:2702,11 +642:2713 +642:2762,15 +643:2777 +643:2803,6 +643,2:2780 +644,2:2716 +646,6:2718,3 +652,2:2736 +653,4:2680 +656,2:424 +657:2822,8 +658,13:2830 +670:2867,11 +671:2878 +671:2927,15 +672:2942 +672:2968,6 +672,2:2945 +673,2:2881 +675,6:2883,3 +681,2:2901 +682,4:2845 +685,2:428 +686:2987,8 +687,13:2995 +699:3032,11 +700:3043 +700:3092,15 +701:3107 +701:3133,6 +701,2:3110 +702,2:3046 +704,6:3048,3 +710,2:3066 +711,4:3010 +714,23:432 +736:3152,11 +737:3163 +738,5:3164,3 +743,2:3179 +744,36:457 +*E diff --git a/ProjectPRJ/build/generated/src/org/apache/jsp/container/admin/dashboard_jsp.java b/ProjectPRJ/build/generated/src/org/apache/jsp/container/admin/dashboard_jsp.java new file mode 100644 index 0000000..8b85d85 --- /dev/null +++ b/ProjectPRJ/build/generated/src/org/apache/jsp/container/admin/dashboard_jsp.java @@ -0,0 +1,3199 @@ +package org.apache.jsp.container.admin; + +import javax.servlet.*; +import javax.servlet.http.*; +import javax.servlet.jsp.*; + +public final class dashboard_jsp extends org.apache.jasper.runtime.HttpJspBase + implements org.apache.jasper.runtime.JspSourceDependent { + + private static final JspFactory _jspxFactory = JspFactory.getDefaultFactory(); + + private static java.util.List _jspx_dependants; + + static { + _jspx_dependants = new java.util.ArrayList(1); + _jspx_dependants.add("/container/admin/../../components/navbar.jsp"); + } + + private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_forEach_var_items; + private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_url_var_value; + private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_param_value_name_nobody; + private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_if_test; + + private org.glassfish.jsp.api.ResourceInjector _jspx_resourceInjector; + + public java.util.List getDependants() { + return _jspx_dependants; + } + + public void _jspInit() { + _jspx_tagPool_c_forEach_var_items = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig()); + _jspx_tagPool_c_url_var_value = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig()); + _jspx_tagPool_c_param_value_name_nobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig()); + _jspx_tagPool_c_if_test = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig()); + } + + public void _jspDestroy() { + _jspx_tagPool_c_forEach_var_items.release(); + _jspx_tagPool_c_url_var_value.release(); + _jspx_tagPool_c_param_value_name_nobody.release(); + _jspx_tagPool_c_if_test.release(); + } + + public void _jspService(HttpServletRequest request, HttpServletResponse response) + throws java.io.IOException, ServletException { + + PageContext pageContext = null; + HttpSession session = null; + ServletContext application = null; + ServletConfig config = null; + JspWriter out = null; + Object page = this; + JspWriter _jspx_out = null; + PageContext _jspx_page_context = null; + + try { + response.setContentType("text/html;charset=UTF-8"); + pageContext = _jspxFactory.getPageContext(this, request, response, + null, true, 8192, true); + _jspx_page_context = pageContext; + application = pageContext.getServletContext(); + config = pageContext.getServletConfig(); + session = pageContext.getSession(); + out = pageContext.getOut(); + _jspx_out = out; + _jspx_resourceInjector = (org.glassfish.jsp.api.ResourceInjector) application.getAttribute("com.sun.appserv.jsp.resource.injector"); + + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" Dashboard\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write("\n"); + out.write(" "); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("
\n"); + out.write(" \n"); + out.write("

   Dashboard

\n"); + out.write("
\n"); + out.write("
\n"); + out.write("
\n"); + out.write("
\n"); + out.write(" Users\n"); + out.write(" Shops\n"); + out.write(" Products\n"); + out.write(" Invoice\n"); + out.write("
\n"); + out.write("
\n"); + out.write("
\n"); + out.write(" \n"); + out.write("
\n"); + out.write("\n"); + out.write("
\n"); + out.write("
\n"); + out.write("
\n"); + out.write("
\n"); + out.write("
\n"); + out.write("
\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write("
\n"); + out.write("

  "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${errorUser}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("

\n"); + out.write("
\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" "); + if (_jspx_meth_c_forEach_0(_jspx_page_context)) + return; + out.write("\n"); + out.write(" \n"); + out.write("
User IDUser NamePasswordNameEmailAvatar UrlRole ...
\n"); + out.write(" "); + if (_jspx_meth_c_if_0(_jspx_page_context)) + return; + out.write("\n"); + out.write(" "); + if (_jspx_meth_c_if_1(_jspx_page_context)) + return; + out.write("\n"); + out.write(" "); + if (_jspx_meth_c_if_2(_jspx_page_context)) + return; + out.write("\n"); + out.write("\n"); + out.write("
\n"); + out.write("
\n"); + out.write("
\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write("
\n"); + out.write("

  "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${errorShop}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("

\n"); + out.write("
\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" "); + if (_jspx_meth_c_forEach_4(_jspx_page_context)) + return; + out.write("\n"); + out.write(" \n"); + out.write("
Shop IDUser IDShop OwnerTitleDescriptionOpen or CloseCommentList Order.... ...
\n"); + out.write(" "); + if (_jspx_meth_c_if_3(_jspx_page_context)) + return; + out.write("\n"); + out.write(" "); + if (_jspx_meth_c_if_4(_jspx_page_context)) + return; + out.write("\n"); + out.write(" "); + if (_jspx_meth_c_if_5(_jspx_page_context)) + return; + out.write("\n"); + out.write(" "); + if (_jspx_meth_c_if_6(_jspx_page_context)) + return; + out.write("\n"); + out.write("
\n"); + out.write("
\n"); + out.write("
\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write("
\n"); + out.write("

  "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${errorProduct}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("

\n"); + out.write("
\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" "); + if (_jspx_meth_c_forEach_9(_jspx_page_context)) + return; + out.write("\n"); + out.write(" \n"); + out.write("
Prodcut IDNameImagePrice....
\n"); + out.write(" "); + if (_jspx_meth_c_if_7(_jspx_page_context)) + return; + out.write("\n"); + out.write(" "); + if (_jspx_meth_c_if_8(_jspx_page_context)) + return; + out.write("\n"); + out.write(" "); + if (_jspx_meth_c_if_9(_jspx_page_context)) + return; + out.write(" \n"); + out.write(" "); + if (_jspx_meth_c_if_10(_jspx_page_context)) + return; + out.write(" \n"); + out.write("
\n"); + out.write("
\n"); + out.write("
\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write("
\n"); + out.write("

  "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${errorInvoice}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("

\n"); + out.write("
\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" "); + if (_jspx_meth_c_forEach_14(_jspx_page_context)) + return; + out.write("\n"); + out.write(" \n"); + out.write("
Invoice IDOrder TimeUser IDAddressPhone NumberDetails
\n"); + out.write(" "); + if (_jspx_meth_c_if_11(_jspx_page_context)) + return; + out.write("\n"); + out.write(" "); + if (_jspx_meth_c_if_12(_jspx_page_context)) + return; + out.write("\n"); + out.write(" "); + if (_jspx_meth_c_if_13(_jspx_page_context)) + return; + out.write("\n"); + out.write(" "); + if (_jspx_meth_c_if_14(_jspx_page_context)) + return; + out.write("\n"); + out.write(" "); + if (_jspx_meth_c_if_15(_jspx_page_context)) + return; + out.write("\n"); + out.write("
\n"); + out.write("
\n"); + out.write("
\n"); + out.write("
\n"); + out.write("
Invoice Lines
\n"); + out.write(" \n"); + out.write("
\n"); + out.write("
\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" "); + if (_jspx_meth_c_forEach_20(_jspx_page_context)) + return; + out.write("\n"); + out.write(" \n"); + out.write("
Invoice IDProduct IDQuatityUnit PriceNote
\n"); + out.write("
\n"); + out.write("
\n"); + out.write(" \n"); + out.write("
\n"); + out.write("
\n"); + out.write("
\n"); + out.write("
\n"); + out.write("
\n"); + out.write("
\n"); + out.write("
\n"); + out.write("
\n"); + out.write("
\n"); + out.write("
\n"); + out.write("

HOLA FOOD

\n"); + out.write("

We love food!

\n"); + out.write("

We have created a food hola website.

\n"); + out.write("
\n"); + out.write("

Được xây dựng từ giữa năm 2018 tại Hòa Lạc, Hà Nội, Food Hola là cộng đồng tin cậy cho sinh viên có thể tìm kiếm,\n"); + out.write(" đánh giá, bình luận các địa điểm ăn uống: nhà hàng, quán ăn, cafe, bar, karaoke, tiệm bánh, khu du lịch... tại\n"); + out.write(" Việt Nam - từ website. Tất cả thành viên từ Bắc đến Nam, Food Hola kết nối mọi sinh viên đến với các địa điểm\n"); + out.write(" ăn uống lớn nhỏ cả đất nước. Đến thời điểm hiện tại, Food Hola với hàng chục địa điểm và hàng trăm ngàn bình\n"); + out.write(" luận, hình ảnh tại Việt Nam, ở hầu hết miền Bắc. Food Hola là cách dễ nhất để bạn có thể tìm kiếm và lựa chọn\n"); + out.write(" địa điểm và những món ăn tốt nhất cho mình và bạn bè.

\n"); + out.write("
\n"); + out.write("
\n"); + out.write("
\n"); + out.write(" \n"); + out.write("
\n"); + out.write("\n"); + out.write("\n"); + } catch (Throwable t) { + if (!(t instanceof SkipPageException)){ + out = _jspx_out; + if (out != null && out.getBufferSize() != 0) + out.clearBuffer(); + if (_jspx_page_context != null) _jspx_page_context.handlePageException(t); + else throw new ServletException(t); + } + } finally { + _jspxFactory.releasePageContext(_jspx_page_context); + } + } + + private boolean _jspx_meth_c_forEach_0(PageContext _jspx_page_context) + throws Throwable { + PageContext pageContext = _jspx_page_context; + JspWriter out = _jspx_page_context.getOut(); + // c:forEach + org.apache.taglibs.standard.tag.rt.core.ForEachTag _jspx_th_c_forEach_0 = (org.apache.taglibs.standard.tag.rt.core.ForEachTag) _jspx_tagPool_c_forEach_var_items.get(org.apache.taglibs.standard.tag.rt.core.ForEachTag.class); + _jspx_th_c_forEach_0.setPageContext(_jspx_page_context); + _jspx_th_c_forEach_0.setParent(null); + _jspx_th_c_forEach_0.setVar("x"); + _jspx_th_c_forEach_0.setItems((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${Users}", java.lang.Object.class, (PageContext)_jspx_page_context, null)); + int[] _jspx_push_body_count_c_forEach_0 = new int[] { 0 }; + try { + int _jspx_eval_c_forEach_0 = _jspx_th_c_forEach_0.doStartTag(); + if (_jspx_eval_c_forEach_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { + do { + out.write("\n"); + out.write(" \n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.userID}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.userName}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.password}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.name}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.email}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.avatarUrl}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.role}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" "); + int evalDoAfterBody = _jspx_th_c_forEach_0.doAfterBody(); + if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) + break; + } while (true); + } + if (_jspx_th_c_forEach_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { + return true; + } + } catch (Throwable _jspx_exception) { + while (_jspx_push_body_count_c_forEach_0[0]-- > 0) + out = _jspx_page_context.popBody(); + _jspx_th_c_forEach_0.doCatch(_jspx_exception); + } finally { + _jspx_th_c_forEach_0.doFinally(); + _jspx_tagPool_c_forEach_var_items.reuse(_jspx_th_c_forEach_0); + } + return false; + } + + private boolean _jspx_meth_c_if_0(PageContext _jspx_page_context) + throws Throwable { + PageContext pageContext = _jspx_page_context; + JspWriter out = _jspx_page_context.getOut(); + // c:if + org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_if_0 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _jspx_tagPool_c_if_test.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class); + _jspx_th_c_if_0.setPageContext(_jspx_page_context); + _jspx_th_c_if_0.setParent(null); + _jspx_th_c_if_0.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${empty SearchUserUserID and empty SearchUserOther or not empty back}", java.lang.Boolean.class, (PageContext)_jspx_page_context, null)).booleanValue()); + int _jspx_eval_c_if_0 = _jspx_th_c_if_0.doStartTag(); + if (_jspx_eval_c_if_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { + do { + out.write("\n"); + out.write("

Cannot found, please search again !!!

\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" "); + if (_jspx_meth_c_forEach_1((javax.servlet.jsp.tagext.JspTag) _jspx_th_c_if_0, _jspx_page_context)) + return true; + out.write("\n"); + out.write(" \n"); + out.write("
User IDUser NamePasswordNameEmailAvatar UrlRole ...
\n"); + out.write(" "); + int evalDoAfterBody = _jspx_th_c_if_0.doAfterBody(); + if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) + break; + } while (true); + } + if (_jspx_th_c_if_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { + _jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_0); + return true; + } + _jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_0); + return false; + } + + private boolean _jspx_meth_c_forEach_1(javax.servlet.jsp.tagext.JspTag _jspx_th_c_if_0, PageContext _jspx_page_context) + throws Throwable { + PageContext pageContext = _jspx_page_context; + JspWriter out = _jspx_page_context.getOut(); + // c:forEach + org.apache.taglibs.standard.tag.rt.core.ForEachTag _jspx_th_c_forEach_1 = (org.apache.taglibs.standard.tag.rt.core.ForEachTag) _jspx_tagPool_c_forEach_var_items.get(org.apache.taglibs.standard.tag.rt.core.ForEachTag.class); + _jspx_th_c_forEach_1.setPageContext(_jspx_page_context); + _jspx_th_c_forEach_1.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_if_0); + _jspx_th_c_forEach_1.setVar("x"); + _jspx_th_c_forEach_1.setItems((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${Users}", java.lang.Object.class, (PageContext)_jspx_page_context, null)); + int[] _jspx_push_body_count_c_forEach_1 = new int[] { 0 }; + try { + int _jspx_eval_c_forEach_1 = _jspx_th_c_forEach_1.doStartTag(); + if (_jspx_eval_c_forEach_1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { + do { + out.write("\n"); + out.write(" \n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.userID}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.userName}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.password}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.name}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.email}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.avatarUrl}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.role}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" "); + int evalDoAfterBody = _jspx_th_c_forEach_1.doAfterBody(); + if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) + break; + } while (true); + } + if (_jspx_th_c_forEach_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { + return true; + } + } catch (Throwable _jspx_exception) { + while (_jspx_push_body_count_c_forEach_1[0]-- > 0) + out = _jspx_page_context.popBody(); + _jspx_th_c_forEach_1.doCatch(_jspx_exception); + } finally { + _jspx_th_c_forEach_1.doFinally(); + _jspx_tagPool_c_forEach_var_items.reuse(_jspx_th_c_forEach_1); + } + return false; + } + + private boolean _jspx_meth_c_if_1(PageContext _jspx_page_context) + throws Throwable { + PageContext pageContext = _jspx_page_context; + JspWriter out = _jspx_page_context.getOut(); + // c:if + org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_if_1 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _jspx_tagPool_c_if_test.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class); + _jspx_th_c_if_1.setPageContext(_jspx_page_context); + _jspx_th_c_if_1.setParent(null); + _jspx_th_c_if_1.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${not empty SearchUserUserID}", java.lang.Boolean.class, (PageContext)_jspx_page_context, null)).booleanValue()); + int _jspx_eval_c_if_1 = _jspx_th_c_if_1.doStartTag(); + if (_jspx_eval_c_if_1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { + do { + out.write("\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" "); + if (_jspx_meth_c_forEach_2((javax.servlet.jsp.tagext.JspTag) _jspx_th_c_if_1, _jspx_page_context)) + return true; + out.write("\n"); + out.write(" \n"); + out.write("
User IDUser NamePasswordNameEmailAvatar UrlRole ...
\n"); + out.write(" "); + int evalDoAfterBody = _jspx_th_c_if_1.doAfterBody(); + if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) + break; + } while (true); + } + if (_jspx_th_c_if_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { + _jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_1); + return true; + } + _jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_1); + return false; + } + + private boolean _jspx_meth_c_forEach_2(javax.servlet.jsp.tagext.JspTag _jspx_th_c_if_1, PageContext _jspx_page_context) + throws Throwable { + PageContext pageContext = _jspx_page_context; + JspWriter out = _jspx_page_context.getOut(); + // c:forEach + org.apache.taglibs.standard.tag.rt.core.ForEachTag _jspx_th_c_forEach_2 = (org.apache.taglibs.standard.tag.rt.core.ForEachTag) _jspx_tagPool_c_forEach_var_items.get(org.apache.taglibs.standard.tag.rt.core.ForEachTag.class); + _jspx_th_c_forEach_2.setPageContext(_jspx_page_context); + _jspx_th_c_forEach_2.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_if_1); + _jspx_th_c_forEach_2.setVar("x"); + _jspx_th_c_forEach_2.setItems((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${SearchUserUserID}", java.lang.Object.class, (PageContext)_jspx_page_context, null)); + int[] _jspx_push_body_count_c_forEach_2 = new int[] { 0 }; + try { + int _jspx_eval_c_forEach_2 = _jspx_th_c_forEach_2.doStartTag(); + if (_jspx_eval_c_forEach_2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { + do { + out.write("\n"); + out.write(" \n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.userID}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.userName}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.password}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.name}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.email}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.avatarUrl}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.role}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" "); + int evalDoAfterBody = _jspx_th_c_forEach_2.doAfterBody(); + if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) + break; + } while (true); + } + if (_jspx_th_c_forEach_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { + return true; + } + } catch (Throwable _jspx_exception) { + while (_jspx_push_body_count_c_forEach_2[0]-- > 0) + out = _jspx_page_context.popBody(); + _jspx_th_c_forEach_2.doCatch(_jspx_exception); + } finally { + _jspx_th_c_forEach_2.doFinally(); + _jspx_tagPool_c_forEach_var_items.reuse(_jspx_th_c_forEach_2); + } + return false; + } + + private boolean _jspx_meth_c_if_2(PageContext _jspx_page_context) + throws Throwable { + PageContext pageContext = _jspx_page_context; + JspWriter out = _jspx_page_context.getOut(); + // c:if + org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_if_2 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _jspx_tagPool_c_if_test.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class); + _jspx_th_c_if_2.setPageContext(_jspx_page_context); + _jspx_th_c_if_2.setParent(null); + _jspx_th_c_if_2.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${not empty SearchUserOther}", java.lang.Boolean.class, (PageContext)_jspx_page_context, null)).booleanValue()); + int _jspx_eval_c_if_2 = _jspx_th_c_if_2.doStartTag(); + if (_jspx_eval_c_if_2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { + do { + out.write("\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" "); + if (_jspx_meth_c_forEach_3((javax.servlet.jsp.tagext.JspTag) _jspx_th_c_if_2, _jspx_page_context)) + return true; + out.write("\n"); + out.write(" \n"); + out.write("
User IDUser NamePasswordNameEmailAvatar UrlRole ...
\n"); + out.write(" "); + int evalDoAfterBody = _jspx_th_c_if_2.doAfterBody(); + if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) + break; + } while (true); + } + if (_jspx_th_c_if_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { + _jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_2); + return true; + } + _jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_2); + return false; + } + + private boolean _jspx_meth_c_forEach_3(javax.servlet.jsp.tagext.JspTag _jspx_th_c_if_2, PageContext _jspx_page_context) + throws Throwable { + PageContext pageContext = _jspx_page_context; + JspWriter out = _jspx_page_context.getOut(); + // c:forEach + org.apache.taglibs.standard.tag.rt.core.ForEachTag _jspx_th_c_forEach_3 = (org.apache.taglibs.standard.tag.rt.core.ForEachTag) _jspx_tagPool_c_forEach_var_items.get(org.apache.taglibs.standard.tag.rt.core.ForEachTag.class); + _jspx_th_c_forEach_3.setPageContext(_jspx_page_context); + _jspx_th_c_forEach_3.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_if_2); + _jspx_th_c_forEach_3.setVar("x"); + _jspx_th_c_forEach_3.setItems((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${SearchUserOther}", java.lang.Object.class, (PageContext)_jspx_page_context, null)); + int[] _jspx_push_body_count_c_forEach_3 = new int[] { 0 }; + try { + int _jspx_eval_c_forEach_3 = _jspx_th_c_forEach_3.doStartTag(); + if (_jspx_eval_c_forEach_3 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { + do { + out.write("\n"); + out.write(" \n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.userID}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.userName}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.password}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.name}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.email}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.avatarUrl}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.role}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" "); + int evalDoAfterBody = _jspx_th_c_forEach_3.doAfterBody(); + if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) + break; + } while (true); + } + if (_jspx_th_c_forEach_3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { + return true; + } + } catch (Throwable _jspx_exception) { + while (_jspx_push_body_count_c_forEach_3[0]-- > 0) + out = _jspx_page_context.popBody(); + _jspx_th_c_forEach_3.doCatch(_jspx_exception); + } finally { + _jspx_th_c_forEach_3.doFinally(); + _jspx_tagPool_c_forEach_var_items.reuse(_jspx_th_c_forEach_3); + } + return false; + } + + private boolean _jspx_meth_c_forEach_4(PageContext _jspx_page_context) + throws Throwable { + PageContext pageContext = _jspx_page_context; + JspWriter out = _jspx_page_context.getOut(); + // c:forEach + org.apache.taglibs.standard.tag.rt.core.ForEachTag _jspx_th_c_forEach_4 = (org.apache.taglibs.standard.tag.rt.core.ForEachTag) _jspx_tagPool_c_forEach_var_items.get(org.apache.taglibs.standard.tag.rt.core.ForEachTag.class); + _jspx_th_c_forEach_4.setPageContext(_jspx_page_context); + _jspx_th_c_forEach_4.setParent(null); + _jspx_th_c_forEach_4.setVar("x"); + _jspx_th_c_forEach_4.setItems((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${Shops}", java.lang.Object.class, (PageContext)_jspx_page_context, null)); + int[] _jspx_push_body_count_c_forEach_4 = new int[] { 0 }; + try { + int _jspx_eval_c_forEach_4 = _jspx_th_c_forEach_4.doStartTag(); + if (_jspx_eval_c_forEach_4 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { + do { + out.write("\n"); + out.write(" "); + if (_jspx_meth_c_url_0((javax.servlet.jsp.tagext.JspTag) _jspx_th_c_forEach_4, _jspx_page_context, _jspx_push_body_count_c_forEach_4)) + return true; + out.write("\n"); + out.write(" \n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.shopID}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.userID}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.shopOwner}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.title}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.description}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" \n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.comment}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.listOrder}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" "); + int evalDoAfterBody = _jspx_th_c_forEach_4.doAfterBody(); + if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) + break; + } while (true); + } + if (_jspx_th_c_forEach_4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { + return true; + } + } catch (Throwable _jspx_exception) { + while (_jspx_push_body_count_c_forEach_4[0]-- > 0) + out = _jspx_page_context.popBody(); + _jspx_th_c_forEach_4.doCatch(_jspx_exception); + } finally { + _jspx_th_c_forEach_4.doFinally(); + _jspx_tagPool_c_forEach_var_items.reuse(_jspx_th_c_forEach_4); + } + return false; + } + + private boolean _jspx_meth_c_url_0(javax.servlet.jsp.tagext.JspTag _jspx_th_c_forEach_4, PageContext _jspx_page_context, int[] _jspx_push_body_count_c_forEach_4) + throws Throwable { + PageContext pageContext = _jspx_page_context; + JspWriter out = _jspx_page_context.getOut(); + // c:url + org.apache.taglibs.standard.tag.rt.core.UrlTag _jspx_th_c_url_0 = (org.apache.taglibs.standard.tag.rt.core.UrlTag) _jspx_tagPool_c_url_var_value.get(org.apache.taglibs.standard.tag.rt.core.UrlTag.class); + _jspx_th_c_url_0.setPageContext(_jspx_page_context); + _jspx_th_c_url_0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_forEach_4); + _jspx_th_c_url_0.setVar("product"); + _jspx_th_c_url_0.setValue("/Dashboard/ProductInShop"); + int _jspx_eval_c_url_0 = _jspx_th_c_url_0.doStartTag(); + if (_jspx_eval_c_url_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { + if (_jspx_eval_c_url_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) { + out = _jspx_page_context.pushBody(); + _jspx_push_body_count_c_forEach_4[0]++; + _jspx_th_c_url_0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out); + _jspx_th_c_url_0.doInitBody(); + } + do { + out.write("\n"); + out.write(" "); + if (_jspx_meth_c_param_0((javax.servlet.jsp.tagext.JspTag) _jspx_th_c_url_0, _jspx_page_context, _jspx_push_body_count_c_forEach_4)) + return true; + out.write("\n"); + out.write(" "); + int evalDoAfterBody = _jspx_th_c_url_0.doAfterBody(); + if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) + break; + } while (true); + if (_jspx_eval_c_url_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) + out = _jspx_page_context.popBody(); + _jspx_push_body_count_c_forEach_4[0]--; + } + if (_jspx_th_c_url_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { + _jspx_tagPool_c_url_var_value.reuse(_jspx_th_c_url_0); + return true; + } + _jspx_tagPool_c_url_var_value.reuse(_jspx_th_c_url_0); + return false; + } + + private boolean _jspx_meth_c_param_0(javax.servlet.jsp.tagext.JspTag _jspx_th_c_url_0, PageContext _jspx_page_context, int[] _jspx_push_body_count_c_forEach_4) + throws Throwable { + PageContext pageContext = _jspx_page_context; + JspWriter out = _jspx_page_context.getOut(); + // c:param + org.apache.taglibs.standard.tag.rt.core.ParamTag _jspx_th_c_param_0 = (org.apache.taglibs.standard.tag.rt.core.ParamTag) _jspx_tagPool_c_param_value_name_nobody.get(org.apache.taglibs.standard.tag.rt.core.ParamTag.class); + _jspx_th_c_param_0.setPageContext(_jspx_page_context); + _jspx_th_c_param_0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_url_0); + _jspx_th_c_param_0.setName("shopID"); + _jspx_th_c_param_0.setValue((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.shopID}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + int _jspx_eval_c_param_0 = _jspx_th_c_param_0.doStartTag(); + if (_jspx_th_c_param_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { + _jspx_tagPool_c_param_value_name_nobody.reuse(_jspx_th_c_param_0); + return true; + } + _jspx_tagPool_c_param_value_name_nobody.reuse(_jspx_th_c_param_0); + return false; + } + + private boolean _jspx_meth_c_if_3(PageContext _jspx_page_context) + throws Throwable { + PageContext pageContext = _jspx_page_context; + JspWriter out = _jspx_page_context.getOut(); + // c:if + org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_if_3 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _jspx_tagPool_c_if_test.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class); + _jspx_th_c_if_3.setPageContext(_jspx_page_context); + _jspx_th_c_if_3.setParent(null); + _jspx_th_c_if_3.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${empty SearchShopID and empty SearchShopOpenOrClose and empty SearchShopOther or not empty back1}", java.lang.Boolean.class, (PageContext)_jspx_page_context, null)).booleanValue()); + int _jspx_eval_c_if_3 = _jspx_th_c_if_3.doStartTag(); + if (_jspx_eval_c_if_3 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { + do { + out.write("\n"); + out.write("

Cannot found, please search again !!!

\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" "); + if (_jspx_meth_c_forEach_5((javax.servlet.jsp.tagext.JspTag) _jspx_th_c_if_3, _jspx_page_context)) + return true; + out.write("\n"); + out.write(" \n"); + out.write("
Shop IDUser IDShop OwnerTitleDescriptionOpen or CloseCommentList Order........
\n"); + out.write(" "); + int evalDoAfterBody = _jspx_th_c_if_3.doAfterBody(); + if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) + break; + } while (true); + } + if (_jspx_th_c_if_3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { + _jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_3); + return true; + } + _jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_3); + return false; + } + + private boolean _jspx_meth_c_forEach_5(javax.servlet.jsp.tagext.JspTag _jspx_th_c_if_3, PageContext _jspx_page_context) + throws Throwable { + PageContext pageContext = _jspx_page_context; + JspWriter out = _jspx_page_context.getOut(); + // c:forEach + org.apache.taglibs.standard.tag.rt.core.ForEachTag _jspx_th_c_forEach_5 = (org.apache.taglibs.standard.tag.rt.core.ForEachTag) _jspx_tagPool_c_forEach_var_items.get(org.apache.taglibs.standard.tag.rt.core.ForEachTag.class); + _jspx_th_c_forEach_5.setPageContext(_jspx_page_context); + _jspx_th_c_forEach_5.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_if_3); + _jspx_th_c_forEach_5.setVar("x"); + _jspx_th_c_forEach_5.setItems((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${Shops}", java.lang.Object.class, (PageContext)_jspx_page_context, null)); + int[] _jspx_push_body_count_c_forEach_5 = new int[] { 0 }; + try { + int _jspx_eval_c_forEach_5 = _jspx_th_c_forEach_5.doStartTag(); + if (_jspx_eval_c_forEach_5 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { + do { + out.write("\n"); + out.write(" "); + if (_jspx_meth_c_url_1((javax.servlet.jsp.tagext.JspTag) _jspx_th_c_forEach_5, _jspx_page_context, _jspx_push_body_count_c_forEach_5)) + return true; + out.write("\n"); + out.write(" \n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.shopID}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.userID}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.shopOwner}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.title}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.description}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" \n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.comment}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.listOrder}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" "); + int evalDoAfterBody = _jspx_th_c_forEach_5.doAfterBody(); + if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) + break; + } while (true); + } + if (_jspx_th_c_forEach_5.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { + return true; + } + } catch (Throwable _jspx_exception) { + while (_jspx_push_body_count_c_forEach_5[0]-- > 0) + out = _jspx_page_context.popBody(); + _jspx_th_c_forEach_5.doCatch(_jspx_exception); + } finally { + _jspx_th_c_forEach_5.doFinally(); + _jspx_tagPool_c_forEach_var_items.reuse(_jspx_th_c_forEach_5); + } + return false; + } + + private boolean _jspx_meth_c_url_1(javax.servlet.jsp.tagext.JspTag _jspx_th_c_forEach_5, PageContext _jspx_page_context, int[] _jspx_push_body_count_c_forEach_5) + throws Throwable { + PageContext pageContext = _jspx_page_context; + JspWriter out = _jspx_page_context.getOut(); + // c:url + org.apache.taglibs.standard.tag.rt.core.UrlTag _jspx_th_c_url_1 = (org.apache.taglibs.standard.tag.rt.core.UrlTag) _jspx_tagPool_c_url_var_value.get(org.apache.taglibs.standard.tag.rt.core.UrlTag.class); + _jspx_th_c_url_1.setPageContext(_jspx_page_context); + _jspx_th_c_url_1.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_forEach_5); + _jspx_th_c_url_1.setVar("product"); + _jspx_th_c_url_1.setValue("/Dashboard/ProductInShop"); + int _jspx_eval_c_url_1 = _jspx_th_c_url_1.doStartTag(); + if (_jspx_eval_c_url_1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { + if (_jspx_eval_c_url_1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) { + out = _jspx_page_context.pushBody(); + _jspx_push_body_count_c_forEach_5[0]++; + _jspx_th_c_url_1.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out); + _jspx_th_c_url_1.doInitBody(); + } + do { + out.write("\n"); + out.write(" "); + if (_jspx_meth_c_param_1((javax.servlet.jsp.tagext.JspTag) _jspx_th_c_url_1, _jspx_page_context, _jspx_push_body_count_c_forEach_5)) + return true; + out.write("\n"); + out.write(" "); + int evalDoAfterBody = _jspx_th_c_url_1.doAfterBody(); + if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) + break; + } while (true); + if (_jspx_eval_c_url_1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) + out = _jspx_page_context.popBody(); + _jspx_push_body_count_c_forEach_5[0]--; + } + if (_jspx_th_c_url_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { + _jspx_tagPool_c_url_var_value.reuse(_jspx_th_c_url_1); + return true; + } + _jspx_tagPool_c_url_var_value.reuse(_jspx_th_c_url_1); + return false; + } + + private boolean _jspx_meth_c_param_1(javax.servlet.jsp.tagext.JspTag _jspx_th_c_url_1, PageContext _jspx_page_context, int[] _jspx_push_body_count_c_forEach_5) + throws Throwable { + PageContext pageContext = _jspx_page_context; + JspWriter out = _jspx_page_context.getOut(); + // c:param + org.apache.taglibs.standard.tag.rt.core.ParamTag _jspx_th_c_param_1 = (org.apache.taglibs.standard.tag.rt.core.ParamTag) _jspx_tagPool_c_param_value_name_nobody.get(org.apache.taglibs.standard.tag.rt.core.ParamTag.class); + _jspx_th_c_param_1.setPageContext(_jspx_page_context); + _jspx_th_c_param_1.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_url_1); + _jspx_th_c_param_1.setName("shopID"); + _jspx_th_c_param_1.setValue((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.shopID}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + int _jspx_eval_c_param_1 = _jspx_th_c_param_1.doStartTag(); + if (_jspx_th_c_param_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { + _jspx_tagPool_c_param_value_name_nobody.reuse(_jspx_th_c_param_1); + return true; + } + _jspx_tagPool_c_param_value_name_nobody.reuse(_jspx_th_c_param_1); + return false; + } + + private boolean _jspx_meth_c_if_4(PageContext _jspx_page_context) + throws Throwable { + PageContext pageContext = _jspx_page_context; + JspWriter out = _jspx_page_context.getOut(); + // c:if + org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_if_4 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _jspx_tagPool_c_if_test.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class); + _jspx_th_c_if_4.setPageContext(_jspx_page_context); + _jspx_th_c_if_4.setParent(null); + _jspx_th_c_if_4.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${not empty SearchShopID}", java.lang.Boolean.class, (PageContext)_jspx_page_context, null)).booleanValue()); + int _jspx_eval_c_if_4 = _jspx_th_c_if_4.doStartTag(); + if (_jspx_eval_c_if_4 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { + do { + out.write("\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" "); + if (_jspx_meth_c_forEach_6((javax.servlet.jsp.tagext.JspTag) _jspx_th_c_if_4, _jspx_page_context)) + return true; + out.write("\n"); + out.write(" \n"); + out.write("
Shop IDUser IDShop OwnerTitleDescriptionOpen or CloseCommentList Order........
\n"); + out.write(" "); + int evalDoAfterBody = _jspx_th_c_if_4.doAfterBody(); + if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) + break; + } while (true); + } + if (_jspx_th_c_if_4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { + _jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_4); + return true; + } + _jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_4); + return false; + } + + private boolean _jspx_meth_c_forEach_6(javax.servlet.jsp.tagext.JspTag _jspx_th_c_if_4, PageContext _jspx_page_context) + throws Throwable { + PageContext pageContext = _jspx_page_context; + JspWriter out = _jspx_page_context.getOut(); + // c:forEach + org.apache.taglibs.standard.tag.rt.core.ForEachTag _jspx_th_c_forEach_6 = (org.apache.taglibs.standard.tag.rt.core.ForEachTag) _jspx_tagPool_c_forEach_var_items.get(org.apache.taglibs.standard.tag.rt.core.ForEachTag.class); + _jspx_th_c_forEach_6.setPageContext(_jspx_page_context); + _jspx_th_c_forEach_6.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_if_4); + _jspx_th_c_forEach_6.setVar("x"); + _jspx_th_c_forEach_6.setItems((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${SearchShopID}", java.lang.Object.class, (PageContext)_jspx_page_context, null)); + int[] _jspx_push_body_count_c_forEach_6 = new int[] { 0 }; + try { + int _jspx_eval_c_forEach_6 = _jspx_th_c_forEach_6.doStartTag(); + if (_jspx_eval_c_forEach_6 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { + do { + out.write("\n"); + out.write(" "); + if (_jspx_meth_c_url_2((javax.servlet.jsp.tagext.JspTag) _jspx_th_c_forEach_6, _jspx_page_context, _jspx_push_body_count_c_forEach_6)) + return true; + out.write("\n"); + out.write(" \n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.shopID}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.userID}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.shopOwner}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.title}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.description}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" \n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.comment}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.listOrder}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" "); + int evalDoAfterBody = _jspx_th_c_forEach_6.doAfterBody(); + if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) + break; + } while (true); + } + if (_jspx_th_c_forEach_6.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { + return true; + } + } catch (Throwable _jspx_exception) { + while (_jspx_push_body_count_c_forEach_6[0]-- > 0) + out = _jspx_page_context.popBody(); + _jspx_th_c_forEach_6.doCatch(_jspx_exception); + } finally { + _jspx_th_c_forEach_6.doFinally(); + _jspx_tagPool_c_forEach_var_items.reuse(_jspx_th_c_forEach_6); + } + return false; + } + + private boolean _jspx_meth_c_url_2(javax.servlet.jsp.tagext.JspTag _jspx_th_c_forEach_6, PageContext _jspx_page_context, int[] _jspx_push_body_count_c_forEach_6) + throws Throwable { + PageContext pageContext = _jspx_page_context; + JspWriter out = _jspx_page_context.getOut(); + // c:url + org.apache.taglibs.standard.tag.rt.core.UrlTag _jspx_th_c_url_2 = (org.apache.taglibs.standard.tag.rt.core.UrlTag) _jspx_tagPool_c_url_var_value.get(org.apache.taglibs.standard.tag.rt.core.UrlTag.class); + _jspx_th_c_url_2.setPageContext(_jspx_page_context); + _jspx_th_c_url_2.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_forEach_6); + _jspx_th_c_url_2.setVar("product"); + _jspx_th_c_url_2.setValue("/Dashboard/ProductInShop"); + int _jspx_eval_c_url_2 = _jspx_th_c_url_2.doStartTag(); + if (_jspx_eval_c_url_2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { + if (_jspx_eval_c_url_2 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) { + out = _jspx_page_context.pushBody(); + _jspx_push_body_count_c_forEach_6[0]++; + _jspx_th_c_url_2.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out); + _jspx_th_c_url_2.doInitBody(); + } + do { + out.write("\n"); + out.write(" "); + if (_jspx_meth_c_param_2((javax.servlet.jsp.tagext.JspTag) _jspx_th_c_url_2, _jspx_page_context, _jspx_push_body_count_c_forEach_6)) + return true; + out.write("\n"); + out.write(" "); + int evalDoAfterBody = _jspx_th_c_url_2.doAfterBody(); + if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) + break; + } while (true); + if (_jspx_eval_c_url_2 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) + out = _jspx_page_context.popBody(); + _jspx_push_body_count_c_forEach_6[0]--; + } + if (_jspx_th_c_url_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { + _jspx_tagPool_c_url_var_value.reuse(_jspx_th_c_url_2); + return true; + } + _jspx_tagPool_c_url_var_value.reuse(_jspx_th_c_url_2); + return false; + } + + private boolean _jspx_meth_c_param_2(javax.servlet.jsp.tagext.JspTag _jspx_th_c_url_2, PageContext _jspx_page_context, int[] _jspx_push_body_count_c_forEach_6) + throws Throwable { + PageContext pageContext = _jspx_page_context; + JspWriter out = _jspx_page_context.getOut(); + // c:param + org.apache.taglibs.standard.tag.rt.core.ParamTag _jspx_th_c_param_2 = (org.apache.taglibs.standard.tag.rt.core.ParamTag) _jspx_tagPool_c_param_value_name_nobody.get(org.apache.taglibs.standard.tag.rt.core.ParamTag.class); + _jspx_th_c_param_2.setPageContext(_jspx_page_context); + _jspx_th_c_param_2.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_url_2); + _jspx_th_c_param_2.setName("shopID"); + _jspx_th_c_param_2.setValue((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.shopID}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + int _jspx_eval_c_param_2 = _jspx_th_c_param_2.doStartTag(); + if (_jspx_th_c_param_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { + _jspx_tagPool_c_param_value_name_nobody.reuse(_jspx_th_c_param_2); + return true; + } + _jspx_tagPool_c_param_value_name_nobody.reuse(_jspx_th_c_param_2); + return false; + } + + private boolean _jspx_meth_c_if_5(PageContext _jspx_page_context) + throws Throwable { + PageContext pageContext = _jspx_page_context; + JspWriter out = _jspx_page_context.getOut(); + // c:if + org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_if_5 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _jspx_tagPool_c_if_test.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class); + _jspx_th_c_if_5.setPageContext(_jspx_page_context); + _jspx_th_c_if_5.setParent(null); + _jspx_th_c_if_5.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${not empty SearchShopOpenOrClose}", java.lang.Boolean.class, (PageContext)_jspx_page_context, null)).booleanValue()); + int _jspx_eval_c_if_5 = _jspx_th_c_if_5.doStartTag(); + if (_jspx_eval_c_if_5 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { + do { + out.write("\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" "); + if (_jspx_meth_c_forEach_7((javax.servlet.jsp.tagext.JspTag) _jspx_th_c_if_5, _jspx_page_context)) + return true; + out.write("\n"); + out.write(" \n"); + out.write("
Shop IDUser IDShop OwnerTitleDescriptionOpen or CloseCommentList Order........
\n"); + out.write(" "); + int evalDoAfterBody = _jspx_th_c_if_5.doAfterBody(); + if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) + break; + } while (true); + } + if (_jspx_th_c_if_5.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { + _jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_5); + return true; + } + _jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_5); + return false; + } + + private boolean _jspx_meth_c_forEach_7(javax.servlet.jsp.tagext.JspTag _jspx_th_c_if_5, PageContext _jspx_page_context) + throws Throwable { + PageContext pageContext = _jspx_page_context; + JspWriter out = _jspx_page_context.getOut(); + // c:forEach + org.apache.taglibs.standard.tag.rt.core.ForEachTag _jspx_th_c_forEach_7 = (org.apache.taglibs.standard.tag.rt.core.ForEachTag) _jspx_tagPool_c_forEach_var_items.get(org.apache.taglibs.standard.tag.rt.core.ForEachTag.class); + _jspx_th_c_forEach_7.setPageContext(_jspx_page_context); + _jspx_th_c_forEach_7.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_if_5); + _jspx_th_c_forEach_7.setVar("x"); + _jspx_th_c_forEach_7.setItems((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${SearchShopOpenOrClose}", java.lang.Object.class, (PageContext)_jspx_page_context, null)); + int[] _jspx_push_body_count_c_forEach_7 = new int[] { 0 }; + try { + int _jspx_eval_c_forEach_7 = _jspx_th_c_forEach_7.doStartTag(); + if (_jspx_eval_c_forEach_7 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { + do { + out.write("\n"); + out.write(" "); + if (_jspx_meth_c_url_3((javax.servlet.jsp.tagext.JspTag) _jspx_th_c_forEach_7, _jspx_page_context, _jspx_push_body_count_c_forEach_7)) + return true; + out.write("\n"); + out.write(" \n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.shopID}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.userID}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.shopOwner}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.title}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.description}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" \n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.comment}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.listOrder}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" "); + int evalDoAfterBody = _jspx_th_c_forEach_7.doAfterBody(); + if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) + break; + } while (true); + } + if (_jspx_th_c_forEach_7.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { + return true; + } + } catch (Throwable _jspx_exception) { + while (_jspx_push_body_count_c_forEach_7[0]-- > 0) + out = _jspx_page_context.popBody(); + _jspx_th_c_forEach_7.doCatch(_jspx_exception); + } finally { + _jspx_th_c_forEach_7.doFinally(); + _jspx_tagPool_c_forEach_var_items.reuse(_jspx_th_c_forEach_7); + } + return false; + } + + private boolean _jspx_meth_c_url_3(javax.servlet.jsp.tagext.JspTag _jspx_th_c_forEach_7, PageContext _jspx_page_context, int[] _jspx_push_body_count_c_forEach_7) + throws Throwable { + PageContext pageContext = _jspx_page_context; + JspWriter out = _jspx_page_context.getOut(); + // c:url + org.apache.taglibs.standard.tag.rt.core.UrlTag _jspx_th_c_url_3 = (org.apache.taglibs.standard.tag.rt.core.UrlTag) _jspx_tagPool_c_url_var_value.get(org.apache.taglibs.standard.tag.rt.core.UrlTag.class); + _jspx_th_c_url_3.setPageContext(_jspx_page_context); + _jspx_th_c_url_3.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_forEach_7); + _jspx_th_c_url_3.setVar("product"); + _jspx_th_c_url_3.setValue("/Dashboard/ProductInShop"); + int _jspx_eval_c_url_3 = _jspx_th_c_url_3.doStartTag(); + if (_jspx_eval_c_url_3 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { + if (_jspx_eval_c_url_3 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) { + out = _jspx_page_context.pushBody(); + _jspx_push_body_count_c_forEach_7[0]++; + _jspx_th_c_url_3.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out); + _jspx_th_c_url_3.doInitBody(); + } + do { + out.write("\n"); + out.write(" "); + if (_jspx_meth_c_param_3((javax.servlet.jsp.tagext.JspTag) _jspx_th_c_url_3, _jspx_page_context, _jspx_push_body_count_c_forEach_7)) + return true; + out.write("\n"); + out.write(" "); + int evalDoAfterBody = _jspx_th_c_url_3.doAfterBody(); + if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) + break; + } while (true); + if (_jspx_eval_c_url_3 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) + out = _jspx_page_context.popBody(); + _jspx_push_body_count_c_forEach_7[0]--; + } + if (_jspx_th_c_url_3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { + _jspx_tagPool_c_url_var_value.reuse(_jspx_th_c_url_3); + return true; + } + _jspx_tagPool_c_url_var_value.reuse(_jspx_th_c_url_3); + return false; + } + + private boolean _jspx_meth_c_param_3(javax.servlet.jsp.tagext.JspTag _jspx_th_c_url_3, PageContext _jspx_page_context, int[] _jspx_push_body_count_c_forEach_7) + throws Throwable { + PageContext pageContext = _jspx_page_context; + JspWriter out = _jspx_page_context.getOut(); + // c:param + org.apache.taglibs.standard.tag.rt.core.ParamTag _jspx_th_c_param_3 = (org.apache.taglibs.standard.tag.rt.core.ParamTag) _jspx_tagPool_c_param_value_name_nobody.get(org.apache.taglibs.standard.tag.rt.core.ParamTag.class); + _jspx_th_c_param_3.setPageContext(_jspx_page_context); + _jspx_th_c_param_3.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_url_3); + _jspx_th_c_param_3.setName("shopID"); + _jspx_th_c_param_3.setValue((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.shopID}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + int _jspx_eval_c_param_3 = _jspx_th_c_param_3.doStartTag(); + if (_jspx_th_c_param_3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { + _jspx_tagPool_c_param_value_name_nobody.reuse(_jspx_th_c_param_3); + return true; + } + _jspx_tagPool_c_param_value_name_nobody.reuse(_jspx_th_c_param_3); + return false; + } + + private boolean _jspx_meth_c_if_6(PageContext _jspx_page_context) + throws Throwable { + PageContext pageContext = _jspx_page_context; + JspWriter out = _jspx_page_context.getOut(); + // c:if + org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_if_6 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _jspx_tagPool_c_if_test.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class); + _jspx_th_c_if_6.setPageContext(_jspx_page_context); + _jspx_th_c_if_6.setParent(null); + _jspx_th_c_if_6.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${not empty SearchShopOther}", java.lang.Boolean.class, (PageContext)_jspx_page_context, null)).booleanValue()); + int _jspx_eval_c_if_6 = _jspx_th_c_if_6.doStartTag(); + if (_jspx_eval_c_if_6 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { + do { + out.write("\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" "); + if (_jspx_meth_c_forEach_8((javax.servlet.jsp.tagext.JspTag) _jspx_th_c_if_6, _jspx_page_context)) + return true; + out.write("\n"); + out.write(" \n"); + out.write("
Shop IDUser IDShop OwnerTitleDescriptionOpen or CloseCommentList Order........
\n"); + out.write(" "); + int evalDoAfterBody = _jspx_th_c_if_6.doAfterBody(); + if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) + break; + } while (true); + } + if (_jspx_th_c_if_6.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { + _jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_6); + return true; + } + _jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_6); + return false; + } + + private boolean _jspx_meth_c_forEach_8(javax.servlet.jsp.tagext.JspTag _jspx_th_c_if_6, PageContext _jspx_page_context) + throws Throwable { + PageContext pageContext = _jspx_page_context; + JspWriter out = _jspx_page_context.getOut(); + // c:forEach + org.apache.taglibs.standard.tag.rt.core.ForEachTag _jspx_th_c_forEach_8 = (org.apache.taglibs.standard.tag.rt.core.ForEachTag) _jspx_tagPool_c_forEach_var_items.get(org.apache.taglibs.standard.tag.rt.core.ForEachTag.class); + _jspx_th_c_forEach_8.setPageContext(_jspx_page_context); + _jspx_th_c_forEach_8.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_if_6); + _jspx_th_c_forEach_8.setVar("x"); + _jspx_th_c_forEach_8.setItems((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${SearchShopOther}", java.lang.Object.class, (PageContext)_jspx_page_context, null)); + int[] _jspx_push_body_count_c_forEach_8 = new int[] { 0 }; + try { + int _jspx_eval_c_forEach_8 = _jspx_th_c_forEach_8.doStartTag(); + if (_jspx_eval_c_forEach_8 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { + do { + out.write("\n"); + out.write(" "); + if (_jspx_meth_c_url_4((javax.servlet.jsp.tagext.JspTag) _jspx_th_c_forEach_8, _jspx_page_context, _jspx_push_body_count_c_forEach_8)) + return true; + out.write("\n"); + out.write(" \n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.shopID}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.userID}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.shopOwner}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.title}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.description}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" \n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.comment}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.listOrder}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" "); + int evalDoAfterBody = _jspx_th_c_forEach_8.doAfterBody(); + if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) + break; + } while (true); + } + if (_jspx_th_c_forEach_8.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { + return true; + } + } catch (Throwable _jspx_exception) { + while (_jspx_push_body_count_c_forEach_8[0]-- > 0) + out = _jspx_page_context.popBody(); + _jspx_th_c_forEach_8.doCatch(_jspx_exception); + } finally { + _jspx_th_c_forEach_8.doFinally(); + _jspx_tagPool_c_forEach_var_items.reuse(_jspx_th_c_forEach_8); + } + return false; + } + + private boolean _jspx_meth_c_url_4(javax.servlet.jsp.tagext.JspTag _jspx_th_c_forEach_8, PageContext _jspx_page_context, int[] _jspx_push_body_count_c_forEach_8) + throws Throwable { + PageContext pageContext = _jspx_page_context; + JspWriter out = _jspx_page_context.getOut(); + // c:url + org.apache.taglibs.standard.tag.rt.core.UrlTag _jspx_th_c_url_4 = (org.apache.taglibs.standard.tag.rt.core.UrlTag) _jspx_tagPool_c_url_var_value.get(org.apache.taglibs.standard.tag.rt.core.UrlTag.class); + _jspx_th_c_url_4.setPageContext(_jspx_page_context); + _jspx_th_c_url_4.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_forEach_8); + _jspx_th_c_url_4.setVar("product"); + _jspx_th_c_url_4.setValue("/Dashboard/ProductInShop"); + int _jspx_eval_c_url_4 = _jspx_th_c_url_4.doStartTag(); + if (_jspx_eval_c_url_4 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { + if (_jspx_eval_c_url_4 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) { + out = _jspx_page_context.pushBody(); + _jspx_push_body_count_c_forEach_8[0]++; + _jspx_th_c_url_4.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out); + _jspx_th_c_url_4.doInitBody(); + } + do { + out.write("\n"); + out.write(" "); + if (_jspx_meth_c_param_4((javax.servlet.jsp.tagext.JspTag) _jspx_th_c_url_4, _jspx_page_context, _jspx_push_body_count_c_forEach_8)) + return true; + out.write("\n"); + out.write(" "); + int evalDoAfterBody = _jspx_th_c_url_4.doAfterBody(); + if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) + break; + } while (true); + if (_jspx_eval_c_url_4 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) + out = _jspx_page_context.popBody(); + _jspx_push_body_count_c_forEach_8[0]--; + } + if (_jspx_th_c_url_4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { + _jspx_tagPool_c_url_var_value.reuse(_jspx_th_c_url_4); + return true; + } + _jspx_tagPool_c_url_var_value.reuse(_jspx_th_c_url_4); + return false; + } + + private boolean _jspx_meth_c_param_4(javax.servlet.jsp.tagext.JspTag _jspx_th_c_url_4, PageContext _jspx_page_context, int[] _jspx_push_body_count_c_forEach_8) + throws Throwable { + PageContext pageContext = _jspx_page_context; + JspWriter out = _jspx_page_context.getOut(); + // c:param + org.apache.taglibs.standard.tag.rt.core.ParamTag _jspx_th_c_param_4 = (org.apache.taglibs.standard.tag.rt.core.ParamTag) _jspx_tagPool_c_param_value_name_nobody.get(org.apache.taglibs.standard.tag.rt.core.ParamTag.class); + _jspx_th_c_param_4.setPageContext(_jspx_page_context); + _jspx_th_c_param_4.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_url_4); + _jspx_th_c_param_4.setName("shopID"); + _jspx_th_c_param_4.setValue((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.shopID}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + int _jspx_eval_c_param_4 = _jspx_th_c_param_4.doStartTag(); + if (_jspx_th_c_param_4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { + _jspx_tagPool_c_param_value_name_nobody.reuse(_jspx_th_c_param_4); + return true; + } + _jspx_tagPool_c_param_value_name_nobody.reuse(_jspx_th_c_param_4); + return false; + } + + private boolean _jspx_meth_c_forEach_9(PageContext _jspx_page_context) + throws Throwable { + PageContext pageContext = _jspx_page_context; + JspWriter out = _jspx_page_context.getOut(); + // c:forEach + org.apache.taglibs.standard.tag.rt.core.ForEachTag _jspx_th_c_forEach_9 = (org.apache.taglibs.standard.tag.rt.core.ForEachTag) _jspx_tagPool_c_forEach_var_items.get(org.apache.taglibs.standard.tag.rt.core.ForEachTag.class); + _jspx_th_c_forEach_9.setPageContext(_jspx_page_context); + _jspx_th_c_forEach_9.setParent(null); + _jspx_th_c_forEach_9.setVar("x"); + _jspx_th_c_forEach_9.setItems((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${Products}", java.lang.Object.class, (PageContext)_jspx_page_context, null)); + int[] _jspx_push_body_count_c_forEach_9 = new int[] { 0 }; + try { + int _jspx_eval_c_forEach_9 = _jspx_th_c_forEach_9.doStartTag(); + if (_jspx_eval_c_forEach_9 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { + do { + out.write("\n"); + out.write(" \n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.productID}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.name}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.image}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.price}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" "); + int evalDoAfterBody = _jspx_th_c_forEach_9.doAfterBody(); + if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) + break; + } while (true); + } + if (_jspx_th_c_forEach_9.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { + return true; + } + } catch (Throwable _jspx_exception) { + while (_jspx_push_body_count_c_forEach_9[0]-- > 0) + out = _jspx_page_context.popBody(); + _jspx_th_c_forEach_9.doCatch(_jspx_exception); + } finally { + _jspx_th_c_forEach_9.doFinally(); + _jspx_tagPool_c_forEach_var_items.reuse(_jspx_th_c_forEach_9); + } + return false; + } + + private boolean _jspx_meth_c_if_7(PageContext _jspx_page_context) + throws Throwable { + PageContext pageContext = _jspx_page_context; + JspWriter out = _jspx_page_context.getOut(); + // c:if + org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_if_7 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _jspx_tagPool_c_if_test.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class); + _jspx_th_c_if_7.setPageContext(_jspx_page_context); + _jspx_th_c_if_7.setParent(null); + _jspx_th_c_if_7.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${empty SearchProductID and empty SearchProductPrice and empty SearchProductOther or not empty back2}", java.lang.Boolean.class, (PageContext)_jspx_page_context, null)).booleanValue()); + int _jspx_eval_c_if_7 = _jspx_th_c_if_7.doStartTag(); + if (_jspx_eval_c_if_7 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { + do { + out.write("\n"); + out.write("

Cannot found, please search again !!!

\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" "); + if (_jspx_meth_c_forEach_10((javax.servlet.jsp.tagext.JspTag) _jspx_th_c_if_7, _jspx_page_context)) + return true; + out.write("\n"); + out.write(" \n"); + out.write("
Prodcut IDNameImagePrice....
\n"); + out.write(" "); + int evalDoAfterBody = _jspx_th_c_if_7.doAfterBody(); + if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) + break; + } while (true); + } + if (_jspx_th_c_if_7.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { + _jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_7); + return true; + } + _jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_7); + return false; + } + + private boolean _jspx_meth_c_forEach_10(javax.servlet.jsp.tagext.JspTag _jspx_th_c_if_7, PageContext _jspx_page_context) + throws Throwable { + PageContext pageContext = _jspx_page_context; + JspWriter out = _jspx_page_context.getOut(); + // c:forEach + org.apache.taglibs.standard.tag.rt.core.ForEachTag _jspx_th_c_forEach_10 = (org.apache.taglibs.standard.tag.rt.core.ForEachTag) _jspx_tagPool_c_forEach_var_items.get(org.apache.taglibs.standard.tag.rt.core.ForEachTag.class); + _jspx_th_c_forEach_10.setPageContext(_jspx_page_context); + _jspx_th_c_forEach_10.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_if_7); + _jspx_th_c_forEach_10.setVar("x"); + _jspx_th_c_forEach_10.setItems((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${Products}", java.lang.Object.class, (PageContext)_jspx_page_context, null)); + int[] _jspx_push_body_count_c_forEach_10 = new int[] { 0 }; + try { + int _jspx_eval_c_forEach_10 = _jspx_th_c_forEach_10.doStartTag(); + if (_jspx_eval_c_forEach_10 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { + do { + out.write("\n"); + out.write(" \n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.productID}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.name}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.image}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.price}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" "); + int evalDoAfterBody = _jspx_th_c_forEach_10.doAfterBody(); + if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) + break; + } while (true); + } + if (_jspx_th_c_forEach_10.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { + return true; + } + } catch (Throwable _jspx_exception) { + while (_jspx_push_body_count_c_forEach_10[0]-- > 0) + out = _jspx_page_context.popBody(); + _jspx_th_c_forEach_10.doCatch(_jspx_exception); + } finally { + _jspx_th_c_forEach_10.doFinally(); + _jspx_tagPool_c_forEach_var_items.reuse(_jspx_th_c_forEach_10); + } + return false; + } + + private boolean _jspx_meth_c_if_8(PageContext _jspx_page_context) + throws Throwable { + PageContext pageContext = _jspx_page_context; + JspWriter out = _jspx_page_context.getOut(); + // c:if + org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_if_8 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _jspx_tagPool_c_if_test.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class); + _jspx_th_c_if_8.setPageContext(_jspx_page_context); + _jspx_th_c_if_8.setParent(null); + _jspx_th_c_if_8.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${not empty SearchProductID}", java.lang.Boolean.class, (PageContext)_jspx_page_context, null)).booleanValue()); + int _jspx_eval_c_if_8 = _jspx_th_c_if_8.doStartTag(); + if (_jspx_eval_c_if_8 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { + do { + out.write("\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" "); + if (_jspx_meth_c_forEach_11((javax.servlet.jsp.tagext.JspTag) _jspx_th_c_if_8, _jspx_page_context)) + return true; + out.write("\n"); + out.write(" \n"); + out.write("
Prodcut IDNameImagePrice....
\n"); + out.write(" "); + int evalDoAfterBody = _jspx_th_c_if_8.doAfterBody(); + if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) + break; + } while (true); + } + if (_jspx_th_c_if_8.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { + _jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_8); + return true; + } + _jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_8); + return false; + } + + private boolean _jspx_meth_c_forEach_11(javax.servlet.jsp.tagext.JspTag _jspx_th_c_if_8, PageContext _jspx_page_context) + throws Throwable { + PageContext pageContext = _jspx_page_context; + JspWriter out = _jspx_page_context.getOut(); + // c:forEach + org.apache.taglibs.standard.tag.rt.core.ForEachTag _jspx_th_c_forEach_11 = (org.apache.taglibs.standard.tag.rt.core.ForEachTag) _jspx_tagPool_c_forEach_var_items.get(org.apache.taglibs.standard.tag.rt.core.ForEachTag.class); + _jspx_th_c_forEach_11.setPageContext(_jspx_page_context); + _jspx_th_c_forEach_11.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_if_8); + _jspx_th_c_forEach_11.setVar("x"); + _jspx_th_c_forEach_11.setItems((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${SearchProductID}", java.lang.Object.class, (PageContext)_jspx_page_context, null)); + int[] _jspx_push_body_count_c_forEach_11 = new int[] { 0 }; + try { + int _jspx_eval_c_forEach_11 = _jspx_th_c_forEach_11.doStartTag(); + if (_jspx_eval_c_forEach_11 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { + do { + out.write("\n"); + out.write(" \n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.productID}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.name}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.image}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.price}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" "); + int evalDoAfterBody = _jspx_th_c_forEach_11.doAfterBody(); + if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) + break; + } while (true); + } + if (_jspx_th_c_forEach_11.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { + return true; + } + } catch (Throwable _jspx_exception) { + while (_jspx_push_body_count_c_forEach_11[0]-- > 0) + out = _jspx_page_context.popBody(); + _jspx_th_c_forEach_11.doCatch(_jspx_exception); + } finally { + _jspx_th_c_forEach_11.doFinally(); + _jspx_tagPool_c_forEach_var_items.reuse(_jspx_th_c_forEach_11); + } + return false; + } + + private boolean _jspx_meth_c_if_9(PageContext _jspx_page_context) + throws Throwable { + PageContext pageContext = _jspx_page_context; + JspWriter out = _jspx_page_context.getOut(); + // c:if + org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_if_9 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _jspx_tagPool_c_if_test.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class); + _jspx_th_c_if_9.setPageContext(_jspx_page_context); + _jspx_th_c_if_9.setParent(null); + _jspx_th_c_if_9.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${not empty SearchProductPrice}", java.lang.Boolean.class, (PageContext)_jspx_page_context, null)).booleanValue()); + int _jspx_eval_c_if_9 = _jspx_th_c_if_9.doStartTag(); + if (_jspx_eval_c_if_9 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { + do { + out.write("\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" "); + if (_jspx_meth_c_forEach_12((javax.servlet.jsp.tagext.JspTag) _jspx_th_c_if_9, _jspx_page_context)) + return true; + out.write("\n"); + out.write(" \n"); + out.write("
Prodcut IDNameImagePrice....
\n"); + out.write(" "); + int evalDoAfterBody = _jspx_th_c_if_9.doAfterBody(); + if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) + break; + } while (true); + } + if (_jspx_th_c_if_9.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { + _jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_9); + return true; + } + _jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_9); + return false; + } + + private boolean _jspx_meth_c_forEach_12(javax.servlet.jsp.tagext.JspTag _jspx_th_c_if_9, PageContext _jspx_page_context) + throws Throwable { + PageContext pageContext = _jspx_page_context; + JspWriter out = _jspx_page_context.getOut(); + // c:forEach + org.apache.taglibs.standard.tag.rt.core.ForEachTag _jspx_th_c_forEach_12 = (org.apache.taglibs.standard.tag.rt.core.ForEachTag) _jspx_tagPool_c_forEach_var_items.get(org.apache.taglibs.standard.tag.rt.core.ForEachTag.class); + _jspx_th_c_forEach_12.setPageContext(_jspx_page_context); + _jspx_th_c_forEach_12.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_if_9); + _jspx_th_c_forEach_12.setVar("x"); + _jspx_th_c_forEach_12.setItems((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${SearchProductPrice}", java.lang.Object.class, (PageContext)_jspx_page_context, null)); + int[] _jspx_push_body_count_c_forEach_12 = new int[] { 0 }; + try { + int _jspx_eval_c_forEach_12 = _jspx_th_c_forEach_12.doStartTag(); + if (_jspx_eval_c_forEach_12 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { + do { + out.write("\n"); + out.write(" \n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.productID}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.name}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.image}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.price}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" "); + int evalDoAfterBody = _jspx_th_c_forEach_12.doAfterBody(); + if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) + break; + } while (true); + } + if (_jspx_th_c_forEach_12.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { + return true; + } + } catch (Throwable _jspx_exception) { + while (_jspx_push_body_count_c_forEach_12[0]-- > 0) + out = _jspx_page_context.popBody(); + _jspx_th_c_forEach_12.doCatch(_jspx_exception); + } finally { + _jspx_th_c_forEach_12.doFinally(); + _jspx_tagPool_c_forEach_var_items.reuse(_jspx_th_c_forEach_12); + } + return false; + } + + private boolean _jspx_meth_c_if_10(PageContext _jspx_page_context) + throws Throwable { + PageContext pageContext = _jspx_page_context; + JspWriter out = _jspx_page_context.getOut(); + // c:if + org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_if_10 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _jspx_tagPool_c_if_test.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class); + _jspx_th_c_if_10.setPageContext(_jspx_page_context); + _jspx_th_c_if_10.setParent(null); + _jspx_th_c_if_10.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${not empty SearchProductOther}", java.lang.Boolean.class, (PageContext)_jspx_page_context, null)).booleanValue()); + int _jspx_eval_c_if_10 = _jspx_th_c_if_10.doStartTag(); + if (_jspx_eval_c_if_10 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { + do { + out.write("\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" "); + if (_jspx_meth_c_forEach_13((javax.servlet.jsp.tagext.JspTag) _jspx_th_c_if_10, _jspx_page_context)) + return true; + out.write("\n"); + out.write(" \n"); + out.write("
Prodcut IDNameImagePrice....
\n"); + out.write(" "); + int evalDoAfterBody = _jspx_th_c_if_10.doAfterBody(); + if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) + break; + } while (true); + } + if (_jspx_th_c_if_10.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { + _jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_10); + return true; + } + _jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_10); + return false; + } + + private boolean _jspx_meth_c_forEach_13(javax.servlet.jsp.tagext.JspTag _jspx_th_c_if_10, PageContext _jspx_page_context) + throws Throwable { + PageContext pageContext = _jspx_page_context; + JspWriter out = _jspx_page_context.getOut(); + // c:forEach + org.apache.taglibs.standard.tag.rt.core.ForEachTag _jspx_th_c_forEach_13 = (org.apache.taglibs.standard.tag.rt.core.ForEachTag) _jspx_tagPool_c_forEach_var_items.get(org.apache.taglibs.standard.tag.rt.core.ForEachTag.class); + _jspx_th_c_forEach_13.setPageContext(_jspx_page_context); + _jspx_th_c_forEach_13.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_if_10); + _jspx_th_c_forEach_13.setVar("x"); + _jspx_th_c_forEach_13.setItems((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${SearchProductOther}", java.lang.Object.class, (PageContext)_jspx_page_context, null)); + int[] _jspx_push_body_count_c_forEach_13 = new int[] { 0 }; + try { + int _jspx_eval_c_forEach_13 = _jspx_th_c_forEach_13.doStartTag(); + if (_jspx_eval_c_forEach_13 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { + do { + out.write("\n"); + out.write(" \n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.productID}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.name}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.image}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.price}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" "); + int evalDoAfterBody = _jspx_th_c_forEach_13.doAfterBody(); + if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) + break; + } while (true); + } + if (_jspx_th_c_forEach_13.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { + return true; + } + } catch (Throwable _jspx_exception) { + while (_jspx_push_body_count_c_forEach_13[0]-- > 0) + out = _jspx_page_context.popBody(); + _jspx_th_c_forEach_13.doCatch(_jspx_exception); + } finally { + _jspx_th_c_forEach_13.doFinally(); + _jspx_tagPool_c_forEach_var_items.reuse(_jspx_th_c_forEach_13); + } + return false; + } + + private boolean _jspx_meth_c_forEach_14(PageContext _jspx_page_context) + throws Throwable { + PageContext pageContext = _jspx_page_context; + JspWriter out = _jspx_page_context.getOut(); + // c:forEach + org.apache.taglibs.standard.tag.rt.core.ForEachTag _jspx_th_c_forEach_14 = (org.apache.taglibs.standard.tag.rt.core.ForEachTag) _jspx_tagPool_c_forEach_var_items.get(org.apache.taglibs.standard.tag.rt.core.ForEachTag.class); + _jspx_th_c_forEach_14.setPageContext(_jspx_page_context); + _jspx_th_c_forEach_14.setParent(null); + _jspx_th_c_forEach_14.setVar("x"); + _jspx_th_c_forEach_14.setItems((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${Invoices}", java.lang.Object.class, (PageContext)_jspx_page_context, null)); + int[] _jspx_push_body_count_c_forEach_14 = new int[] { 0 }; + try { + int _jspx_eval_c_forEach_14 = _jspx_th_c_forEach_14.doStartTag(); + if (_jspx_eval_c_forEach_14 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { + do { + out.write("\n"); + out.write(" "); + if (_jspx_meth_c_url_5((javax.servlet.jsp.tagext.JspTag) _jspx_th_c_forEach_14, _jspx_page_context, _jspx_push_body_count_c_forEach_14)) + return true; + out.write("\n"); + out.write(" \n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.invoiceID}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.orderTime}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.userID}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.address}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.phoneNumber}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" \n"); + out.write("\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" "); + int evalDoAfterBody = _jspx_th_c_forEach_14.doAfterBody(); + if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) + break; + } while (true); + } + if (_jspx_th_c_forEach_14.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { + return true; + } + } catch (Throwable _jspx_exception) { + while (_jspx_push_body_count_c_forEach_14[0]-- > 0) + out = _jspx_page_context.popBody(); + _jspx_th_c_forEach_14.doCatch(_jspx_exception); + } finally { + _jspx_th_c_forEach_14.doFinally(); + _jspx_tagPool_c_forEach_var_items.reuse(_jspx_th_c_forEach_14); + } + return false; + } + + private boolean _jspx_meth_c_url_5(javax.servlet.jsp.tagext.JspTag _jspx_th_c_forEach_14, PageContext _jspx_page_context, int[] _jspx_push_body_count_c_forEach_14) + throws Throwable { + PageContext pageContext = _jspx_page_context; + JspWriter out = _jspx_page_context.getOut(); + // c:url + org.apache.taglibs.standard.tag.rt.core.UrlTag _jspx_th_c_url_5 = (org.apache.taglibs.standard.tag.rt.core.UrlTag) _jspx_tagPool_c_url_var_value.get(org.apache.taglibs.standard.tag.rt.core.UrlTag.class); + _jspx_th_c_url_5.setPageContext(_jspx_page_context); + _jspx_th_c_url_5.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_forEach_14); + _jspx_th_c_url_5.setVar("invoiceline"); + _jspx_th_c_url_5.setValue("/Dashboard/InvoiceLine"); + int _jspx_eval_c_url_5 = _jspx_th_c_url_5.doStartTag(); + if (_jspx_eval_c_url_5 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { + if (_jspx_eval_c_url_5 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) { + out = _jspx_page_context.pushBody(); + _jspx_push_body_count_c_forEach_14[0]++; + _jspx_th_c_url_5.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out); + _jspx_th_c_url_5.doInitBody(); + } + do { + out.write("\n"); + out.write(" "); + if (_jspx_meth_c_param_5((javax.servlet.jsp.tagext.JspTag) _jspx_th_c_url_5, _jspx_page_context, _jspx_push_body_count_c_forEach_14)) + return true; + out.write("\n"); + out.write(" "); + int evalDoAfterBody = _jspx_th_c_url_5.doAfterBody(); + if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) + break; + } while (true); + if (_jspx_eval_c_url_5 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) + out = _jspx_page_context.popBody(); + _jspx_push_body_count_c_forEach_14[0]--; + } + if (_jspx_th_c_url_5.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { + _jspx_tagPool_c_url_var_value.reuse(_jspx_th_c_url_5); + return true; + } + _jspx_tagPool_c_url_var_value.reuse(_jspx_th_c_url_5); + return false; + } + + private boolean _jspx_meth_c_param_5(javax.servlet.jsp.tagext.JspTag _jspx_th_c_url_5, PageContext _jspx_page_context, int[] _jspx_push_body_count_c_forEach_14) + throws Throwable { + PageContext pageContext = _jspx_page_context; + JspWriter out = _jspx_page_context.getOut(); + // c:param + org.apache.taglibs.standard.tag.rt.core.ParamTag _jspx_th_c_param_5 = (org.apache.taglibs.standard.tag.rt.core.ParamTag) _jspx_tagPool_c_param_value_name_nobody.get(org.apache.taglibs.standard.tag.rt.core.ParamTag.class); + _jspx_th_c_param_5.setPageContext(_jspx_page_context); + _jspx_th_c_param_5.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_url_5); + _jspx_th_c_param_5.setName("invoiceID"); + _jspx_th_c_param_5.setValue((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.invoiceID}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + int _jspx_eval_c_param_5 = _jspx_th_c_param_5.doStartTag(); + if (_jspx_th_c_param_5.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { + _jspx_tagPool_c_param_value_name_nobody.reuse(_jspx_th_c_param_5); + return true; + } + _jspx_tagPool_c_param_value_name_nobody.reuse(_jspx_th_c_param_5); + return false; + } + + private boolean _jspx_meth_c_if_11(PageContext _jspx_page_context) + throws Throwable { + PageContext pageContext = _jspx_page_context; + JspWriter out = _jspx_page_context.getOut(); + // c:if + org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_if_11 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _jspx_tagPool_c_if_test.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class); + _jspx_th_c_if_11.setPageContext(_jspx_page_context); + _jspx_th_c_if_11.setParent(null); + _jspx_th_c_if_11.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${empty SearchInvoiceID and empty SearchInvoiceUserID and empty SearchInvoiceOrderTime and empty SearchInvoiceOther or not empty back3}", java.lang.Boolean.class, (PageContext)_jspx_page_context, null)).booleanValue()); + int _jspx_eval_c_if_11 = _jspx_th_c_if_11.doStartTag(); + if (_jspx_eval_c_if_11 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { + do { + out.write("\n"); + out.write("

Cannot found, please search again !!!

\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" "); + if (_jspx_meth_c_forEach_15((javax.servlet.jsp.tagext.JspTag) _jspx_th_c_if_11, _jspx_page_context)) + return true; + out.write("\n"); + out.write(" \n"); + out.write("
Invoice IDOrder TimeUser IDAddressPhone NumberDetails
\n"); + out.write(" "); + int evalDoAfterBody = _jspx_th_c_if_11.doAfterBody(); + if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) + break; + } while (true); + } + if (_jspx_th_c_if_11.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { + _jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_11); + return true; + } + _jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_11); + return false; + } + + private boolean _jspx_meth_c_forEach_15(javax.servlet.jsp.tagext.JspTag _jspx_th_c_if_11, PageContext _jspx_page_context) + throws Throwable { + PageContext pageContext = _jspx_page_context; + JspWriter out = _jspx_page_context.getOut(); + // c:forEach + org.apache.taglibs.standard.tag.rt.core.ForEachTag _jspx_th_c_forEach_15 = (org.apache.taglibs.standard.tag.rt.core.ForEachTag) _jspx_tagPool_c_forEach_var_items.get(org.apache.taglibs.standard.tag.rt.core.ForEachTag.class); + _jspx_th_c_forEach_15.setPageContext(_jspx_page_context); + _jspx_th_c_forEach_15.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_if_11); + _jspx_th_c_forEach_15.setVar("x"); + _jspx_th_c_forEach_15.setItems((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${Invoices}", java.lang.Object.class, (PageContext)_jspx_page_context, null)); + int[] _jspx_push_body_count_c_forEach_15 = new int[] { 0 }; + try { + int _jspx_eval_c_forEach_15 = _jspx_th_c_forEach_15.doStartTag(); + if (_jspx_eval_c_forEach_15 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { + do { + out.write("\n"); + out.write(" "); + if (_jspx_meth_c_url_6((javax.servlet.jsp.tagext.JspTag) _jspx_th_c_forEach_15, _jspx_page_context, _jspx_push_body_count_c_forEach_15)) + return true; + out.write("\n"); + out.write(" \n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.invoiceID}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.orderTime}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.userID}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.address}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.phoneNumber}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" "); + int evalDoAfterBody = _jspx_th_c_forEach_15.doAfterBody(); + if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) + break; + } while (true); + } + if (_jspx_th_c_forEach_15.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { + return true; + } + } catch (Throwable _jspx_exception) { + while (_jspx_push_body_count_c_forEach_15[0]-- > 0) + out = _jspx_page_context.popBody(); + _jspx_th_c_forEach_15.doCatch(_jspx_exception); + } finally { + _jspx_th_c_forEach_15.doFinally(); + _jspx_tagPool_c_forEach_var_items.reuse(_jspx_th_c_forEach_15); + } + return false; + } + + private boolean _jspx_meth_c_url_6(javax.servlet.jsp.tagext.JspTag _jspx_th_c_forEach_15, PageContext _jspx_page_context, int[] _jspx_push_body_count_c_forEach_15) + throws Throwable { + PageContext pageContext = _jspx_page_context; + JspWriter out = _jspx_page_context.getOut(); + // c:url + org.apache.taglibs.standard.tag.rt.core.UrlTag _jspx_th_c_url_6 = (org.apache.taglibs.standard.tag.rt.core.UrlTag) _jspx_tagPool_c_url_var_value.get(org.apache.taglibs.standard.tag.rt.core.UrlTag.class); + _jspx_th_c_url_6.setPageContext(_jspx_page_context); + _jspx_th_c_url_6.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_forEach_15); + _jspx_th_c_url_6.setVar("invoiceline"); + _jspx_th_c_url_6.setValue("/Dashboard/InvoiceLine"); + int _jspx_eval_c_url_6 = _jspx_th_c_url_6.doStartTag(); + if (_jspx_eval_c_url_6 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { + if (_jspx_eval_c_url_6 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) { + out = _jspx_page_context.pushBody(); + _jspx_push_body_count_c_forEach_15[0]++; + _jspx_th_c_url_6.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out); + _jspx_th_c_url_6.doInitBody(); + } + do { + out.write("\n"); + out.write(" "); + if (_jspx_meth_c_param_6((javax.servlet.jsp.tagext.JspTag) _jspx_th_c_url_6, _jspx_page_context, _jspx_push_body_count_c_forEach_15)) + return true; + out.write("\n"); + out.write(" "); + int evalDoAfterBody = _jspx_th_c_url_6.doAfterBody(); + if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) + break; + } while (true); + if (_jspx_eval_c_url_6 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) + out = _jspx_page_context.popBody(); + _jspx_push_body_count_c_forEach_15[0]--; + } + if (_jspx_th_c_url_6.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { + _jspx_tagPool_c_url_var_value.reuse(_jspx_th_c_url_6); + return true; + } + _jspx_tagPool_c_url_var_value.reuse(_jspx_th_c_url_6); + return false; + } + + private boolean _jspx_meth_c_param_6(javax.servlet.jsp.tagext.JspTag _jspx_th_c_url_6, PageContext _jspx_page_context, int[] _jspx_push_body_count_c_forEach_15) + throws Throwable { + PageContext pageContext = _jspx_page_context; + JspWriter out = _jspx_page_context.getOut(); + // c:param + org.apache.taglibs.standard.tag.rt.core.ParamTag _jspx_th_c_param_6 = (org.apache.taglibs.standard.tag.rt.core.ParamTag) _jspx_tagPool_c_param_value_name_nobody.get(org.apache.taglibs.standard.tag.rt.core.ParamTag.class); + _jspx_th_c_param_6.setPageContext(_jspx_page_context); + _jspx_th_c_param_6.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_url_6); + _jspx_th_c_param_6.setName("invoiceID"); + _jspx_th_c_param_6.setValue((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.invoiceID}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + int _jspx_eval_c_param_6 = _jspx_th_c_param_6.doStartTag(); + if (_jspx_th_c_param_6.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { + _jspx_tagPool_c_param_value_name_nobody.reuse(_jspx_th_c_param_6); + return true; + } + _jspx_tagPool_c_param_value_name_nobody.reuse(_jspx_th_c_param_6); + return false; + } + + private boolean _jspx_meth_c_if_12(PageContext _jspx_page_context) + throws Throwable { + PageContext pageContext = _jspx_page_context; + JspWriter out = _jspx_page_context.getOut(); + // c:if + org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_if_12 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _jspx_tagPool_c_if_test.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class); + _jspx_th_c_if_12.setPageContext(_jspx_page_context); + _jspx_th_c_if_12.setParent(null); + _jspx_th_c_if_12.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${not empty SearchInvoiceID}", java.lang.Boolean.class, (PageContext)_jspx_page_context, null)).booleanValue()); + int _jspx_eval_c_if_12 = _jspx_th_c_if_12.doStartTag(); + if (_jspx_eval_c_if_12 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { + do { + out.write("\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" "); + if (_jspx_meth_c_forEach_16((javax.servlet.jsp.tagext.JspTag) _jspx_th_c_if_12, _jspx_page_context)) + return true; + out.write("\n"); + out.write(" \n"); + out.write("
Invoice IDOrder TimeUser IDAddressPhone NumberDetails
\n"); + out.write(" "); + int evalDoAfterBody = _jspx_th_c_if_12.doAfterBody(); + if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) + break; + } while (true); + } + if (_jspx_th_c_if_12.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { + _jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_12); + return true; + } + _jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_12); + return false; + } + + private boolean _jspx_meth_c_forEach_16(javax.servlet.jsp.tagext.JspTag _jspx_th_c_if_12, PageContext _jspx_page_context) + throws Throwable { + PageContext pageContext = _jspx_page_context; + JspWriter out = _jspx_page_context.getOut(); + // c:forEach + org.apache.taglibs.standard.tag.rt.core.ForEachTag _jspx_th_c_forEach_16 = (org.apache.taglibs.standard.tag.rt.core.ForEachTag) _jspx_tagPool_c_forEach_var_items.get(org.apache.taglibs.standard.tag.rt.core.ForEachTag.class); + _jspx_th_c_forEach_16.setPageContext(_jspx_page_context); + _jspx_th_c_forEach_16.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_if_12); + _jspx_th_c_forEach_16.setVar("x"); + _jspx_th_c_forEach_16.setItems((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${SearchInvoiceID}", java.lang.Object.class, (PageContext)_jspx_page_context, null)); + int[] _jspx_push_body_count_c_forEach_16 = new int[] { 0 }; + try { + int _jspx_eval_c_forEach_16 = _jspx_th_c_forEach_16.doStartTag(); + if (_jspx_eval_c_forEach_16 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { + do { + out.write("\n"); + out.write(" "); + if (_jspx_meth_c_url_7((javax.servlet.jsp.tagext.JspTag) _jspx_th_c_forEach_16, _jspx_page_context, _jspx_push_body_count_c_forEach_16)) + return true; + out.write("\n"); + out.write(" \n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.invoiceID}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.orderTime}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.userID}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.address}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.phoneNumber}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" "); + int evalDoAfterBody = _jspx_th_c_forEach_16.doAfterBody(); + if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) + break; + } while (true); + } + if (_jspx_th_c_forEach_16.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { + return true; + } + } catch (Throwable _jspx_exception) { + while (_jspx_push_body_count_c_forEach_16[0]-- > 0) + out = _jspx_page_context.popBody(); + _jspx_th_c_forEach_16.doCatch(_jspx_exception); + } finally { + _jspx_th_c_forEach_16.doFinally(); + _jspx_tagPool_c_forEach_var_items.reuse(_jspx_th_c_forEach_16); + } + return false; + } + + private boolean _jspx_meth_c_url_7(javax.servlet.jsp.tagext.JspTag _jspx_th_c_forEach_16, PageContext _jspx_page_context, int[] _jspx_push_body_count_c_forEach_16) + throws Throwable { + PageContext pageContext = _jspx_page_context; + JspWriter out = _jspx_page_context.getOut(); + // c:url + org.apache.taglibs.standard.tag.rt.core.UrlTag _jspx_th_c_url_7 = (org.apache.taglibs.standard.tag.rt.core.UrlTag) _jspx_tagPool_c_url_var_value.get(org.apache.taglibs.standard.tag.rt.core.UrlTag.class); + _jspx_th_c_url_7.setPageContext(_jspx_page_context); + _jspx_th_c_url_7.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_forEach_16); + _jspx_th_c_url_7.setVar("invoiceline"); + _jspx_th_c_url_7.setValue("/Dashboard/InvoiceLine"); + int _jspx_eval_c_url_7 = _jspx_th_c_url_7.doStartTag(); + if (_jspx_eval_c_url_7 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { + if (_jspx_eval_c_url_7 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) { + out = _jspx_page_context.pushBody(); + _jspx_push_body_count_c_forEach_16[0]++; + _jspx_th_c_url_7.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out); + _jspx_th_c_url_7.doInitBody(); + } + do { + out.write("\n"); + out.write(" "); + if (_jspx_meth_c_param_7((javax.servlet.jsp.tagext.JspTag) _jspx_th_c_url_7, _jspx_page_context, _jspx_push_body_count_c_forEach_16)) + return true; + out.write("\n"); + out.write(" "); + int evalDoAfterBody = _jspx_th_c_url_7.doAfterBody(); + if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) + break; + } while (true); + if (_jspx_eval_c_url_7 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) + out = _jspx_page_context.popBody(); + _jspx_push_body_count_c_forEach_16[0]--; + } + if (_jspx_th_c_url_7.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { + _jspx_tagPool_c_url_var_value.reuse(_jspx_th_c_url_7); + return true; + } + _jspx_tagPool_c_url_var_value.reuse(_jspx_th_c_url_7); + return false; + } + + private boolean _jspx_meth_c_param_7(javax.servlet.jsp.tagext.JspTag _jspx_th_c_url_7, PageContext _jspx_page_context, int[] _jspx_push_body_count_c_forEach_16) + throws Throwable { + PageContext pageContext = _jspx_page_context; + JspWriter out = _jspx_page_context.getOut(); + // c:param + org.apache.taglibs.standard.tag.rt.core.ParamTag _jspx_th_c_param_7 = (org.apache.taglibs.standard.tag.rt.core.ParamTag) _jspx_tagPool_c_param_value_name_nobody.get(org.apache.taglibs.standard.tag.rt.core.ParamTag.class); + _jspx_th_c_param_7.setPageContext(_jspx_page_context); + _jspx_th_c_param_7.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_url_7); + _jspx_th_c_param_7.setName("invoiceID"); + _jspx_th_c_param_7.setValue((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.invoiceID}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + int _jspx_eval_c_param_7 = _jspx_th_c_param_7.doStartTag(); + if (_jspx_th_c_param_7.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { + _jspx_tagPool_c_param_value_name_nobody.reuse(_jspx_th_c_param_7); + return true; + } + _jspx_tagPool_c_param_value_name_nobody.reuse(_jspx_th_c_param_7); + return false; + } + + private boolean _jspx_meth_c_if_13(PageContext _jspx_page_context) + throws Throwable { + PageContext pageContext = _jspx_page_context; + JspWriter out = _jspx_page_context.getOut(); + // c:if + org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_if_13 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _jspx_tagPool_c_if_test.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class); + _jspx_th_c_if_13.setPageContext(_jspx_page_context); + _jspx_th_c_if_13.setParent(null); + _jspx_th_c_if_13.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${not empty SearchInvoiceUserID}", java.lang.Boolean.class, (PageContext)_jspx_page_context, null)).booleanValue()); + int _jspx_eval_c_if_13 = _jspx_th_c_if_13.doStartTag(); + if (_jspx_eval_c_if_13 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { + do { + out.write("\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" "); + if (_jspx_meth_c_forEach_17((javax.servlet.jsp.tagext.JspTag) _jspx_th_c_if_13, _jspx_page_context)) + return true; + out.write("\n"); + out.write(" \n"); + out.write("
Invoice IDOrder TimeUser IDAddressPhone NumberDetails
\n"); + out.write(" "); + int evalDoAfterBody = _jspx_th_c_if_13.doAfterBody(); + if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) + break; + } while (true); + } + if (_jspx_th_c_if_13.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { + _jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_13); + return true; + } + _jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_13); + return false; + } + + private boolean _jspx_meth_c_forEach_17(javax.servlet.jsp.tagext.JspTag _jspx_th_c_if_13, PageContext _jspx_page_context) + throws Throwable { + PageContext pageContext = _jspx_page_context; + JspWriter out = _jspx_page_context.getOut(); + // c:forEach + org.apache.taglibs.standard.tag.rt.core.ForEachTag _jspx_th_c_forEach_17 = (org.apache.taglibs.standard.tag.rt.core.ForEachTag) _jspx_tagPool_c_forEach_var_items.get(org.apache.taglibs.standard.tag.rt.core.ForEachTag.class); + _jspx_th_c_forEach_17.setPageContext(_jspx_page_context); + _jspx_th_c_forEach_17.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_if_13); + _jspx_th_c_forEach_17.setVar("x"); + _jspx_th_c_forEach_17.setItems((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${SearchInvoiceUserID}", java.lang.Object.class, (PageContext)_jspx_page_context, null)); + int[] _jspx_push_body_count_c_forEach_17 = new int[] { 0 }; + try { + int _jspx_eval_c_forEach_17 = _jspx_th_c_forEach_17.doStartTag(); + if (_jspx_eval_c_forEach_17 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { + do { + out.write("\n"); + out.write(" "); + if (_jspx_meth_c_url_8((javax.servlet.jsp.tagext.JspTag) _jspx_th_c_forEach_17, _jspx_page_context, _jspx_push_body_count_c_forEach_17)) + return true; + out.write("\n"); + out.write(" \n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.invoiceID}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.orderTime}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.userID}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.address}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.phoneNumber}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" "); + int evalDoAfterBody = _jspx_th_c_forEach_17.doAfterBody(); + if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) + break; + } while (true); + } + if (_jspx_th_c_forEach_17.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { + return true; + } + } catch (Throwable _jspx_exception) { + while (_jspx_push_body_count_c_forEach_17[0]-- > 0) + out = _jspx_page_context.popBody(); + _jspx_th_c_forEach_17.doCatch(_jspx_exception); + } finally { + _jspx_th_c_forEach_17.doFinally(); + _jspx_tagPool_c_forEach_var_items.reuse(_jspx_th_c_forEach_17); + } + return false; + } + + private boolean _jspx_meth_c_url_8(javax.servlet.jsp.tagext.JspTag _jspx_th_c_forEach_17, PageContext _jspx_page_context, int[] _jspx_push_body_count_c_forEach_17) + throws Throwable { + PageContext pageContext = _jspx_page_context; + JspWriter out = _jspx_page_context.getOut(); + // c:url + org.apache.taglibs.standard.tag.rt.core.UrlTag _jspx_th_c_url_8 = (org.apache.taglibs.standard.tag.rt.core.UrlTag) _jspx_tagPool_c_url_var_value.get(org.apache.taglibs.standard.tag.rt.core.UrlTag.class); + _jspx_th_c_url_8.setPageContext(_jspx_page_context); + _jspx_th_c_url_8.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_forEach_17); + _jspx_th_c_url_8.setVar("invoiceline"); + _jspx_th_c_url_8.setValue("/Dashboard/InvoiceLine"); + int _jspx_eval_c_url_8 = _jspx_th_c_url_8.doStartTag(); + if (_jspx_eval_c_url_8 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { + if (_jspx_eval_c_url_8 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) { + out = _jspx_page_context.pushBody(); + _jspx_push_body_count_c_forEach_17[0]++; + _jspx_th_c_url_8.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out); + _jspx_th_c_url_8.doInitBody(); + } + do { + out.write("\n"); + out.write(" "); + if (_jspx_meth_c_param_8((javax.servlet.jsp.tagext.JspTag) _jspx_th_c_url_8, _jspx_page_context, _jspx_push_body_count_c_forEach_17)) + return true; + out.write("\n"); + out.write(" "); + int evalDoAfterBody = _jspx_th_c_url_8.doAfterBody(); + if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) + break; + } while (true); + if (_jspx_eval_c_url_8 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) + out = _jspx_page_context.popBody(); + _jspx_push_body_count_c_forEach_17[0]--; + } + if (_jspx_th_c_url_8.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { + _jspx_tagPool_c_url_var_value.reuse(_jspx_th_c_url_8); + return true; + } + _jspx_tagPool_c_url_var_value.reuse(_jspx_th_c_url_8); + return false; + } + + private boolean _jspx_meth_c_param_8(javax.servlet.jsp.tagext.JspTag _jspx_th_c_url_8, PageContext _jspx_page_context, int[] _jspx_push_body_count_c_forEach_17) + throws Throwable { + PageContext pageContext = _jspx_page_context; + JspWriter out = _jspx_page_context.getOut(); + // c:param + org.apache.taglibs.standard.tag.rt.core.ParamTag _jspx_th_c_param_8 = (org.apache.taglibs.standard.tag.rt.core.ParamTag) _jspx_tagPool_c_param_value_name_nobody.get(org.apache.taglibs.standard.tag.rt.core.ParamTag.class); + _jspx_th_c_param_8.setPageContext(_jspx_page_context); + _jspx_th_c_param_8.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_url_8); + _jspx_th_c_param_8.setName("invoiceID"); + _jspx_th_c_param_8.setValue((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.invoiceID}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + int _jspx_eval_c_param_8 = _jspx_th_c_param_8.doStartTag(); + if (_jspx_th_c_param_8.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { + _jspx_tagPool_c_param_value_name_nobody.reuse(_jspx_th_c_param_8); + return true; + } + _jspx_tagPool_c_param_value_name_nobody.reuse(_jspx_th_c_param_8); + return false; + } + + private boolean _jspx_meth_c_if_14(PageContext _jspx_page_context) + throws Throwable { + PageContext pageContext = _jspx_page_context; + JspWriter out = _jspx_page_context.getOut(); + // c:if + org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_if_14 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _jspx_tagPool_c_if_test.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class); + _jspx_th_c_if_14.setPageContext(_jspx_page_context); + _jspx_th_c_if_14.setParent(null); + _jspx_th_c_if_14.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${not empty SearchInvoiceOrderTime}", java.lang.Boolean.class, (PageContext)_jspx_page_context, null)).booleanValue()); + int _jspx_eval_c_if_14 = _jspx_th_c_if_14.doStartTag(); + if (_jspx_eval_c_if_14 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { + do { + out.write("\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" "); + if (_jspx_meth_c_forEach_18((javax.servlet.jsp.tagext.JspTag) _jspx_th_c_if_14, _jspx_page_context)) + return true; + out.write("\n"); + out.write(" \n"); + out.write("
Invoice IDOrder TimeUser IDAddressPhone NumberDetails
\n"); + out.write(" "); + int evalDoAfterBody = _jspx_th_c_if_14.doAfterBody(); + if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) + break; + } while (true); + } + if (_jspx_th_c_if_14.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { + _jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_14); + return true; + } + _jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_14); + return false; + } + + private boolean _jspx_meth_c_forEach_18(javax.servlet.jsp.tagext.JspTag _jspx_th_c_if_14, PageContext _jspx_page_context) + throws Throwable { + PageContext pageContext = _jspx_page_context; + JspWriter out = _jspx_page_context.getOut(); + // c:forEach + org.apache.taglibs.standard.tag.rt.core.ForEachTag _jspx_th_c_forEach_18 = (org.apache.taglibs.standard.tag.rt.core.ForEachTag) _jspx_tagPool_c_forEach_var_items.get(org.apache.taglibs.standard.tag.rt.core.ForEachTag.class); + _jspx_th_c_forEach_18.setPageContext(_jspx_page_context); + _jspx_th_c_forEach_18.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_if_14); + _jspx_th_c_forEach_18.setVar("x"); + _jspx_th_c_forEach_18.setItems((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${SearchInvoiceOrderTime}", java.lang.Object.class, (PageContext)_jspx_page_context, null)); + int[] _jspx_push_body_count_c_forEach_18 = new int[] { 0 }; + try { + int _jspx_eval_c_forEach_18 = _jspx_th_c_forEach_18.doStartTag(); + if (_jspx_eval_c_forEach_18 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { + do { + out.write("\n"); + out.write(" "); + if (_jspx_meth_c_url_9((javax.servlet.jsp.tagext.JspTag) _jspx_th_c_forEach_18, _jspx_page_context, _jspx_push_body_count_c_forEach_18)) + return true; + out.write("\n"); + out.write(" \n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.invoiceID}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.orderTime}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.userID}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.address}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.phoneNumber}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" "); + int evalDoAfterBody = _jspx_th_c_forEach_18.doAfterBody(); + if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) + break; + } while (true); + } + if (_jspx_th_c_forEach_18.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { + return true; + } + } catch (Throwable _jspx_exception) { + while (_jspx_push_body_count_c_forEach_18[0]-- > 0) + out = _jspx_page_context.popBody(); + _jspx_th_c_forEach_18.doCatch(_jspx_exception); + } finally { + _jspx_th_c_forEach_18.doFinally(); + _jspx_tagPool_c_forEach_var_items.reuse(_jspx_th_c_forEach_18); + } + return false; + } + + private boolean _jspx_meth_c_url_9(javax.servlet.jsp.tagext.JspTag _jspx_th_c_forEach_18, PageContext _jspx_page_context, int[] _jspx_push_body_count_c_forEach_18) + throws Throwable { + PageContext pageContext = _jspx_page_context; + JspWriter out = _jspx_page_context.getOut(); + // c:url + org.apache.taglibs.standard.tag.rt.core.UrlTag _jspx_th_c_url_9 = (org.apache.taglibs.standard.tag.rt.core.UrlTag) _jspx_tagPool_c_url_var_value.get(org.apache.taglibs.standard.tag.rt.core.UrlTag.class); + _jspx_th_c_url_9.setPageContext(_jspx_page_context); + _jspx_th_c_url_9.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_forEach_18); + _jspx_th_c_url_9.setVar("invoiceline"); + _jspx_th_c_url_9.setValue("/Dashboard/InvoiceLine"); + int _jspx_eval_c_url_9 = _jspx_th_c_url_9.doStartTag(); + if (_jspx_eval_c_url_9 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { + if (_jspx_eval_c_url_9 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) { + out = _jspx_page_context.pushBody(); + _jspx_push_body_count_c_forEach_18[0]++; + _jspx_th_c_url_9.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out); + _jspx_th_c_url_9.doInitBody(); + } + do { + out.write("\n"); + out.write(" "); + if (_jspx_meth_c_param_9((javax.servlet.jsp.tagext.JspTag) _jspx_th_c_url_9, _jspx_page_context, _jspx_push_body_count_c_forEach_18)) + return true; + out.write("\n"); + out.write(" "); + int evalDoAfterBody = _jspx_th_c_url_9.doAfterBody(); + if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) + break; + } while (true); + if (_jspx_eval_c_url_9 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) + out = _jspx_page_context.popBody(); + _jspx_push_body_count_c_forEach_18[0]--; + } + if (_jspx_th_c_url_9.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { + _jspx_tagPool_c_url_var_value.reuse(_jspx_th_c_url_9); + return true; + } + _jspx_tagPool_c_url_var_value.reuse(_jspx_th_c_url_9); + return false; + } + + private boolean _jspx_meth_c_param_9(javax.servlet.jsp.tagext.JspTag _jspx_th_c_url_9, PageContext _jspx_page_context, int[] _jspx_push_body_count_c_forEach_18) + throws Throwable { + PageContext pageContext = _jspx_page_context; + JspWriter out = _jspx_page_context.getOut(); + // c:param + org.apache.taglibs.standard.tag.rt.core.ParamTag _jspx_th_c_param_9 = (org.apache.taglibs.standard.tag.rt.core.ParamTag) _jspx_tagPool_c_param_value_name_nobody.get(org.apache.taglibs.standard.tag.rt.core.ParamTag.class); + _jspx_th_c_param_9.setPageContext(_jspx_page_context); + _jspx_th_c_param_9.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_url_9); + _jspx_th_c_param_9.setName("invoiceID"); + _jspx_th_c_param_9.setValue((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.invoiceID}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + int _jspx_eval_c_param_9 = _jspx_th_c_param_9.doStartTag(); + if (_jspx_th_c_param_9.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { + _jspx_tagPool_c_param_value_name_nobody.reuse(_jspx_th_c_param_9); + return true; + } + _jspx_tagPool_c_param_value_name_nobody.reuse(_jspx_th_c_param_9); + return false; + } + + private boolean _jspx_meth_c_if_15(PageContext _jspx_page_context) + throws Throwable { + PageContext pageContext = _jspx_page_context; + JspWriter out = _jspx_page_context.getOut(); + // c:if + org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_if_15 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _jspx_tagPool_c_if_test.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class); + _jspx_th_c_if_15.setPageContext(_jspx_page_context); + _jspx_th_c_if_15.setParent(null); + _jspx_th_c_if_15.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${not empty SearchInvoiceOther}", java.lang.Boolean.class, (PageContext)_jspx_page_context, null)).booleanValue()); + int _jspx_eval_c_if_15 = _jspx_th_c_if_15.doStartTag(); + if (_jspx_eval_c_if_15 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { + do { + out.write("\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" "); + if (_jspx_meth_c_forEach_19((javax.servlet.jsp.tagext.JspTag) _jspx_th_c_if_15, _jspx_page_context)) + return true; + out.write("\n"); + out.write(" \n"); + out.write("
Invoice IDOrder TimeUser IDAddressPhone NumberDetails
\n"); + out.write(" "); + int evalDoAfterBody = _jspx_th_c_if_15.doAfterBody(); + if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) + break; + } while (true); + } + if (_jspx_th_c_if_15.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { + _jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_15); + return true; + } + _jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_15); + return false; + } + + private boolean _jspx_meth_c_forEach_19(javax.servlet.jsp.tagext.JspTag _jspx_th_c_if_15, PageContext _jspx_page_context) + throws Throwable { + PageContext pageContext = _jspx_page_context; + JspWriter out = _jspx_page_context.getOut(); + // c:forEach + org.apache.taglibs.standard.tag.rt.core.ForEachTag _jspx_th_c_forEach_19 = (org.apache.taglibs.standard.tag.rt.core.ForEachTag) _jspx_tagPool_c_forEach_var_items.get(org.apache.taglibs.standard.tag.rt.core.ForEachTag.class); + _jspx_th_c_forEach_19.setPageContext(_jspx_page_context); + _jspx_th_c_forEach_19.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_if_15); + _jspx_th_c_forEach_19.setVar("x"); + _jspx_th_c_forEach_19.setItems((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${SearchInvoiceOther}", java.lang.Object.class, (PageContext)_jspx_page_context, null)); + int[] _jspx_push_body_count_c_forEach_19 = new int[] { 0 }; + try { + int _jspx_eval_c_forEach_19 = _jspx_th_c_forEach_19.doStartTag(); + if (_jspx_eval_c_forEach_19 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { + do { + out.write("\n"); + out.write(" "); + if (_jspx_meth_c_url_10((javax.servlet.jsp.tagext.JspTag) _jspx_th_c_forEach_19, _jspx_page_context, _jspx_push_body_count_c_forEach_19)) + return true; + out.write("\n"); + out.write(" \n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.invoiceID}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.orderTime}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.userID}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.address}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.phoneNumber}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" "); + int evalDoAfterBody = _jspx_th_c_forEach_19.doAfterBody(); + if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) + break; + } while (true); + } + if (_jspx_th_c_forEach_19.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { + return true; + } + } catch (Throwable _jspx_exception) { + while (_jspx_push_body_count_c_forEach_19[0]-- > 0) + out = _jspx_page_context.popBody(); + _jspx_th_c_forEach_19.doCatch(_jspx_exception); + } finally { + _jspx_th_c_forEach_19.doFinally(); + _jspx_tagPool_c_forEach_var_items.reuse(_jspx_th_c_forEach_19); + } + return false; + } + + private boolean _jspx_meth_c_url_10(javax.servlet.jsp.tagext.JspTag _jspx_th_c_forEach_19, PageContext _jspx_page_context, int[] _jspx_push_body_count_c_forEach_19) + throws Throwable { + PageContext pageContext = _jspx_page_context; + JspWriter out = _jspx_page_context.getOut(); + // c:url + org.apache.taglibs.standard.tag.rt.core.UrlTag _jspx_th_c_url_10 = (org.apache.taglibs.standard.tag.rt.core.UrlTag) _jspx_tagPool_c_url_var_value.get(org.apache.taglibs.standard.tag.rt.core.UrlTag.class); + _jspx_th_c_url_10.setPageContext(_jspx_page_context); + _jspx_th_c_url_10.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_forEach_19); + _jspx_th_c_url_10.setVar("invoiceline"); + _jspx_th_c_url_10.setValue("/Dashboard/InvoiceLine"); + int _jspx_eval_c_url_10 = _jspx_th_c_url_10.doStartTag(); + if (_jspx_eval_c_url_10 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { + if (_jspx_eval_c_url_10 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) { + out = _jspx_page_context.pushBody(); + _jspx_push_body_count_c_forEach_19[0]++; + _jspx_th_c_url_10.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out); + _jspx_th_c_url_10.doInitBody(); + } + do { + out.write("\n"); + out.write(" "); + if (_jspx_meth_c_param_10((javax.servlet.jsp.tagext.JspTag) _jspx_th_c_url_10, _jspx_page_context, _jspx_push_body_count_c_forEach_19)) + return true; + out.write("\n"); + out.write(" "); + int evalDoAfterBody = _jspx_th_c_url_10.doAfterBody(); + if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) + break; + } while (true); + if (_jspx_eval_c_url_10 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) + out = _jspx_page_context.popBody(); + _jspx_push_body_count_c_forEach_19[0]--; + } + if (_jspx_th_c_url_10.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { + _jspx_tagPool_c_url_var_value.reuse(_jspx_th_c_url_10); + return true; + } + _jspx_tagPool_c_url_var_value.reuse(_jspx_th_c_url_10); + return false; + } + + private boolean _jspx_meth_c_param_10(javax.servlet.jsp.tagext.JspTag _jspx_th_c_url_10, PageContext _jspx_page_context, int[] _jspx_push_body_count_c_forEach_19) + throws Throwable { + PageContext pageContext = _jspx_page_context; + JspWriter out = _jspx_page_context.getOut(); + // c:param + org.apache.taglibs.standard.tag.rt.core.ParamTag _jspx_th_c_param_10 = (org.apache.taglibs.standard.tag.rt.core.ParamTag) _jspx_tagPool_c_param_value_name_nobody.get(org.apache.taglibs.standard.tag.rt.core.ParamTag.class); + _jspx_th_c_param_10.setPageContext(_jspx_page_context); + _jspx_th_c_param_10.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_url_10); + _jspx_th_c_param_10.setName("invoiceID"); + _jspx_th_c_param_10.setValue((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.invoiceID}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + int _jspx_eval_c_param_10 = _jspx_th_c_param_10.doStartTag(); + if (_jspx_th_c_param_10.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { + _jspx_tagPool_c_param_value_name_nobody.reuse(_jspx_th_c_param_10); + return true; + } + _jspx_tagPool_c_param_value_name_nobody.reuse(_jspx_th_c_param_10); + return false; + } + + private boolean _jspx_meth_c_forEach_20(PageContext _jspx_page_context) + throws Throwable { + PageContext pageContext = _jspx_page_context; + JspWriter out = _jspx_page_context.getOut(); + // c:forEach + org.apache.taglibs.standard.tag.rt.core.ForEachTag _jspx_th_c_forEach_20 = (org.apache.taglibs.standard.tag.rt.core.ForEachTag) _jspx_tagPool_c_forEach_var_items.get(org.apache.taglibs.standard.tag.rt.core.ForEachTag.class); + _jspx_th_c_forEach_20.setPageContext(_jspx_page_context); + _jspx_th_c_forEach_20.setParent(null); + _jspx_th_c_forEach_20.setVar("x"); + _jspx_th_c_forEach_20.setItems((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${invoice.invoice}", java.lang.Object.class, (PageContext)_jspx_page_context, null)); + int[] _jspx_push_body_count_c_forEach_20 = new int[] { 0 }; + try { + int _jspx_eval_c_forEach_20 = _jspx_th_c_forEach_20.doStartTag(); + if (_jspx_eval_c_forEach_20 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { + do { + out.write("\n"); + out.write(" \n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.invoiceID}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.productID}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.quatity}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.unitprice}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.note}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" \n"); + out.write(" "); + int evalDoAfterBody = _jspx_th_c_forEach_20.doAfterBody(); + if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) + break; + } while (true); + } + if (_jspx_th_c_forEach_20.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { + return true; + } + } catch (Throwable _jspx_exception) { + while (_jspx_push_body_count_c_forEach_20[0]-- > 0) + out = _jspx_page_context.popBody(); + _jspx_th_c_forEach_20.doCatch(_jspx_exception); + } finally { + _jspx_th_c_forEach_20.doFinally(); + _jspx_tagPool_c_forEach_var_items.reuse(_jspx_th_c_forEach_20); + } + return false; + } +} diff --git a/ProjectPRJ/build/generated/src/org/apache/jsp/container/admin/invoicelines_jsp.class.smap b/ProjectPRJ/build/generated/src/org/apache/jsp/container/admin/invoicelines_jsp.class.smap new file mode 100644 index 0000000..5c2a01d --- /dev/null +++ b/ProjectPRJ/build/generated/src/org/apache/jsp/container/admin/invoicelines_jsp.class.smap @@ -0,0 +1,14 @@ +SMAP +invoicelines_jsp.java +JSP +*S JSP +*F ++ 0 invoicelines.jsp +container/admin/invoicelines.jsp +*L +5,21:44 +26:65,3 +27:68 +28,5:69,3 +33,7:84 +*E diff --git a/ProjectPRJ/build/generated/src/org/apache/jsp/container/admin/invoicelines_jsp.java b/ProjectPRJ/build/generated/src/org/apache/jsp/container/admin/invoicelines_jsp.java new file mode 100644 index 0000000..e3cc31f --- /dev/null +++ b/ProjectPRJ/build/generated/src/org/apache/jsp/container/admin/invoicelines_jsp.java @@ -0,0 +1,102 @@ +package org.apache.jsp.container.admin; + +import javax.servlet.*; +import javax.servlet.http.*; +import javax.servlet.jsp.*; + +public final class invoicelines_jsp extends org.apache.jasper.runtime.HttpJspBase + implements org.apache.jasper.runtime.JspSourceDependent { + + private static final JspFactory _jspxFactory = JspFactory.getDefaultFactory(); + + private static java.util.List _jspx_dependants; + + private org.glassfish.jsp.api.ResourceInjector _jspx_resourceInjector; + + public java.util.List getDependants() { + return _jspx_dependants; + } + + public void _jspService(HttpServletRequest request, HttpServletResponse response) + throws java.io.IOException, ServletException { + + PageContext pageContext = null; + HttpSession session = null; + ServletContext application = null; + ServletConfig config = null; + JspWriter out = null; + Object page = this; + JspWriter _jspx_out = null; + PageContext _jspx_page_context = null; + + try { + response.setContentType("text/html;charset=UTF-8"); + pageContext = _jspxFactory.getPageContext(this, request, response, + null, true, 8192, true); + _jspx_page_context = pageContext; + application = pageContext.getServletContext(); + config = pageContext.getServletConfig(); + session = pageContext.getSession(); + out = pageContext.getOut(); + _jspx_out = out; + _jspx_resourceInjector = (org.glassfish.jsp.api.ResourceInjector) application.getAttribute("com.sun.appserv.jsp.resource.injector"); + + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" JSP Page\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write("
Invoice IDProduct IDQuatityUnit PriceNote
"); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.invoiceID}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write(""); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.productID}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write(""); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.quatity}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write(""); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.unitprice}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write(""); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.note}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("
\n"); + out.write("\n"); + out.write("\n"); + } catch (Throwable t) { + if (!(t instanceof SkipPageException)){ + out = _jspx_out; + if (out != null && out.getBufferSize() != 0) + out.clearBuffer(); + if (_jspx_page_context != null) _jspx_page_context.handlePageException(t); + else throw new ServletException(t); + } + } finally { + _jspxFactory.releasePageContext(_jspx_page_context); + } + } +} diff --git a/ProjectPRJ/build/generated/src/org/apache/jsp/container/admin/newjspasdas_jsp.class.smap b/ProjectPRJ/build/generated/src/org/apache/jsp/container/admin/newjspasdas_jsp.class.smap new file mode 100644 index 0000000..6fbb3df --- /dev/null +++ b/ProjectPRJ/build/generated/src/org/apache/jsp/container/admin/newjspasdas_jsp.class.smap @@ -0,0 +1,12 @@ +SMAP +newjspasdas_jsp.java +JSP +*S JSP +*F ++ 0 newjspasdas.jsp +container/admin/newjspasdas.jsp +*L +5,15:44 +20:59,3 +21,169:62 +*E diff --git a/ProjectPRJ/build/generated/src/org/apache/jsp/container/admin/newjspasdas_jsp.java b/ProjectPRJ/build/generated/src/org/apache/jsp/container/admin/newjspasdas_jsp.java new file mode 100644 index 0000000..93ea42e --- /dev/null +++ b/ProjectPRJ/build/generated/src/org/apache/jsp/container/admin/newjspasdas_jsp.java @@ -0,0 +1,242 @@ +package org.apache.jsp.container.admin; + +import javax.servlet.*; +import javax.servlet.http.*; +import javax.servlet.jsp.*; + +public final class newjspasdas_jsp extends org.apache.jasper.runtime.HttpJspBase + implements org.apache.jasper.runtime.JspSourceDependent { + + private static final JspFactory _jspxFactory = JspFactory.getDefaultFactory(); + + private static java.util.List _jspx_dependants; + + private org.glassfish.jsp.api.ResourceInjector _jspx_resourceInjector; + + public java.util.List getDependants() { + return _jspx_dependants; + } + + public void _jspService(HttpServletRequest request, HttpServletResponse response) + throws java.io.IOException, ServletException { + + PageContext pageContext = null; + HttpSession session = null; + ServletContext application = null; + ServletConfig config = null; + JspWriter out = null; + Object page = this; + JspWriter _jspx_out = null; + PageContext _jspx_page_context = null; + + try { + response.setContentType("text/html;charset=UTF-8"); + pageContext = _jspxFactory.getPageContext(this, request, response, + null, true, 8192, true); + _jspx_page_context = pageContext; + application = pageContext.getServletContext(); + config = pageContext.getServletConfig(); + session = pageContext.getSession(); + out = pageContext.getOut(); + _jspx_out = out; + _jspx_resourceInjector = (org.glassfish.jsp.api.ResourceInjector) application.getAttribute("com.sun.appserv.jsp.resource.injector"); + + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" Dashboard\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" "); + org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "../../components/navbar.jsp", out, false); + out.write("\n"); + out.write("
\n"); + out.write("

   Dashboard

\n"); + out.write("
\n"); + out.write("
\n"); + out.write("
\n"); + out.write("
\n"); + out.write(" Users\n"); + out.write(" Shops\n"); + out.write(" Products\n"); + out.write(" Invoice\n"); + out.write("
\n"); + out.write("
\n"); + out.write("
\n"); + out.write("
\n"); + out.write("
\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write("
#FirstLastHandle
1MarkOtto@mdo
2JacobThornton@fat
3Larrythe Bird@twitter
\n"); + out.write("\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write("
#FirstLastHandle
1MarkOtto@mdo
2JacobThornton@fat
3Larrythe Bird@twitter
\n"); + out.write("
\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write("
#FirstLastHandle
1MarkOtto@mdo
2JacobThornton@fat
3Larrythe Bird@twitter
\n"); + out.write("
\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write("
#FirstLastHandle
1MarkOtto@mdo
2JacobThornton@fat
3Larry the Bird@twitter
\n"); + out.write("
\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write("
#FirstLastHandle
1MarkOtto@mdo
2JacobThornton@fat
3Larry the Bird@twitter
\n"); + out.write("
\n"); + out.write("
\n"); + out.write("
\n"); + out.write(" \n"); + out.write("\n"); + } catch (Throwable t) { + if (!(t instanceof SkipPageException)){ + out = _jspx_out; + if (out != null && out.getBufferSize() != 0) + out.clearBuffer(); + if (_jspx_page_context != null) _jspx_page_context.handlePageException(t); + else throw new ServletException(t); + } + } finally { + _jspxFactory.releasePageContext(_jspx_page_context); + } + } +} diff --git a/ProjectPRJ/build/generated/src/org/apache/jsp/container/admin/productinshop_jsp.class.smap b/ProjectPRJ/build/generated/src/org/apache/jsp/container/admin/productinshop_jsp.class.smap new file mode 100644 index 0000000..f8d07db --- /dev/null +++ b/ProjectPRJ/build/generated/src/org/apache/jsp/container/admin/productinshop_jsp.class.smap @@ -0,0 +1,56 @@ +SMAP +productinshop_jsp.java +JSP +*S JSP +*F ++ 0 productinshop.jsp +container/admin/productinshop.jsp +*L +5,28:57 +33:85,3 +34:88 +35,4:89,3 +39,4:101 +43:105,3 +44:108 +45:109,3 +46,11:112 +56:171,11 +57:182 +58,4:183,3 +62,3:195 +64,4:125 +67:222,8 +68,2:230,3 +70,11:236 +80:271,11 +81:282 +82,4:283,3 +86,3:295 +88,4:249 +91,2:131 +92:322,8 +93,12:330 +104:366,11 +105:377 +106,4:378,3 +110,3:390 +112,4:344 +115,2:135 +116:417,8 +117,12:425 +128:461,11 +129:472 +130,4:473,3 +134,3:485 +136,4:439 +139,2:139 +140:512,8 +141,12:520 +152:556,11 +153:567 +154,4:568,3 +158,3:580 +160,4:534 +163,11:143 +*E diff --git a/ProjectPRJ/build/generated/src/org/apache/jsp/container/admin/productinshop_jsp.java b/ProjectPRJ/build/generated/src/org/apache/jsp/container/admin/productinshop_jsp.java new file mode 100644 index 0000000..4bb84da --- /dev/null +++ b/ProjectPRJ/build/generated/src/org/apache/jsp/container/admin/productinshop_jsp.java @@ -0,0 +1,601 @@ +package org.apache.jsp.container.admin; + +import javax.servlet.*; +import javax.servlet.http.*; +import javax.servlet.jsp.*; + +public final class productinshop_jsp extends org.apache.jasper.runtime.HttpJspBase + implements org.apache.jasper.runtime.JspSourceDependent { + + private static final JspFactory _jspxFactory = JspFactory.getDefaultFactory(); + + private static java.util.List _jspx_dependants; + + private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_forEach_var_items; + private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_if_test; + + private org.glassfish.jsp.api.ResourceInjector _jspx_resourceInjector; + + public java.util.List getDependants() { + return _jspx_dependants; + } + + public void _jspInit() { + _jspx_tagPool_c_forEach_var_items = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig()); + _jspx_tagPool_c_if_test = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig()); + } + + public void _jspDestroy() { + _jspx_tagPool_c_forEach_var_items.release(); + _jspx_tagPool_c_if_test.release(); + } + + public void _jspService(HttpServletRequest request, HttpServletResponse response) + throws java.io.IOException, ServletException { + + PageContext pageContext = null; + HttpSession session = null; + ServletContext application = null; + ServletConfig config = null; + JspWriter out = null; + Object page = this; + JspWriter _jspx_out = null; + PageContext _jspx_page_context = null; + + try { + response.setContentType("text/html;charset=UTF-8"); + pageContext = _jspxFactory.getPageContext(this, request, response, + null, true, 8192, true); + _jspx_page_context = pageContext; + application = pageContext.getServletContext(); + config = pageContext.getServletConfig(); + session = pageContext.getSession(); + out = pageContext.getOut(); + _jspx_out = out; + _jspx_resourceInjector = (org.glassfish.jsp.api.ResourceInjector) application.getAttribute("com.sun.appserv.jsp.resource.injector"); + + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" JSP Page\n"); + out.write(" \n"); + out.write(" \n"); + out.write("
\n"); + out.write("
\n"); + out.write(" \n"); + out.write("
\n"); + out.write("
\n"); + out.write("
\n"); + out.write("
\n"); + out.write("
Product In Shop
\n"); + out.write(" \"logo\"\n"); + out.write("
\n"); + out.write("
\n"); + out.write("
\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write("
\n"); + out.write("

  "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${errorProduct}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("

\n"); + out.write("
\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" "); + if (_jspx_meth_c_forEach_0(_jspx_page_context)) + return; + out.write("\n"); + out.write(" \n"); + out.write("
Prodcut IDNameImagePrice....
\n"); + out.write(" "); + if (_jspx_meth_c_if_0(_jspx_page_context)) + return; + out.write("\n"); + out.write(" "); + if (_jspx_meth_c_if_1(_jspx_page_context)) + return; + out.write("\n"); + out.write(" "); + if (_jspx_meth_c_if_2(_jspx_page_context)) + return; + out.write(" \n"); + out.write(" "); + if (_jspx_meth_c_if_3(_jspx_page_context)) + return; + out.write("\n"); + out.write("
\n"); + out.write("
\n"); + out.write("
\n"); + out.write("
\n"); + out.write(" \n"); + out.write("
\n"); + out.write("
\n"); + out.write(" \n"); + out.write("\n"); + } catch (Throwable t) { + if (!(t instanceof SkipPageException)){ + out = _jspx_out; + if (out != null && out.getBufferSize() != 0) + out.clearBuffer(); + if (_jspx_page_context != null) _jspx_page_context.handlePageException(t); + else throw new ServletException(t); + } + } finally { + _jspxFactory.releasePageContext(_jspx_page_context); + } + } + + private boolean _jspx_meth_c_forEach_0(PageContext _jspx_page_context) + throws Throwable { + PageContext pageContext = _jspx_page_context; + JspWriter out = _jspx_page_context.getOut(); + // c:forEach + org.apache.taglibs.standard.tag.rt.core.ForEachTag _jspx_th_c_forEach_0 = (org.apache.taglibs.standard.tag.rt.core.ForEachTag) _jspx_tagPool_c_forEach_var_items.get(org.apache.taglibs.standard.tag.rt.core.ForEachTag.class); + _jspx_th_c_forEach_0.setPageContext(_jspx_page_context); + _jspx_th_c_forEach_0.setParent(null); + _jspx_th_c_forEach_0.setVar("x"); + _jspx_th_c_forEach_0.setItems((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${Products}", java.lang.Object.class, (PageContext)_jspx_page_context, null)); + int[] _jspx_push_body_count_c_forEach_0 = new int[] { 0 }; + try { + int _jspx_eval_c_forEach_0 = _jspx_th_c_forEach_0.doStartTag(); + if (_jspx_eval_c_forEach_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { + do { + out.write("\n"); + out.write(" \n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.productID}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.name}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.image}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.price}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" "); + int evalDoAfterBody = _jspx_th_c_forEach_0.doAfterBody(); + if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) + break; + } while (true); + } + if (_jspx_th_c_forEach_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { + return true; + } + } catch (Throwable _jspx_exception) { + while (_jspx_push_body_count_c_forEach_0[0]-- > 0) + out = _jspx_page_context.popBody(); + _jspx_th_c_forEach_0.doCatch(_jspx_exception); + } finally { + _jspx_th_c_forEach_0.doFinally(); + _jspx_tagPool_c_forEach_var_items.reuse(_jspx_th_c_forEach_0); + } + return false; + } + + private boolean _jspx_meth_c_if_0(PageContext _jspx_page_context) + throws Throwable { + PageContext pageContext = _jspx_page_context; + JspWriter out = _jspx_page_context.getOut(); + // c:if + org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_if_0 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _jspx_tagPool_c_if_test.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class); + _jspx_th_c_if_0.setPageContext(_jspx_page_context); + _jspx_th_c_if_0.setParent(null); + _jspx_th_c_if_0.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${empty SearchProductID and empty SearchProductPrice and empty SearchProductOther or not empty back2}", java.lang.Boolean.class, (PageContext)_jspx_page_context, null)).booleanValue()); + int _jspx_eval_c_if_0 = _jspx_th_c_if_0.doStartTag(); + if (_jspx_eval_c_if_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { + do { + out.write("\n"); + out.write("

Cannot found, please search again !!!

\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" "); + if (_jspx_meth_c_forEach_1((javax.servlet.jsp.tagext.JspTag) _jspx_th_c_if_0, _jspx_page_context)) + return true; + out.write("\n"); + out.write(" \n"); + out.write("
Prodcut IDNameImagePrice....
\n"); + out.write(" "); + int evalDoAfterBody = _jspx_th_c_if_0.doAfterBody(); + if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) + break; + } while (true); + } + if (_jspx_th_c_if_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { + _jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_0); + return true; + } + _jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_0); + return false; + } + + private boolean _jspx_meth_c_forEach_1(javax.servlet.jsp.tagext.JspTag _jspx_th_c_if_0, PageContext _jspx_page_context) + throws Throwable { + PageContext pageContext = _jspx_page_context; + JspWriter out = _jspx_page_context.getOut(); + // c:forEach + org.apache.taglibs.standard.tag.rt.core.ForEachTag _jspx_th_c_forEach_1 = (org.apache.taglibs.standard.tag.rt.core.ForEachTag) _jspx_tagPool_c_forEach_var_items.get(org.apache.taglibs.standard.tag.rt.core.ForEachTag.class); + _jspx_th_c_forEach_1.setPageContext(_jspx_page_context); + _jspx_th_c_forEach_1.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_if_0); + _jspx_th_c_forEach_1.setVar("x"); + _jspx_th_c_forEach_1.setItems((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${Products}", java.lang.Object.class, (PageContext)_jspx_page_context, null)); + int[] _jspx_push_body_count_c_forEach_1 = new int[] { 0 }; + try { + int _jspx_eval_c_forEach_1 = _jspx_th_c_forEach_1.doStartTag(); + if (_jspx_eval_c_forEach_1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { + do { + out.write("\n"); + out.write(" \n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.productID}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.name}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.image}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.price}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" "); + int evalDoAfterBody = _jspx_th_c_forEach_1.doAfterBody(); + if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) + break; + } while (true); + } + if (_jspx_th_c_forEach_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { + return true; + } + } catch (Throwable _jspx_exception) { + while (_jspx_push_body_count_c_forEach_1[0]-- > 0) + out = _jspx_page_context.popBody(); + _jspx_th_c_forEach_1.doCatch(_jspx_exception); + } finally { + _jspx_th_c_forEach_1.doFinally(); + _jspx_tagPool_c_forEach_var_items.reuse(_jspx_th_c_forEach_1); + } + return false; + } + + private boolean _jspx_meth_c_if_1(PageContext _jspx_page_context) + throws Throwable { + PageContext pageContext = _jspx_page_context; + JspWriter out = _jspx_page_context.getOut(); + // c:if + org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_if_1 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _jspx_tagPool_c_if_test.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class); + _jspx_th_c_if_1.setPageContext(_jspx_page_context); + _jspx_th_c_if_1.setParent(null); + _jspx_th_c_if_1.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${not empty SearchProductID}", java.lang.Boolean.class, (PageContext)_jspx_page_context, null)).booleanValue()); + int _jspx_eval_c_if_1 = _jspx_th_c_if_1.doStartTag(); + if (_jspx_eval_c_if_1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { + do { + out.write("\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" "); + if (_jspx_meth_c_forEach_2((javax.servlet.jsp.tagext.JspTag) _jspx_th_c_if_1, _jspx_page_context)) + return true; + out.write("\n"); + out.write(" \n"); + out.write("
Prodcut IDNameImagePrice....
\n"); + out.write(" "); + int evalDoAfterBody = _jspx_th_c_if_1.doAfterBody(); + if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) + break; + } while (true); + } + if (_jspx_th_c_if_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { + _jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_1); + return true; + } + _jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_1); + return false; + } + + private boolean _jspx_meth_c_forEach_2(javax.servlet.jsp.tagext.JspTag _jspx_th_c_if_1, PageContext _jspx_page_context) + throws Throwable { + PageContext pageContext = _jspx_page_context; + JspWriter out = _jspx_page_context.getOut(); + // c:forEach + org.apache.taglibs.standard.tag.rt.core.ForEachTag _jspx_th_c_forEach_2 = (org.apache.taglibs.standard.tag.rt.core.ForEachTag) _jspx_tagPool_c_forEach_var_items.get(org.apache.taglibs.standard.tag.rt.core.ForEachTag.class); + _jspx_th_c_forEach_2.setPageContext(_jspx_page_context); + _jspx_th_c_forEach_2.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_if_1); + _jspx_th_c_forEach_2.setVar("x"); + _jspx_th_c_forEach_2.setItems((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${SearchProductID}", java.lang.Object.class, (PageContext)_jspx_page_context, null)); + int[] _jspx_push_body_count_c_forEach_2 = new int[] { 0 }; + try { + int _jspx_eval_c_forEach_2 = _jspx_th_c_forEach_2.doStartTag(); + if (_jspx_eval_c_forEach_2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { + do { + out.write("\n"); + out.write(" \n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.productID}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.name}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.image}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.price}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" "); + int evalDoAfterBody = _jspx_th_c_forEach_2.doAfterBody(); + if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) + break; + } while (true); + } + if (_jspx_th_c_forEach_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { + return true; + } + } catch (Throwable _jspx_exception) { + while (_jspx_push_body_count_c_forEach_2[0]-- > 0) + out = _jspx_page_context.popBody(); + _jspx_th_c_forEach_2.doCatch(_jspx_exception); + } finally { + _jspx_th_c_forEach_2.doFinally(); + _jspx_tagPool_c_forEach_var_items.reuse(_jspx_th_c_forEach_2); + } + return false; + } + + private boolean _jspx_meth_c_if_2(PageContext _jspx_page_context) + throws Throwable { + PageContext pageContext = _jspx_page_context; + JspWriter out = _jspx_page_context.getOut(); + // c:if + org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_if_2 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _jspx_tagPool_c_if_test.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class); + _jspx_th_c_if_2.setPageContext(_jspx_page_context); + _jspx_th_c_if_2.setParent(null); + _jspx_th_c_if_2.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${not empty SearchProductPrice}", java.lang.Boolean.class, (PageContext)_jspx_page_context, null)).booleanValue()); + int _jspx_eval_c_if_2 = _jspx_th_c_if_2.doStartTag(); + if (_jspx_eval_c_if_2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { + do { + out.write("\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" "); + if (_jspx_meth_c_forEach_3((javax.servlet.jsp.tagext.JspTag) _jspx_th_c_if_2, _jspx_page_context)) + return true; + out.write("\n"); + out.write(" \n"); + out.write("
Prodcut IDNameImagePrice....
\n"); + out.write(" "); + int evalDoAfterBody = _jspx_th_c_if_2.doAfterBody(); + if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) + break; + } while (true); + } + if (_jspx_th_c_if_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { + _jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_2); + return true; + } + _jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_2); + return false; + } + + private boolean _jspx_meth_c_forEach_3(javax.servlet.jsp.tagext.JspTag _jspx_th_c_if_2, PageContext _jspx_page_context) + throws Throwable { + PageContext pageContext = _jspx_page_context; + JspWriter out = _jspx_page_context.getOut(); + // c:forEach + org.apache.taglibs.standard.tag.rt.core.ForEachTag _jspx_th_c_forEach_3 = (org.apache.taglibs.standard.tag.rt.core.ForEachTag) _jspx_tagPool_c_forEach_var_items.get(org.apache.taglibs.standard.tag.rt.core.ForEachTag.class); + _jspx_th_c_forEach_3.setPageContext(_jspx_page_context); + _jspx_th_c_forEach_3.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_if_2); + _jspx_th_c_forEach_3.setVar("x"); + _jspx_th_c_forEach_3.setItems((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${SearchProductPrice}", java.lang.Object.class, (PageContext)_jspx_page_context, null)); + int[] _jspx_push_body_count_c_forEach_3 = new int[] { 0 }; + try { + int _jspx_eval_c_forEach_3 = _jspx_th_c_forEach_3.doStartTag(); + if (_jspx_eval_c_forEach_3 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { + do { + out.write("\n"); + out.write(" \n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.productID}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.name}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.image}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.price}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" "); + int evalDoAfterBody = _jspx_th_c_forEach_3.doAfterBody(); + if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) + break; + } while (true); + } + if (_jspx_th_c_forEach_3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { + return true; + } + } catch (Throwable _jspx_exception) { + while (_jspx_push_body_count_c_forEach_3[0]-- > 0) + out = _jspx_page_context.popBody(); + _jspx_th_c_forEach_3.doCatch(_jspx_exception); + } finally { + _jspx_th_c_forEach_3.doFinally(); + _jspx_tagPool_c_forEach_var_items.reuse(_jspx_th_c_forEach_3); + } + return false; + } + + private boolean _jspx_meth_c_if_3(PageContext _jspx_page_context) + throws Throwable { + PageContext pageContext = _jspx_page_context; + JspWriter out = _jspx_page_context.getOut(); + // c:if + org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_if_3 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _jspx_tagPool_c_if_test.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class); + _jspx_th_c_if_3.setPageContext(_jspx_page_context); + _jspx_th_c_if_3.setParent(null); + _jspx_th_c_if_3.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${not empty SearchProductOther}", java.lang.Boolean.class, (PageContext)_jspx_page_context, null)).booleanValue()); + int _jspx_eval_c_if_3 = _jspx_th_c_if_3.doStartTag(); + if (_jspx_eval_c_if_3 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { + do { + out.write("\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" "); + if (_jspx_meth_c_forEach_4((javax.servlet.jsp.tagext.JspTag) _jspx_th_c_if_3, _jspx_page_context)) + return true; + out.write("\n"); + out.write(" \n"); + out.write("
Prodcut IDNameImagePrice....
\n"); + out.write(" "); + int evalDoAfterBody = _jspx_th_c_if_3.doAfterBody(); + if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) + break; + } while (true); + } + if (_jspx_th_c_if_3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { + _jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_3); + return true; + } + _jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_3); + return false; + } + + private boolean _jspx_meth_c_forEach_4(javax.servlet.jsp.tagext.JspTag _jspx_th_c_if_3, PageContext _jspx_page_context) + throws Throwable { + PageContext pageContext = _jspx_page_context; + JspWriter out = _jspx_page_context.getOut(); + // c:forEach + org.apache.taglibs.standard.tag.rt.core.ForEachTag _jspx_th_c_forEach_4 = (org.apache.taglibs.standard.tag.rt.core.ForEachTag) _jspx_tagPool_c_forEach_var_items.get(org.apache.taglibs.standard.tag.rt.core.ForEachTag.class); + _jspx_th_c_forEach_4.setPageContext(_jspx_page_context); + _jspx_th_c_forEach_4.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_if_3); + _jspx_th_c_forEach_4.setVar("x"); + _jspx_th_c_forEach_4.setItems((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${SearchProductOther}", java.lang.Object.class, (PageContext)_jspx_page_context, null)); + int[] _jspx_push_body_count_c_forEach_4 = new int[] { 0 }; + try { + int _jspx_eval_c_forEach_4 = _jspx_th_c_forEach_4.doStartTag(); + if (_jspx_eval_c_forEach_4 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { + do { + out.write("\n"); + out.write(" \n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.productID}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.name}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.image}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.price}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" "); + int evalDoAfterBody = _jspx_th_c_forEach_4.doAfterBody(); + if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) + break; + } while (true); + } + if (_jspx_th_c_forEach_4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { + return true; + } + } catch (Throwable _jspx_exception) { + while (_jspx_push_body_count_c_forEach_4[0]-- > 0) + out = _jspx_page_context.popBody(); + _jspx_th_c_forEach_4.doCatch(_jspx_exception); + } finally { + _jspx_th_c_forEach_4.doFinally(); + _jspx_tagPool_c_forEach_var_items.reuse(_jspx_th_c_forEach_4); + } + return false; + } +} diff --git a/ProjectPRJ/build/generated/src/org/apache/jsp/dashboard_jsp.class.smap b/ProjectPRJ/build/generated/src/org/apache/jsp/dashboard_jsp.class.smap new file mode 100644 index 0000000..7fb1d23 --- /dev/null +++ b/ProjectPRJ/build/generated/src/org/apache/jsp/dashboard_jsp.class.smap @@ -0,0 +1,17 @@ +SMAP +dashboard_jsp.java +JSP +*S JSP +*F ++ 0 dashboard.jsp +dashboard.jsp +*L +5,16:54 +21:70,2 +22,29:72 +50:219,11 +51:230 +52,7:231,3 +59,2:252 +60,99:103 +*E diff --git a/ProjectPRJ/build/generated/src/org/apache/jsp/dashboard_jsp.java b/ProjectPRJ/build/generated/src/org/apache/jsp/dashboard_jsp.java new file mode 100644 index 0000000..6c6ad45 --- /dev/null +++ b/ProjectPRJ/build/generated/src/org/apache/jsp/dashboard_jsp.java @@ -0,0 +1,272 @@ +package org.apache.jsp; + +import javax.servlet.*; +import javax.servlet.http.*; +import javax.servlet.jsp.*; + +public final class dashboard_jsp extends org.apache.jasper.runtime.HttpJspBase + implements org.apache.jasper.runtime.JspSourceDependent { + + private static final JspFactory _jspxFactory = JspFactory.getDefaultFactory(); + + private static java.util.List _jspx_dependants; + + private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_forEach_var_items; + + private org.glassfish.jsp.api.ResourceInjector _jspx_resourceInjector; + + public java.util.List getDependants() { + return _jspx_dependants; + } + + public void _jspInit() { + _jspx_tagPool_c_forEach_var_items = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig()); + } + + public void _jspDestroy() { + _jspx_tagPool_c_forEach_var_items.release(); + } + + public void _jspService(HttpServletRequest request, HttpServletResponse response) + throws java.io.IOException, ServletException { + + PageContext pageContext = null; + HttpSession session = null; + ServletContext application = null; + ServletConfig config = null; + JspWriter out = null; + Object page = this; + JspWriter _jspx_out = null; + PageContext _jspx_page_context = null; + + try { + response.setContentType("text/html;charset=UTF-8"); + pageContext = _jspxFactory.getPageContext(this, request, response, + null, true, 8192, true); + _jspx_page_context = pageContext; + application = pageContext.getServletContext(); + config = pageContext.getServletConfig(); + session = pageContext.getSession(); + out = pageContext.getOut(); + _jspx_out = out; + _jspx_resourceInjector = (org.glassfish.jsp.api.ResourceInjector) application.getAttribute("com.sun.appserv.jsp.resource.injector"); + + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" Dashboard\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" "); + out.write("\n"); + out.write("
\n"); + out.write("

   Dashboard

\n"); + out.write("
\n"); + out.write("
\n"); + out.write("
\n"); + out.write("
\n"); + out.write(" Users\n"); + out.write(" Shops\n"); + out.write(" Products\n"); + out.write(" Invoice\n"); + out.write("
\n"); + out.write("
\n"); + out.write("
\n"); + out.write("
\n"); + out.write("
\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" "); + if (_jspx_meth_c_forEach_0(_jspx_page_context)) + return; + out.write("\n"); + out.write(" \n"); + out.write("
User IDUser NamePasswordNameEmailAvatar UrlRole
\n"); + out.write("
\n"); + out.write("
\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write("
#FirstLastHandle
1MarkOtto@mdo
2JacobThornton@fat
3Larrythe Bird@twitter
\n"); + out.write("
\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write("
#FirstLastHandle
1MarkOtto@mdo
2JacobThornton@fat
3Larry the Bird@twitter
\n"); + out.write("
\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write(" \n"); + out.write("
#FirstLastHandle
1MarkOtto@mdo
2JacobThornton@fat
3Larry the Bird@twitter
\n"); + out.write("
\n"); + out.write("
\n"); + out.write("
\n"); + out.write(" \n"); + out.write("\n"); + } catch (Throwable t) { + if (!(t instanceof SkipPageException)){ + out = _jspx_out; + if (out != null && out.getBufferSize() != 0) + out.clearBuffer(); + if (_jspx_page_context != null) _jspx_page_context.handlePageException(t); + else throw new ServletException(t); + } + } finally { + _jspxFactory.releasePageContext(_jspx_page_context); + } + } + + private boolean _jspx_meth_c_forEach_0(PageContext _jspx_page_context) + throws Throwable { + PageContext pageContext = _jspx_page_context; + JspWriter out = _jspx_page_context.getOut(); + // c:forEach + org.apache.taglibs.standard.tag.rt.core.ForEachTag _jspx_th_c_forEach_0 = (org.apache.taglibs.standard.tag.rt.core.ForEachTag) _jspx_tagPool_c_forEach_var_items.get(org.apache.taglibs.standard.tag.rt.core.ForEachTag.class); + _jspx_th_c_forEach_0.setPageContext(_jspx_page_context); + _jspx_th_c_forEach_0.setParent(null); + _jspx_th_c_forEach_0.setVar("x"); + _jspx_th_c_forEach_0.setItems((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${Users}", java.lang.Object.class, (PageContext)_jspx_page_context, null)); + int[] _jspx_push_body_count_c_forEach_0 = new int[] { 0 }; + try { + int _jspx_eval_c_forEach_0 = _jspx_th_c_forEach_0.doStartTag(); + if (_jspx_eval_c_forEach_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { + do { + out.write("\n"); + out.write(" \n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.userID}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.userName}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.password}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.name}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.email}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.avatarUrl}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" "); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${x.role}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("\n"); + out.write(" \n"); + out.write(" "); + int evalDoAfterBody = _jspx_th_c_forEach_0.doAfterBody(); + if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) + break; + } while (true); + } + if (_jspx_th_c_forEach_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { + return true; + } + } catch (Throwable _jspx_exception) { + while (_jspx_push_body_count_c_forEach_0[0]-- > 0) + out = _jspx_page_context.popBody(); + _jspx_th_c_forEach_0.doCatch(_jspx_exception); + } finally { + _jspx_th_c_forEach_0.doFinally(); + _jspx_tagPool_c_forEach_var_items.reuse(_jspx_th_c_forEach_0); + } + return false; + } +} diff --git a/ProjectPRJ/build/generated/src/org/apache/jsp/navbar_jsp.class.smap b/ProjectPRJ/build/generated/src/org/apache/jsp/navbar_jsp.class.smap new file mode 100644 index 0000000..452f158 --- /dev/null +++ b/ProjectPRJ/build/generated/src/org/apache/jsp/navbar_jsp.class.smap @@ -0,0 +1,10 @@ +SMAP +navbar_jsp.java +JSP +*S JSP +*F ++ 0 navbar.jsp +navbar.jsp +*L +5,35:44 +*E diff --git a/ProjectPRJ/build/generated/src/org/apache/jsp/navbar_jsp.java b/ProjectPRJ/build/generated/src/org/apache/jsp/navbar_jsp.java new file mode 100644 index 0000000..7d7d0fb --- /dev/null +++ b/ProjectPRJ/build/generated/src/org/apache/jsp/navbar_jsp.java @@ -0,0 +1,90 @@ +package org.apache.jsp; + +import javax.servlet.*; +import javax.servlet.http.*; +import javax.servlet.jsp.*; + +public final class navbar_jsp extends org.apache.jasper.runtime.HttpJspBase + implements org.apache.jasper.runtime.JspSourceDependent { + + private static final JspFactory _jspxFactory = JspFactory.getDefaultFactory(); + + private static java.util.List _jspx_dependants; + + private org.glassfish.jsp.api.ResourceInjector _jspx_resourceInjector; + + public java.util.List getDependants() { + return _jspx_dependants; + } + + public void _jspService(HttpServletRequest request, HttpServletResponse response) + throws java.io.IOException, ServletException { + + PageContext pageContext = null; + HttpSession session = null; + ServletContext application = null; + ServletConfig config = null; + JspWriter out = null; + Object page = this; + JspWriter _jspx_out = null; + PageContext _jspx_page_context = null; + + try { + response.setContentType("text/html;charset=UTF-8"); + pageContext = _jspxFactory.getPageContext(this, request, response, + null, true, 8192, true); + _jspx_page_context = pageContext; + application = pageContext.getServletContext(); + config = pageContext.getServletConfig(); + session = pageContext.getSession(); + out = pageContext.getOut(); + _jspx_out = out; + _jspx_resourceInjector = (org.glassfish.jsp.api.ResourceInjector) application.getAttribute("com.sun.appserv.jsp.resource.injector"); + + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + } catch (Throwable t) { + if (!(t instanceof SkipPageException)){ + out = _jspx_out; + if (out != null && out.getBufferSize() != 0) + out.clearBuffer(); + if (_jspx_page_context != null) _jspx_page_context.handlePageException(t); + else throw new ServletException(t); + } + } finally { + _jspxFactory.releasePageContext(_jspx_page_context); + } + } +} diff --git a/ProjectPRJ/build/generated/src/org/apache/jsp/newjsp_jsp.class.smap b/ProjectPRJ/build/generated/src/org/apache/jsp/newjsp_jsp.class.smap new file mode 100644 index 0000000..f71efb0 --- /dev/null +++ b/ProjectPRJ/build/generated/src/org/apache/jsp/newjsp_jsp.class.smap @@ -0,0 +1,14 @@ +SMAP +newjsp_jsp.java +JSP +*S JSP +*F ++ 0 newjsp.jsp +newjsp.jsp ++ 1 navbar.jsp +components/navbar.jsp +*L +5,11:49 +5#1,35:60 +15#0,5:94 +*E diff --git a/ProjectPRJ/build/generated/src/org/apache/jsp/newjsp_jsp.java b/ProjectPRJ/build/generated/src/org/apache/jsp/newjsp_jsp.java new file mode 100644 index 0000000..6530d86 --- /dev/null +++ b/ProjectPRJ/build/generated/src/org/apache/jsp/newjsp_jsp.java @@ -0,0 +1,110 @@ +package org.apache.jsp; + +import javax.servlet.*; +import javax.servlet.http.*; +import javax.servlet.jsp.*; + +public final class newjsp_jsp extends org.apache.jasper.runtime.HttpJspBase + implements org.apache.jasper.runtime.JspSourceDependent { + + private static final JspFactory _jspxFactory = JspFactory.getDefaultFactory(); + + private static java.util.List _jspx_dependants; + + static { + _jspx_dependants = new java.util.ArrayList(1); + _jspx_dependants.add("/components/navbar.jsp"); + } + + private org.glassfish.jsp.api.ResourceInjector _jspx_resourceInjector; + + public java.util.List getDependants() { + return _jspx_dependants; + } + + public void _jspService(HttpServletRequest request, HttpServletResponse response) + throws java.io.IOException, ServletException { + + PageContext pageContext = null; + HttpSession session = null; + ServletContext application = null; + ServletConfig config = null; + JspWriter out = null; + Object page = this; + JspWriter _jspx_out = null; + PageContext _jspx_page_context = null; + + try { + response.setContentType("text/html;charset=UTF-8"); + pageContext = _jspxFactory.getPageContext(this, request, response, + null, true, 8192, true); + _jspx_page_context = pageContext; + application = pageContext.getServletContext(); + config = pageContext.getServletConfig(); + session = pageContext.getSession(); + out = pageContext.getOut(); + _jspx_out = out; + _jspx_resourceInjector = (org.glassfish.jsp.api.ResourceInjector) application.getAttribute("com.sun.appserv.jsp.resource.injector"); + + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" JSP Page\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" "); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("

Hello World!

\n"); + out.write(" \n"); + out.write("\n"); + } catch (Throwable t) { + if (!(t instanceof SkipPageException)){ + out = _jspx_out; + if (out != null && out.getBufferSize() != 0) + out.clearBuffer(); + if (_jspx_page_context != null) _jspx_page_context.handlePageException(t); + else throw new ServletException(t); + } + } finally { + _jspxFactory.releasePageContext(_jspx_page_context); + } + } +} diff --git a/ProjectPRJ/build/generated/src/org/apache/jsp/xxx_jsp.class.smap b/ProjectPRJ/build/generated/src/org/apache/jsp/xxx_jsp.class.smap new file mode 100644 index 0000000..5f65de4 --- /dev/null +++ b/ProjectPRJ/build/generated/src/org/apache/jsp/xxx_jsp.class.smap @@ -0,0 +1,12 @@ +SMAP +xxx_jsp.java +JSP +*S JSP +*F ++ 0 xxx.jsp +xxx.jsp +*L +5,10:44 +15:54,3 +16,3:57 +*E diff --git a/ProjectPRJ/build/generated/src/org/apache/jsp/xxx_jsp.java b/ProjectPRJ/build/generated/src/org/apache/jsp/xxx_jsp.java new file mode 100644 index 0000000..543fc48 --- /dev/null +++ b/ProjectPRJ/build/generated/src/org/apache/jsp/xxx_jsp.java @@ -0,0 +1,71 @@ +package org.apache.jsp; + +import javax.servlet.*; +import javax.servlet.http.*; +import javax.servlet.jsp.*; + +public final class xxx_jsp extends org.apache.jasper.runtime.HttpJspBase + implements org.apache.jasper.runtime.JspSourceDependent { + + private static final JspFactory _jspxFactory = JspFactory.getDefaultFactory(); + + private static java.util.List _jspx_dependants; + + private org.glassfish.jsp.api.ResourceInjector _jspx_resourceInjector; + + public java.util.List getDependants() { + return _jspx_dependants; + } + + public void _jspService(HttpServletRequest request, HttpServletResponse response) + throws java.io.IOException, ServletException { + + PageContext pageContext = null; + HttpSession session = null; + ServletContext application = null; + ServletConfig config = null; + JspWriter out = null; + Object page = this; + JspWriter _jspx_out = null; + PageContext _jspx_page_context = null; + + try { + response.setContentType("text/html;charset=UTF-8"); + pageContext = _jspxFactory.getPageContext(this, request, response, + null, true, 8192, true); + _jspx_page_context = pageContext; + application = pageContext.getServletContext(); + config = pageContext.getServletConfig(); + session = pageContext.getSession(); + out = pageContext.getOut(); + _jspx_out = out; + _jspx_resourceInjector = (org.glassfish.jsp.api.ResourceInjector) application.getAttribute("com.sun.appserv.jsp.resource.injector"); + + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write("\n"); + out.write(" \n"); + out.write(" \n"); + out.write(" JSP Page\n"); + out.write(" \n"); + out.write(" \n"); + out.write("

"); + out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.evaluateExpression("${text}", java.lang.String.class, (PageContext)_jspx_page_context, null)); + out.write("

\n"); + out.write(" \n"); + out.write("\n"); + } catch (Throwable t) { + if (!(t instanceof SkipPageException)){ + out = _jspx_out; + if (out != null && out.getBufferSize() != 0) + out.clearBuffer(); + if (_jspx_page_context != null) _jspx_page_context.handlePageException(t); + else throw new ServletException(t); + } + } finally { + _jspxFactory.releasePageContext(_jspx_page_context); + } + } +} diff --git a/ProjectPRJ/build/web/META-INF/MANIFEST.MF b/ProjectPRJ/build/web/META-INF/MANIFEST.MF new file mode 100644 index 0000000..59499bc --- /dev/null +++ b/ProjectPRJ/build/web/META-INF/MANIFEST.MF @@ -0,0 +1,2 @@ +Manifest-Version: 1.0 + diff --git a/ProjectPRJ/build/web/WEB-INF/classes/.netbeans_automatic_build b/ProjectPRJ/build/web/WEB-INF/classes/.netbeans_automatic_build new file mode 100644 index 0000000..e69de29 diff --git a/ProjectPRJ/build/web/WEB-INF/classes/.netbeans_update_resources b/ProjectPRJ/build/web/WEB-INF/classes/.netbeans_update_resources new file mode 100644 index 0000000..e69de29 diff --git a/ProjectPRJ/build/web/WEB-INF/classes/Context/DBContext.class b/ProjectPRJ/build/web/WEB-INF/classes/Context/DBContext.class new file mode 100644 index 0000000..d9a1f46 Binary files /dev/null and b/ProjectPRJ/build/web/WEB-INF/classes/Context/DBContext.class differ diff --git a/ProjectPRJ/build/web/WEB-INF/classes/bean/InvoiceBean.class b/ProjectPRJ/build/web/WEB-INF/classes/bean/InvoiceBean.class new file mode 100644 index 0000000..fa7488d Binary files /dev/null and b/ProjectPRJ/build/web/WEB-INF/classes/bean/InvoiceBean.class differ diff --git a/ProjectPRJ/build/web/WEB-INF/classes/controller/DashboardController.class b/ProjectPRJ/build/web/WEB-INF/classes/controller/DashboardController.class new file mode 100644 index 0000000..44f0d39 Binary files /dev/null and b/ProjectPRJ/build/web/WEB-INF/classes/controller/DashboardController.class differ diff --git a/ProjectPRJ/build/web/WEB-INF/classes/controller/InvoicelineController.class b/ProjectPRJ/build/web/WEB-INF/classes/controller/InvoicelineController.class new file mode 100644 index 0000000..089f041 Binary files /dev/null and b/ProjectPRJ/build/web/WEB-INF/classes/controller/InvoicelineController.class differ diff --git a/ProjectPRJ/build/web/WEB-INF/classes/controller/ProductController.class b/ProjectPRJ/build/web/WEB-INF/classes/controller/ProductController.class new file mode 100644 index 0000000..15602cd Binary files /dev/null and b/ProjectPRJ/build/web/WEB-INF/classes/controller/ProductController.class differ diff --git a/ProjectPRJ/build/web/WEB-INF/classes/controller/Test.class b/ProjectPRJ/build/web/WEB-INF/classes/controller/Test.class new file mode 100644 index 0000000..9023df1 Binary files /dev/null and b/ProjectPRJ/build/web/WEB-INF/classes/controller/Test.class differ diff --git a/ProjectPRJ/build/web/WEB-INF/classes/controller/Test2.class b/ProjectPRJ/build/web/WEB-INF/classes/controller/Test2.class new file mode 100644 index 0000000..5ad7eb0 Binary files /dev/null and b/ProjectPRJ/build/web/WEB-INF/classes/controller/Test2.class differ diff --git a/ProjectPRJ/build/web/WEB-INF/classes/controller/Test3.class b/ProjectPRJ/build/web/WEB-INF/classes/controller/Test3.class new file mode 100644 index 0000000..c663d55 Binary files /dev/null and b/ProjectPRJ/build/web/WEB-INF/classes/controller/Test3.class differ diff --git a/ProjectPRJ/build/web/WEB-INF/classes/dao/InvoiceDAO.class b/ProjectPRJ/build/web/WEB-INF/classes/dao/InvoiceDAO.class new file mode 100644 index 0000000..3464095 Binary files /dev/null and b/ProjectPRJ/build/web/WEB-INF/classes/dao/InvoiceDAO.class differ diff --git a/ProjectPRJ/build/web/WEB-INF/classes/dao/InvoiceLineDAO.class b/ProjectPRJ/build/web/WEB-INF/classes/dao/InvoiceLineDAO.class new file mode 100644 index 0000000..8ba24eb Binary files /dev/null and b/ProjectPRJ/build/web/WEB-INF/classes/dao/InvoiceLineDAO.class differ diff --git a/ProjectPRJ/build/web/WEB-INF/classes/dao/ProductDAO.class b/ProjectPRJ/build/web/WEB-INF/classes/dao/ProductDAO.class new file mode 100644 index 0000000..7c076fc Binary files /dev/null and b/ProjectPRJ/build/web/WEB-INF/classes/dao/ProductDAO.class differ diff --git a/ProjectPRJ/build/web/WEB-INF/classes/dao/ShopDAO.class b/ProjectPRJ/build/web/WEB-INF/classes/dao/ShopDAO.class new file mode 100644 index 0000000..832eda2 Binary files /dev/null and b/ProjectPRJ/build/web/WEB-INF/classes/dao/ShopDAO.class differ diff --git a/ProjectPRJ/build/web/WEB-INF/classes/dao/UserDAO.class b/ProjectPRJ/build/web/WEB-INF/classes/dao/UserDAO.class new file mode 100644 index 0000000..96b3abf Binary files /dev/null and b/ProjectPRJ/build/web/WEB-INF/classes/dao/UserDAO.class differ diff --git a/ProjectPRJ/build/web/WEB-INF/classes/entity/Invoice.class b/ProjectPRJ/build/web/WEB-INF/classes/entity/Invoice.class new file mode 100644 index 0000000..507e02f Binary files /dev/null and b/ProjectPRJ/build/web/WEB-INF/classes/entity/Invoice.class differ diff --git a/ProjectPRJ/build/web/WEB-INF/classes/entity/InvoiceLine.class b/ProjectPRJ/build/web/WEB-INF/classes/entity/InvoiceLine.class new file mode 100644 index 0000000..44f644d Binary files /dev/null and b/ProjectPRJ/build/web/WEB-INF/classes/entity/InvoiceLine.class differ diff --git a/ProjectPRJ/build/web/WEB-INF/classes/entity/Product.class b/ProjectPRJ/build/web/WEB-INF/classes/entity/Product.class new file mode 100644 index 0000000..b3c0fb0 Binary files /dev/null and b/ProjectPRJ/build/web/WEB-INF/classes/entity/Product.class differ diff --git a/ProjectPRJ/build/web/WEB-INF/classes/entity/Shop.class b/ProjectPRJ/build/web/WEB-INF/classes/entity/Shop.class new file mode 100644 index 0000000..4c599cb Binary files /dev/null and b/ProjectPRJ/build/web/WEB-INF/classes/entity/Shop.class differ diff --git a/ProjectPRJ/build/web/WEB-INF/classes/entity/User.class b/ProjectPRJ/build/web/WEB-INF/classes/entity/User.class new file mode 100644 index 0000000..881cc2e Binary files /dev/null and b/ProjectPRJ/build/web/WEB-INF/classes/entity/User.class differ diff --git a/ProjectPRJ/build/web/WEB-INF/glassfish-web.xml b/ProjectPRJ/build/web/WEB-INF/glassfish-web.xml new file mode 100644 index 0000000..13e0059 --- /dev/null +++ b/ProjectPRJ/build/web/WEB-INF/glassfish-web.xml @@ -0,0 +1,10 @@ + + + + + + + Keep a copy of the generated servlet class' java code. + + + diff --git a/ProjectPRJ/build/web/WEB-INF/lib/jstl-api.jar b/ProjectPRJ/build/web/WEB-INF/lib/jstl-api.jar new file mode 100644 index 0000000..06c1fa9 Binary files /dev/null and b/ProjectPRJ/build/web/WEB-INF/lib/jstl-api.jar differ diff --git a/ProjectPRJ/build/web/WEB-INF/lib/jstl-impl.jar b/ProjectPRJ/build/web/WEB-INF/lib/jstl-impl.jar new file mode 100644 index 0000000..08fd005 Binary files /dev/null and b/ProjectPRJ/build/web/WEB-INF/lib/jstl-impl.jar differ diff --git a/ProjectPRJ/build/web/WEB-INF/lib/sqljdbc4.jar b/ProjectPRJ/build/web/WEB-INF/lib/sqljdbc4.jar new file mode 100644 index 0000000..d6b7f6d Binary files /dev/null and b/ProjectPRJ/build/web/WEB-INF/lib/sqljdbc4.jar differ diff --git a/ProjectPRJ/build/web/WEB-INF/web.xml b/ProjectPRJ/build/web/WEB-INF/web.xml new file mode 100644 index 0000000..c6d52d2 --- /dev/null +++ b/ProjectPRJ/build/web/WEB-INF/web.xml @@ -0,0 +1,64 @@ + + + + UserController + controller.DashboardController + + + InvoicelineController + controller.InvoicelineController + + + ProductController + controller.ProductController + + + test + controller.test + + + Test + controller.Test + + + Test2 + controller.Test2 + + + Test3 + controller.Test3 + + + UserController + /Dashboard + + + InvoicelineController + /Dashboard/InvoiceLine + + + ProductController + /Dashboard/ProductInShop + + + test + /test + + + Test + /Dashboard/SearchProductInShop + + + Test2 + /Dashboard/SearchInvoiceLine + + + Test3 + /Test3 + + + + 30 + + + diff --git a/ProjectPRJ/build/web/components/navbar.jsp b/ProjectPRJ/build/web/components/navbar.jsp new file mode 100644 index 0000000..7cb2a1b --- /dev/null +++ b/ProjectPRJ/build/web/components/navbar.jsp @@ -0,0 +1,38 @@ +<%-- + Document : navbar + Created on : Oct 15, 2018, 10:22:34 PM + Author : Vu +--%> + + + + + +<%@page contentType="text/html" pageEncoding="UTF-8"%> + + + + diff --git a/ProjectPRJ/build/web/container/admin/dashboard.jsp b/ProjectPRJ/build/web/container/admin/dashboard.jsp new file mode 100644 index 0000000..1c34556 --- /dev/null +++ b/ProjectPRJ/build/web/container/admin/dashboard.jsp @@ -0,0 +1,739 @@ +<%-- + Document : newjspasdas + Created on : Oct 16, 2018, 8:33:34 PM + Author : Vu +--%> + +<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> +<%@page contentType="text/html" pageEncoding="UTF-8"%> + + + + + + + + + + Dashboard + + + + <%@include file="../../components/navbar.jsp" %> +
+ +

   Dashboard

+
+
+
+ +
+
+ +
+ +
+
+
+ +
+
+
+ +
+
+
+
+

HOLA FOOD

+

We love food!

+

We have created a food hola website.

+
+

Được xây dựng từ giữa năm 2018 tại Hòa Lạc, Hà Nội, Food Hola là cộng đồng tin cậy cho sinh viên có thể tìm kiếm, + đánh giá, bình luận các địa điểm ăn uống: nhà hàng, quán ăn, cafe, bar, karaoke, tiệm bánh, khu du lịch... tại + Việt Nam - từ website. Tất cả thành viên từ Bắc đến Nam, Food Hola kết nối mọi sinh viên đến với các địa điểm + ăn uống lớn nhỏ cả đất nước. Đến thời điểm hiện tại, Food Hola với hàng chục địa điểm và hàng trăm ngàn bình + luận, hình ảnh tại Việt Nam, ở hầu hết miền Bắc. Food Hola là cách dễ nhất để bạn có thể tìm kiếm và lựa chọn + địa điểm và những món ăn tốt nhất cho mình và bạn bè.

+
+
+ + + diff --git a/ProjectPRJ/build/web/container/admin/invoicelines.jsp b/ProjectPRJ/build/web/container/admin/invoicelines.jsp new file mode 100644 index 0000000..57ed92c --- /dev/null +++ b/ProjectPRJ/build/web/container/admin/invoicelines.jsp @@ -0,0 +1,144 @@ +<%-- + Document : invoicelines + Created on : Oct 17, 2018, 9:00:40 PM + Author : Vu +--%> + +<%@page contentType="text/html" pageEncoding="UTF-8"%> +<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> + + + + + + + + + + JSP Page + + +
+
+ +
+
+ +
+
+ +
+
+ + diff --git a/ProjectPRJ/build/web/container/admin/productinshop.jsp b/ProjectPRJ/build/web/container/admin/productinshop.jsp new file mode 100644 index 0000000..ee56155 --- /dev/null +++ b/ProjectPRJ/build/web/container/admin/productinshop.jsp @@ -0,0 +1,169 @@ +<%-- + Document : productinshop + Created on : Oct 17, 2018, 10:34:05 PM + Author : Vu +--%> + +<%@page contentType="text/html" pageEncoding="UTF-8"%> +<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> + + + + + + + + + + JSP Page + + +
+
+ +
+
+ +
+
+ +
+
+ + diff --git a/ProjectPRJ/build/web/gfv3ee6.dpf b/ProjectPRJ/build/web/gfv3ee6.dpf new file mode 100644 index 0000000..e69de29 diff --git a/ProjectPRJ/build/web/public/img/bannerUp.jpg b/ProjectPRJ/build/web/public/img/bannerUp.jpg new file mode 100644 index 0000000..d41f77c Binary files /dev/null and b/ProjectPRJ/build/web/public/img/bannerUp.jpg differ diff --git a/ProjectPRJ/build/web/public/img/bannerUp2.jpg b/ProjectPRJ/build/web/public/img/bannerUp2.jpg new file mode 100644 index 0000000..f7365c6 Binary files /dev/null and b/ProjectPRJ/build/web/public/img/bannerUp2.jpg differ diff --git a/ProjectPRJ/build/web/public/img/logo.png b/ProjectPRJ/build/web/public/img/logo.png new file mode 100644 index 0000000..7f28d72 Binary files /dev/null and b/ProjectPRJ/build/web/public/img/logo.png differ diff --git a/ProjectPRJ/build/web/public/img/logofpt.jpg b/ProjectPRJ/build/web/public/img/logofpt.jpg new file mode 100644 index 0000000..8e0e635 Binary files /dev/null and b/ProjectPRJ/build/web/public/img/logofpt.jpg differ diff --git a/ProjectPRJ/build/web/public/img/logoleft.png b/ProjectPRJ/build/web/public/img/logoleft.png new file mode 100644 index 0000000..7be9026 Binary files /dev/null and b/ProjectPRJ/build/web/public/img/logoleft.png differ diff --git a/ProjectPRJ/build/web/public/img/logoright.png b/ProjectPRJ/build/web/public/img/logoright.png new file mode 100644 index 0000000..aad2ca1 Binary files /dev/null and b/ProjectPRJ/build/web/public/img/logoright.png differ diff --git a/ProjectPRJ/build/web/public/style.css b/ProjectPRJ/build/web/public/style.css new file mode 100644 index 0000000..98b3790 --- /dev/null +++ b/ProjectPRJ/build/web/public/style.css @@ -0,0 +1,173 @@ +/*LOGO*/ +#logofpt{ + width: 250px; + margin-left: 10px; +} + +#logo{ + width: 200px; + margin-left: 10px; +} + +bodyDashboard{ + min-width: 2000px; +} + +/*USER*/ +.table-hover.user thead{ + display: table; + width: 100%; +} + +.table-hover.user tbody{ + display: block; + width: 100%; + height: 600px; + overflow-y: scroll; + overflow-x: scroll; + word-break: break-all; +} + +.table-hover.user tbody tr td { + width: 500px; + /*text-align: center;*/ +} + +.table-hover.user thead tr th { + width: 500px; +} + +/*SHOP*/ + +.table-hover.shop thead{ + display: table; + width: 100%; +} + +.table-hover.shop tbody{ + display: block; + width: 100%; + height: 600px; + overflow-y: scroll; + overflow-x: scroll; + word-break: break-all; +} + +.table-hover.shop tbody tr td { + width: 500px; +} + +.table-hover.shop thead tr th { + width: 500px; +} + + +/*Product*/ + +.table-hover.product thead{ + display: table; + width: 100%; +} + +.table-hover.product tbody{ + display: block; + width: 100%; + height: 600px; + overflow-y: scroll; + overflow-x: scroll; + word-break: break-all; +} + +.table-hover.product tbody tr td { + width: 500px; +} + +.table-hover.product thead tr th { + width: 500px; +} + +/*INVOICE*/ + +.table-hover.invoice thead{ + display: table; + width: 100%; +} + +.table-hover.invoice tbody{ + display: block; + width: 100%; + height: 600px; + overflow-y: scroll; + overflow-x: scroll; + word-break: break-all; +} + +.table-hover.invoice tbody td { + width: 500px; +} + +.table-hover.invoice thead th { + width: 500px; +} + +/*Product in shop*/ +.bodyProductInShop{ + min-width: 1000px; +} + + +.table-hover.productinshop thead{ + display: table; + width: 100%; +} + +.table-hover.productinshop tbody{ + display: block; + width: 100%; + height: 500px; + /*max-height: 500px;*/ + overflow-y: scroll; + overflow-x: scroll; + word-break: break-all; +} + +.table-hover.productinshop tbody tr td { + width: 500px; + text-align: center; +} + +.table-hover.productinshop thead tr th { + width: 500px; + text-align: center; +} + +/*InvoiceLine*/ + +.bodyInvoiceLine{ + min-width: 1000px; +} + +.table-hover.invoiceline thead{ + display: table; + width: 100%; +} + +.table-hover.invoiceline tbody{ + display: block; + width: 100%; + height: 500px; + /*max-height: 500px;*/ + overflow-y: scroll; + overflow-x: scroll; + word-break: break-all; +} + +.table-hover.invoiceline tbody tr td { + width: 500px; + text-align: center; +} + +.table-hover.invoiceline thead tr th { + width: 500px; + text-align: center; +} \ No newline at end of file diff --git a/ProjectPRJ/nbproject/ant-deploy.xml b/ProjectPRJ/nbproject/ant-deploy.xml new file mode 100644 index 0000000..5d33e0d --- /dev/null +++ b/ProjectPRJ/nbproject/ant-deploy.xml @@ -0,0 +1,150 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ProjectPRJ/nbproject/build-impl.xml b/ProjectPRJ/nbproject/build-impl.xml new file mode 100644 index 0000000..8edc222 --- /dev/null +++ b/ProjectPRJ/nbproject/build-impl.xml @@ -0,0 +1,1446 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must set src.dir + Must set test.src.dir + Must set build.dir + Must set build.web.dir + Must set build.generated.dir + Must set dist.dir + Must set build.classes.dir + Must set dist.javadoc.dir + Must set build.test.classes.dir + Must set build.test.results.dir + Must set build.classes.excludes + Must set dist.war + + + + + + + + + +The Java EE server classpath is not correctly set up - server home directory is missing. +Either open the project in the IDE and assign the server or setup the server classpath manually. +For example like this: + ant -Dj2ee.server.home=<app_server_installation_directory> + + +The Java EE server classpath is not correctly set up. Your active server type is ${j2ee.server.type}. +Either open the project in the IDE and assign the server or setup the server classpath manually. +For example like this: + ant -Duser.properties.file=<path_to_property_file> (where you put the property "j2ee.platform.classpath" in a .properties file) +or ant -Dj2ee.platform.classpath=<server_classpath> (where no properties file is used) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must set javac.includes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + No tests executed. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +The libs.CopyLibs.classpath property is not set up. +This property must point to +org-netbeans-modules-java-j2seproject-copylibstask.jar file which is part +of NetBeans IDE installation and is usually located at +<netbeans_installation>/java<version>/ant/extra folder. +Either open the project in the IDE and make sure CopyLibs library +exists or setup the property manually. For example like this: + ant -Dlibs.CopyLibs.classpath=a/path/to/org-netbeans-modules-java-j2seproject-copylibstask.jar + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must set JVM to use for profiling in profiler.info.jvm + Must set profiler agent JVM arguments in profiler.info.jvmargs.agent + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select some files in the IDE or set javac.includes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select some files in the IDE or set javac.jsp.includes + + + + + + + + + + + + + + + + + + + + + + + + + + Must select a file in the IDE or set jsp.includes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Browser not found, cannot launch the deployed application. Try to set the BROWSER environment variable. + + + Launching ${browse.url} + + + + + + Must select one file in the IDE or set run.class + + + + Must select one file in the IDE or set run.class + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select one file in the IDE or set debug.class + + + + + + + + + + + + Must select one file in the IDE or set debug.class + + + + + Must set fix.includes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + This target only works when run from inside the NetBeans IDE. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select some files in the IDE or set javac.includes + + + + + + + + + + + + + + + + + + + Some tests failed; see details above. + + + + + + + + + Must select some files in the IDE or set test.includes + + + + Some tests failed; see details above. + + + + Must select some files in the IDE or set test.class + Must select some method in the IDE or set test.method + + + + Some tests failed; see details above. + + + + + Must select one file in the IDE or set test.class + + + + Must select one file in the IDE or set test.class + Must select some method in the IDE or set test.method + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ProjectPRJ/nbproject/genfiles.properties b/ProjectPRJ/nbproject/genfiles.properties new file mode 100644 index 0000000..74cbdb3 --- /dev/null +++ b/ProjectPRJ/nbproject/genfiles.properties @@ -0,0 +1,8 @@ +build.xml.data.CRC32=cf28da97 +build.xml.script.CRC32=1e538a82 +build.xml.stylesheet.CRC32=651128d4@1.77.1.1 +# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. +# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. +nbproject/build-impl.xml.data.CRC32=cf28da97 +nbproject/build-impl.xml.script.CRC32=e6e4230c +nbproject/build-impl.xml.stylesheet.CRC32=99ea4b56@1.77.1.1 diff --git a/ProjectPRJ/nbproject/private/private.properties b/ProjectPRJ/nbproject/private/private.properties new file mode 100644 index 0000000..b22fe8e --- /dev/null +++ b/ProjectPRJ/nbproject/private/private.properties @@ -0,0 +1,7 @@ +deploy.ant.properties.file=C:\\Users\\Vu\\AppData\\Roaming\\NetBeans\\8.2\\config\\GlassFishEE6\\Properties\\gfv3568434696.properties +j2ee.platform.is.jsr109=true +j2ee.server.domain=D:/Program Files/NetBean/glassfish-4.1.1/glassfish/domains/domain1 +j2ee.server.home=D:/Program Files/NetBean/glassfish-4.1.1/glassfish +j2ee.server.instance=[D:\\Program Files\\NetBean\\glassfish-4.1.1\\glassfish;D:\\Program Files\\NetBean\\glassfish-4.1.1\\glassfish\\domains\\domain1]deployer:gfv3ee6wc:localhost:4848 +j2ee.server.middleware=D:/Program Files/NetBean/glassfish-4.1.1 +user.properties.file=C:\\Users\\Vu\\AppData\\Roaming\\NetBeans\\8.2\\build.properties diff --git a/ProjectPRJ/nbproject/private/private.xml b/ProjectPRJ/nbproject/private/private.xml new file mode 100644 index 0000000..1ef761e --- /dev/null +++ b/ProjectPRJ/nbproject/private/private.xml @@ -0,0 +1,10 @@ + + + + + + file:/E:/Code%20Term%204/Java%20Web/ProjectPRJ/web/container/admin/dashboard.jsp + file:/E:/Code%20Term%204/Java%20Web/ProjectPRJ/src/java/controller/Test3.java + + + diff --git a/ProjectPRJ/nbproject/project.properties b/ProjectPRJ/nbproject/project.properties new file mode 100644 index 0000000..f9572a6 --- /dev/null +++ b/ProjectPRJ/nbproject/project.properties @@ -0,0 +1,92 @@ +annotation.processing.enabled=true +annotation.processing.enabled.in.editor=true +annotation.processing.processors.list= +annotation.processing.run.all.processors=true +annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output +build.classes.dir=${build.web.dir}/WEB-INF/classes +build.classes.excludes=**/*.java,**/*.form +build.dir=build +build.generated.dir=${build.dir}/generated +build.generated.sources.dir=${build.dir}/generated-sources +build.test.classes.dir=${build.dir}/test/classes +build.test.results.dir=${build.dir}/test/results +build.web.dir=${build.dir}/web +build.web.excludes=${build.classes.excludes} +client.urlPart= +compile.jsps=false +conf.dir=${source.root}/conf +debug.classpath=${build.classes.dir}:${javac.classpath} +debug.test.classpath=\ + ${run.test.classpath} +display.browser=true +# Files to be excluded from distribution war +dist.archive.excludes= +dist.dir=dist +dist.ear.war=${dist.dir}/${war.ear.name} +dist.javadoc.dir=${dist.dir}/javadoc +dist.war=${dist.dir}/${war.name} +endorsed.classpath=\ + ${libs.javaee-endorsed-api-7.0.classpath} +excludes= +file.reference.sqljdbc4.jar=E:\\Code Term 3\\PRJ - Java Desktop\\Q3\\Q3\\Q3\\jdbc\\sqljdbc4.jar +includes=** +j2ee.compile.on.save=true +j2ee.copy.static.files.on.save=true +j2ee.deploy.on.save=true +j2ee.platform=1.7-web +j2ee.platform.classpath=${j2ee.server.home}/modules/endorsed/javax.annotation-api.jar:${j2ee.server.home}/modules/endorsed/jaxb-api.jar:${j2ee.server.home}/modules/endorsed/webservices-api-osgi.jar:${j2ee.server.home}/modules/bean-validator.jar:${j2ee.server.home}/modules/cdi-api.jar:${j2ee.server.home}/modules/javax.batch-api.jar:${j2ee.server.home}/modules/javax.ejb-api.jar:${j2ee.server.home}/modules/javax.el.jar:${j2ee.server.home}/modules/javax.enterprise.concurrent-api.jar:${j2ee.server.home}/modules/javax.enterprise.concurrent.jar:${j2ee.server.home}/modules/javax.enterprise.deploy-api.jar:${j2ee.server.home}/modules/javax.faces.jar:${j2ee.server.home}/modules/javax.inject.jar:${j2ee.server.home}/modules/javax.interceptor-api.jar:${j2ee.server.home}/modules/javax.jms-api.jar:${j2ee.server.home}/modules/javax.json.jar:${j2ee.server.home}/modules/javax.mail.jar:${j2ee.server.home}/modules/javax.management.j2ee-api.jar:${j2ee.server.home}/modules/javax.persistence.jar:${j2ee.server.home}/modules/javax.resource-api.jar:${j2ee.server.home}/modules/javax.security.auth.message-api.jar:${j2ee.server.home}/modules/javax.security.jacc-api.jar:${j2ee.server.home}/modules/javax.servlet-api.jar:${j2ee.server.home}/modules/javax.servlet.jsp-api.jar:${j2ee.server.home}/modules/javax.servlet.jsp.jar:${j2ee.server.home}/modules/javax.servlet.jsp.jstl-api.jar:${j2ee.server.home}/modules/javax.servlet.jsp.jstl.jar:${j2ee.server.home}/modules/javax.transaction-api.jar:${j2ee.server.home}/modules/javax.websocket-api.jar:${j2ee.server.home}/modules/javax.ws.rs-api.jar:${j2ee.server.home}/modules/javax.xml.registry-api.jar:${j2ee.server.home}/modules/javax.xml.rpc-api.jar:${j2ee.server.home}/modules/jaxb-osgi.jar:${j2ee.server.home}/modules/webservices-osgi.jar:${j2ee.server.home}/modules/weld-osgi-bundle.jar:${j2ee.server.middleware}/mq/lib/jaxm-api.jar +j2ee.platform.embeddableejb.classpath=${j2ee.server.home}/lib/embedded/glassfish-embedded-static-shell.jar +j2ee.platform.wscompile.classpath=${j2ee.server.home}/modules/webservices-osgi.jar +j2ee.platform.wsgen.classpath=${j2ee.server.home}/modules/webservices-osgi.jar:${j2ee.server.home}/modules/endorsed/webservices-api-osgi.jar:${j2ee.server.home}/modules/jaxb-osgi.jar:${j2ee.server.home}/modules/endorsed/jaxb-api.jar +j2ee.platform.wsimport.classpath=${j2ee.server.home}/modules/webservices-osgi.jar:${j2ee.server.home}/modules/endorsed/webservices-api-osgi.jar:${j2ee.server.home}/modules/jaxb-osgi.jar:${j2ee.server.home}/modules/endorsed/jaxb-api.jar +j2ee.platform.wsit.classpath= +j2ee.server.type=gfv3ee6 +jar.compress=false +javac.classpath=\ + ${libs.jstl.classpath}:\ + ${file.reference.sqljdbc4.jar} +# Space-separated list of extra javac options +javac.compilerargs= +javac.debug=true +javac.deprecation=false +javac.processorpath=\ + ${javac.classpath} +javac.source=1.8 +javac.target=1.8 +javac.test.classpath=\ + ${javac.classpath}:\ + ${build.classes.dir} +javac.test.processorpath=\ + ${javac.test.classpath} +javadoc.additionalparam= +javadoc.author=false +javadoc.encoding=${source.encoding} +javadoc.noindex=false +javadoc.nonavbar=false +javadoc.notree=false +javadoc.preview=true +javadoc.private=false +javadoc.splitindex=true +javadoc.use=true +javadoc.version=false +javadoc.windowtitle= +lib.dir=${web.docbase.dir}/WEB-INF/lib +no.dependencies=false +persistence.xml.dir=${conf.dir} +platform.active=default_platform +resource.dir=setup +run.test.classpath=\ + ${javac.test.classpath}:\ + ${build.test.classes.dir} +# Space-separated list of JVM arguments used when running a class with a main method or a unit test +# (you may also define separate properties like run-sys-prop.name=value instead of -Dname=value): +runmain.jvmargs= +source.encoding=UTF-8 +source.root=src +src.dir=${source.root}/java +test.src.dir=test +war.content.additional= +war.ear.name=${war.name} +war.name=ProjectPRJ.war +web.docbase.dir=web +webinf.dir=web/WEB-INF diff --git a/ProjectPRJ/nbproject/project.xml b/ProjectPRJ/nbproject/project.xml new file mode 100644 index 0000000..e20d14e --- /dev/null +++ b/ProjectPRJ/nbproject/project.xml @@ -0,0 +1,27 @@ + + + org.netbeans.modules.web.project + + + ProjectPRJ + 1.6.5 + + + ${libs.jstl.classpath} + WEB-INF/lib + + + ${file.reference.sqljdbc4.jar} + WEB-INF/lib + + + + + + + + + + + + diff --git a/ProjectPRJ/src/conf/MANIFEST.MF b/ProjectPRJ/src/conf/MANIFEST.MF new file mode 100644 index 0000000..59499bc --- /dev/null +++ b/ProjectPRJ/src/conf/MANIFEST.MF @@ -0,0 +1,2 @@ +Manifest-Version: 1.0 + diff --git a/ProjectPRJ/src/java/Context/DBContext.java b/ProjectPRJ/src/java/Context/DBContext.java new file mode 100644 index 0000000..d07da45 --- /dev/null +++ b/ProjectPRJ/src/java/Context/DBContext.java @@ -0,0 +1,35 @@ +/* + * To change this license header, choose License Headers in Project Properties. + * To change this template file, choose Tools | Templates + * and open the template in the editor. + */ +package Context; + +import java.sql.Connection; +import java.sql.DriverManager; + + +public class DBContext { + + /*USE BELOW METHOD FOR YOUR DATABASE CONNECTION FOR BOTH SINGLE AND MULTILPE SQL SERVER INSTANCE(s)*/ + /*DO NOT EDIT THE BELOW METHOD, YOU MUST USE ONLY THIS ONE FOR YOUR DATABASE CONNECTION*/ + public Connection getConnection()throws Exception { + String url = "jdbc:sqlserver://"+serverName+":"+portNumber + "\\" + instance +";databaseName="+dbName; + if(instance == null || instance.trim().isEmpty()) + url = "jdbc:sqlserver://"+serverName+":"+portNumber +";databaseName="+dbName; + Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver"); + return DriverManager.getConnection(url, userID, password); + } + + /*Insert your other code right after this comment*/ + + + + /*Change/update information of your database connection, DO NOT change name of instance variables in this class*/ + private final String serverName = "DESKTOP-JD4M2D1"; + private final String dbName = "Foodyhola"; + private final String portNumber = "1433"; + private final String instance="";//LEAVE THIS ONE EMPTY IF YOUR SQL IS A SINGLE INSTANCE + private final String userID = "thangvd"; + private final String password = "ducthangvp*"; +} diff --git a/ProjectPRJ/src/java/bean/InvoiceBean.java b/ProjectPRJ/src/java/bean/InvoiceBean.java new file mode 100644 index 0000000..af70a59 --- /dev/null +++ b/ProjectPRJ/src/java/bean/InvoiceBean.java @@ -0,0 +1,48 @@ +/* + * To change this license header, choose License Headers in Project Properties. + * To change this template file, choose Tools | Templates + * and open the template in the editor. + */ +package bean; + +import dao.InvoiceLineDAO; +import entity.InvoiceLine; +import java.io.Serializable; +import java.util.List; + +/** + * + * @author Vu + */ +public class InvoiceBean implements Serializable { + + private String invoiceid; + + public InvoiceBean() { + } + + public InvoiceBean(String invoiceid) { + this.invoiceid = invoiceid; + } + + public String getInvoiceid() { + return invoiceid; + } + + public void setInvoiceid(String invoiceid) { + this.invoiceid = invoiceid; + } + + public List getInvoice() { + try { + System.out.println(invoiceid); + List list = new InvoiceLineDAO().selectAll(Integer.valueOf(invoiceid)); + System.out.println(list); + return list; + + }catch(Exception ex){ + + } + return null; + } +} diff --git a/ProjectPRJ/src/java/controller/DashboardController.java b/ProjectPRJ/src/java/controller/DashboardController.java new file mode 100644 index 0000000..1a0df50 --- /dev/null +++ b/ProjectPRJ/src/java/controller/DashboardController.java @@ -0,0 +1,193 @@ +/* + * To change this license header, choose License Headers in Project Properties. + * To change this template file, choose Tools | Templates + * and open the template in the editor. + */ +package controller; + +import dao.InvoiceDAO; +import dao.InvoiceLineDAO; +import dao.ProductDAO; +import dao.ShopDAO; +import dao.UserDAO; +import java.io.IOException; +import java.io.PrintWriter; +import java.sql.Date; +import javax.servlet.RequestDispatcher; +import javax.servlet.ServletException; +import javax.servlet.http.HttpServlet; +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; + +/** + * + * @author Vu + */ +public class DashboardController extends HttpServlet { + + protected void processRequest(HttpServletRequest request, HttpServletResponse response) + throws ServletException, IOException { + response.setContentType("text/html;charset=UTF-8"); + request.setCharacterEncoding("utf-8"); + try { + + + //For USER + String txt = request.getParameter("searchUser"); + String valueSelect = request.getParameter("selectUser"); + String submit = request.getParameter("btnSubmit"); + String back = request.getParameter("btnBack"); + + //For SHOP + String txt1 = request.getParameter("searchShop"); + String valueSelect1 = request.getParameter("selectShop"); + String submit1 = request.getParameter("btnShopSubmit"); + String back1 = request.getParameter("btnShopBack"); + + //DAO + UserDAO daoUser = new UserDAO(); + ShopDAO daoShop = new ShopDAO(); + ProductDAO daoProduct = new ProductDAO(); + InvoiceDAO daoInvoice = new InvoiceDAO(); + + request.setAttribute("Shops", daoShop.selectAll()); + request.setAttribute("Users", daoUser.selectAll()); + request.setAttribute("Products", daoProduct.selectAll()); + request.setAttribute("Invoices", daoInvoice.selectAll()); + + + + //FOR SEARCH USER + if (txt != null && valueSelect != null && submit != null) { + if (valueSelect.equals("userID")) { + int userID = Integer.valueOf(txt); + request.setAttribute("SearchUserUserID", daoUser.searchByID(userID)); + } else { + request.setAttribute("SearchUserOther", daoUser.searchByOther(txt, valueSelect)); + } + } + if (back != null) { + request.setAttribute("back", "true"); + } + + //FOR SEARCH SHOP + if (txt1 != null && valueSelect1 != null && submit1 != null) { + if (valueSelect1.equals("shopID")) { + int shopID = Integer.valueOf(txt1); + request.setAttribute("SearchShopID", daoShop.searchByID(shopID)); + } else if (valueSelect1.equals("OpenOrClose")) { + boolean openOrClose = Boolean.valueOf(txt1); + request.setAttribute("SearchShopOpenOrClose", daoShop.searchByOpenOrClose(openOrClose)); + } else { + request.setAttribute("SearchShopOther", daoShop.searchByOther(txt1, valueSelect1)); + } + } + if (back1 != null) { + request.setAttribute("back1", "true"); + } + + //For SEARCH PRODUCT + String txt2 = request.getParameter("searchProduct"); + String valueSelect2 = request.getParameter("selectProduct"); + String submit2 = request.getParameter("btnProductSubmit"); + String back2 = request.getParameter("btnProductBack"); + + if (txt2 != null && valueSelect2 != null && submit2 != null) { + if (valueSelect2.equals("productID")) { + int productID = Integer.valueOf(txt2); + request.setAttribute("SearchProductID", daoProduct.searchByProductID(productID)); + } else if (valueSelect2.equals("Price")) { + int price = Integer.valueOf(txt2); + request.setAttribute("SearchProductPrice", daoProduct.searchByPrice(price)); + } else { + request.setAttribute("SearchProductOther", daoProduct.searchByOther(txt2, valueSelect2)); + } + } + if (back2 != null) { + request.setAttribute("back2", "true"); + } + + //FOR SEARCH INVOICE + String txt3 = request.getParameter("searchInvoice"); + String valueSelect3 = request.getParameter("selectInvoice"); + String submit3 = request.getParameter("btnInvoiceSubmit"); + String back3 = request.getParameter("btnInvoiceBack"); + if (txt3 != null && valueSelect3 != null && submit3 != null) { + if (valueSelect3.equals("invoiceID")) { + int invoiceID = Integer.valueOf(txt3); + request.setAttribute("SearchInvoiceID", daoInvoice.searchByInvoiceID(invoiceID)); + } else if (valueSelect3.equals("UserID")) { + int userID = Integer.valueOf(txt3); + request.setAttribute("SearchInvoiceUserID", daoInvoice.searchByUserID(userID)); + } else if (valueSelect3.equals("OrderTime")) { + Date orderTime = Date.valueOf(txt3); + request.setAttribute("SearchInvoiceOrderTime", daoInvoice.searchByOrderTime(orderTime)); + } else { + request.setAttribute("SearchInvoiceOther", daoInvoice.searchByOther(txt3, valueSelect3)); + } + } + if (back3 != null) { + request.setAttribute("back3", "true"); + } + + //FOR MODAL + String invoiceID = request.getParameter("Test"); + InvoiceLineDAO dao = new InvoiceLineDAO(); + if (invoiceID != null) { + int id = Integer.valueOf(invoiceID); + request.setAttribute("InvoiceLines", dao.selectAll(id)); + } + + //////////////////////////////////////////////////////////////////////////////////// + RequestDispatcher rd = request.getRequestDispatcher("/container/admin/dashboard.jsp"); + rd.forward(request, response); + } catch (Exception e) { + request.setAttribute("errorUser", "UserID must be Integer"); + request.setAttribute("errorShop", "ShopID must be Integer Or Open or Close must be boolean"); + request.setAttribute("errorProduct", "ProductID and Price must be Integer"); + request.setAttribute("errorInvoice", "InvoiceID and UserID must be Integer and OrderTime must be Date"); + RequestDispatcher rd = request.getRequestDispatcher("/container/admin/dashboard.jsp"); + rd.forward(request, response); + } + } + + // + /** + * Handles the HTTP GET method. + * + * @param request servlet request + * @param response servlet response + * @throws ServletException if a servlet-specific error occurs + * @throws IOException if an I/O error occurs + */ + @Override + protected void doGet(HttpServletRequest request, HttpServletResponse response) + throws ServletException, IOException { + processRequest(request, response); + } + + /** + * Handles the HTTP POST method. + * + * @param request servlet request + * @param response servlet response + * @throws ServletException if a servlet-specific error occurs + * @throws IOException if an I/O error occurs + */ + @Override + protected void doPost(HttpServletRequest request, HttpServletResponse response) + throws ServletException, IOException { + processRequest(request, response); + } + + /** + * Returns a short description of the servlet. + * + * @return a String containing servlet description + */ + @Override + public String getServletInfo() { + return "Short description"; + }// + +} diff --git a/ProjectPRJ/src/java/controller/InvoicelineController.java b/ProjectPRJ/src/java/controller/InvoicelineController.java new file mode 100644 index 0000000..742209c --- /dev/null +++ b/ProjectPRJ/src/java/controller/InvoicelineController.java @@ -0,0 +1,89 @@ +/* + * To change this license header, choose License Headers in Project Properties. + * To change this template file, choose Tools | Templates + * and open the template in the editor. + */ +package controller; + +import dao.InvoiceLineDAO; +import entity.Invoice; +import java.io.IOException; +import java.io.PrintWriter; +import java.sql.Date; +import javax.servlet.RequestDispatcher; +import javax.servlet.ServletException; +import javax.servlet.http.HttpServlet; +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; + +/** + * + * @author Vu + */ +public class InvoicelineController extends HttpServlet { + + /** + * Processes requests for both HTTP GET and POST + * methods. + * + * @param request servlet request + * @param response servlet response + * @throws ServletException if a servlet-specific error occurs + * @throws IOException if an I/O error occurs + */ + protected void processRequest(HttpServletRequest request, HttpServletResponse response) + throws ServletException, IOException { + response.setContentType("text/html;charset=UTF-8"); + try (PrintWriter out = response.getWriter()) { + int invoiceID = Integer.valueOf(request.getParameter("invoiceID")); + System.out.println(invoiceID); + InvoiceLineDAO dao = new InvoiceLineDAO(); + request.setAttribute("INVOICEID", invoiceID); + request.setAttribute("InvoiceLines", dao.selectAll(invoiceID)); + RequestDispatcher rd = request.getRequestDispatcher("/container/admin/invoicelines.jsp"); + rd.include(request, response); + }catch(Exception e){ + + } + } + + // + /** + * Handles the HTTP GET method. + * + * @param request servlet request + * @param response servlet response + * @throws ServletException if a servlet-specific error occurs + * @throws IOException if an I/O error occurs + */ + @Override + protected void doGet(HttpServletRequest request, HttpServletResponse response) + throws ServletException, IOException { + processRequest(request, response); + } + + /** + * Handles the HTTP POST method. + * + * @param request servlet request + * @param response servlet response + * @throws ServletException if a servlet-specific error occurs + * @throws IOException if an I/O error occurs + */ + @Override + protected void doPost(HttpServletRequest request, HttpServletResponse response) + throws ServletException, IOException { + processRequest(request, response); + } + + /** + * Returns a short description of the servlet. + * + * @return a String containing servlet description + */ + @Override + public String getServletInfo() { + return "Short description"; + }// + +} diff --git a/ProjectPRJ/src/java/controller/ProductController.java b/ProjectPRJ/src/java/controller/ProductController.java new file mode 100644 index 0000000..335e329 --- /dev/null +++ b/ProjectPRJ/src/java/controller/ProductController.java @@ -0,0 +1,90 @@ +/* + * To change this license header, choose License Headers in Project Properties. + * To change this template file, choose Tools | Templates + * and open the template in the editor. + */ +package controller; + +import dao.ProductDAO; +import java.io.IOException; +import java.io.PrintWriter; +import javax.servlet.RequestDispatcher; +import javax.servlet.ServletException; +import javax.servlet.http.HttpServlet; +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; + +/** + * + * @author Vu + */ +public class ProductController extends HttpServlet { + + /** + * Processes requests for both HTTP GET and POST + * methods. + * + * @param request servlet request + * @param response servlet response + * @throws ServletException if a servlet-specific error occurs + * @throws IOException if an I/O error occurs + */ + protected void processRequest(HttpServletRequest request, HttpServletResponse response) + throws ServletException, IOException { + response.setContentType("text/html;charset=UTF-8"); + try (PrintWriter out = response.getWriter()) { + int shopID = Integer.valueOf(request.getParameter("shopID")); + ProductDAO daoProduct = new ProductDAO(); + request.setAttribute("Products", daoProduct.selectAllByShopID(shopID)); + + request.setAttribute("SHOPID", shopID); + ///////////////////////////////////////////////////////////////////////////////////////// + RequestDispatcher rd = request.getRequestDispatcher("/container/admin/productinshop.jsp"); + rd.forward(request, response); + } catch (Exception ex) { + request.setAttribute("errorProduct", "ProductID and Price must be Integer"); + RequestDispatcher rd = request.getRequestDispatcher("/container/admin/productinshop.jsp"); + rd.forward(request, response); + } + } + + // + /** + * Handles the HTTP GET method. + * + * @param request servlet request + * @param response servlet response + * @throws ServletException if a servlet-specific error occurs + * @throws IOException if an I/O error occurs + */ + @Override + protected void doGet(HttpServletRequest request, HttpServletResponse response) + throws ServletException, IOException { + processRequest(request, response); + } + + /** + * Handles the HTTP POST method. + * + * @param request servlet request + * @param response servlet response + * @throws ServletException if a servlet-specific error occurs + * @throws IOException if an I/O error occurs + */ + @Override + protected void doPost(HttpServletRequest request, HttpServletResponse response) + throws ServletException, IOException { + processRequest(request, response); + } + + /** + * Returns a short description of the servlet. + * + * @return a String containing servlet description + */ + @Override + public String getServletInfo() { + return "Short description"; + }// + +} diff --git a/ProjectPRJ/src/java/controller/Test.java b/ProjectPRJ/src/java/controller/Test.java new file mode 100644 index 0000000..117098d --- /dev/null +++ b/ProjectPRJ/src/java/controller/Test.java @@ -0,0 +1,105 @@ +/* + * To change this license header, choose License Headers in Project Properties. + * To change this template file, choose Tools | Templates + * and open the template in the editor. + */ +package controller; + +import dao.ProductDAO; +import java.io.IOException; +import java.io.PrintWriter; +import javax.servlet.RequestDispatcher; +import javax.servlet.ServletException; +import javax.servlet.http.HttpServlet; +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; + +/** + * + * @author Vu + */ +public class Test extends HttpServlet { + + /** + * Processes requests for both HTTP GET and POST + * methods. + * + * @param request servlet request + * @param response servlet response + * @throws ServletException if a servlet-specific error occurs + * @throws IOException if an I/O error occurs + */ + protected void processRequest(HttpServletRequest request, HttpServletResponse response) + throws ServletException, IOException { + response.setContentType("text/html;charset=UTF-8"); + try { + String shopID = request.getParameter("SHOPID"); + String selectProduct = request.getParameter("selectProduct"); + String searchProduct = request.getParameter("searchProduct"); + String submit = request.getParameter("btnProductSubmit"); + ProductDAO dao = new ProductDAO(); + int shopid = Integer.valueOf(shopID); + request.setAttribute("AllProduct", dao.selectAllByShopID(shopid)); + request.setAttribute("SHOPID", shopid); + if (searchProduct != null && selectProduct != null && submit != null) { + if (selectProduct.equals("productID")) { + int productID = Integer.valueOf(searchProduct); + request.setAttribute("SearchProID", dao.searchByShopIDAndProductID(shopid, productID)); + }else if(selectProduct.equals("Price")){ + float price = Float.valueOf(searchProduct); + request.setAttribute("SearchPrice", dao.searchByShopIDAndPrice(shopid, price)); + }else { + request.setAttribute("SearchOther", dao.searchByShopIDAndNameImage(shopid, searchProduct, selectProduct)); + } + } + + ///////////////////////////////////////////////////////////////////////////////////////// + RequestDispatcher rd = request.getRequestDispatcher("/container/admin/productinshop.jsp"); + rd.forward(request, response); + } catch (Exception ex) { + request.setAttribute("errorProduct", "ProductID and Price must be Integer"); + RequestDispatcher rd = request.getRequestDispatcher("/container/admin/productinshop.jsp"); + rd.forward(request, response); + } + } + + // + /** + * Handles the HTTP GET method. + * + * @param request servlet request + * @param response servlet response + * @throws ServletException if a servlet-specific error occurs + * @throws IOException if an I/O error occurs + */ + @Override + protected void doGet(HttpServletRequest request, HttpServletResponse response) + throws ServletException, IOException { + processRequest(request, response); + } + + /** + * Handles the HTTP POST method. + * + * @param request servlet request + * @param response servlet response + * @throws ServletException if a servlet-specific error occurs + * @throws IOException if an I/O error occurs + */ + @Override + protected void doPost(HttpServletRequest request, HttpServletResponse response) + throws ServletException, IOException { + processRequest(request, response); + } + + /** + * Returns a short description of the servlet. + * + * @return a String containing servlet description + */ + @Override + public String getServletInfo() { + return "Short description"; + }// + +} diff --git a/ProjectPRJ/src/java/controller/Test2.java b/ProjectPRJ/src/java/controller/Test2.java new file mode 100644 index 0000000..a4fc6a0 --- /dev/null +++ b/ProjectPRJ/src/java/controller/Test2.java @@ -0,0 +1,104 @@ +/* + * To change this license header, choose License Headers in Project Properties. + * To change this template file, choose Tools | Templates + * and open the template in the editor. + */ +package controller; + +import dao.InvoiceLineDAO; +import java.io.IOException; +import java.io.PrintWriter; +import javax.servlet.RequestDispatcher; +import javax.servlet.ServletException; +import javax.servlet.http.HttpServlet; +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; + +/** + * + * @author Vu + */ +public class Test2 extends HttpServlet { + + /** + * Processes requests for both HTTP GET and POST + * methods. + * + * @param request servlet request + * @param response servlet response + * @throws ServletException if a servlet-specific error occurs + * @throws IOException if an I/O error occurs + */ + protected void processRequest(HttpServletRequest request, HttpServletResponse response) + throws ServletException, IOException { + response.setContentType("text/html;charset=UTF-8"); + try { + String invoiceID = request.getParameter("INVOICEID"); + String selectInvoiceLine = request.getParameter("selectInvoiceLine"); + String searchInvoiceLine = request.getParameter("searchInvoiceLine"); + String submit = request.getParameter("btnInvoiceLineSubmit"); + InvoiceLineDAO dao = new InvoiceLineDAO(); + + int invoiceid = Integer.valueOf(invoiceID); + request.setAttribute("INVOICEID", invoiceid); + request.setAttribute("AllProduct", dao.selectAll(invoiceid)); + + if(searchInvoiceLine != null && selectInvoiceLine != null && submit != null){ + if(selectInvoiceLine.equals("Note")){ + request.setAttribute("SearchNote", dao.selectByNote(invoiceid, searchInvoiceLine)); + }else{ + int value = Integer.valueOf(searchInvoiceLine); + request.setAttribute("SearchOther", dao.selectByProductQuatityPrice(invoiceid, value, selectInvoiceLine)); + } + } + + RequestDispatcher rd = request.getRequestDispatcher("/container/admin/invoicelines.jsp"); + rd.forward(request, response); + + }catch(Exception ex){ + request.setAttribute("errorInvoiceLine", "ProductID and UnitPrice and Quatity must be Integer"); + RequestDispatcher rd = request.getRequestDispatcher("/container/admin/invoicelines.jsp"); + rd.forward(request, response); + } + } + + // + /** + * Handles the HTTP GET method. + * + * @param request servlet request + * @param response servlet response + * @throws ServletException if a servlet-specific error occurs + * @throws IOException if an I/O error occurs + */ + @Override + protected void doGet(HttpServletRequest request, HttpServletResponse response) + throws ServletException, IOException { + processRequest(request, response); + } + + /** + * Handles the HTTP POST method. + * + * @param request servlet request + * @param response servlet response + * @throws ServletException if a servlet-specific error occurs + * @throws IOException if an I/O error occurs + */ + @Override + protected void doPost(HttpServletRequest request, HttpServletResponse response) + throws ServletException, IOException { + processRequest(request, response); + } + + /** + * Returns a short description of the servlet. + * + * @return a String containing servlet description + */ + @Override + public String getServletInfo() { + return "Short description"; + }// + +} diff --git a/ProjectPRJ/src/java/controller/Test3.java b/ProjectPRJ/src/java/controller/Test3.java new file mode 100644 index 0000000..c587c7e --- /dev/null +++ b/ProjectPRJ/src/java/controller/Test3.java @@ -0,0 +1,94 @@ +/* + * To change this license header, choose License Headers in Project Properties. + * To change this template file, choose Tools | Templates + * and open the template in the editor. + */ +package controller; + +import dao.UserDAO; +import java.io.IOException; +import java.io.PrintWriter; +import javax.servlet.ServletException; +import javax.servlet.http.HttpServlet; +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; + +/** + * + * @author Vu + */ +public class Test3 extends HttpServlet { + + /** + * Processes requests for both HTTP GET and POST + * methods. + * + * @param request servlet request + * @param response servlet response + * @throws ServletException if a servlet-specific error occurs + * @throws IOException if an I/O error occurs + */ + protected void processRequest(HttpServletRequest request, HttpServletResponse response) + throws ServletException, IOException { + response.setContentType("text/html;charset=UTF-8"); + try { + String USERID = request.getParameter("UserID"); + String ACTIVE = request.getParameter("Active"); + String submodal = request.getParameter("btnModal"); + response.sendRedirect("/ProjectPRJ/Dashboard"); + UserDAO daoUser = new UserDAO(); + if (submodal != null) { + System.out.println(submodal); + int value1 = Integer.valueOf(ACTIVE); + int value2 = Integer.valueOf(USERID); + System.out.println(value1 + "" + value2); + daoUser.setStatus(value1, value2); + response.sendRedirect("/ProjectPRJ/Dashboard"); + return; + } + + } catch (Exception ex) { + + } + } + + // + /** + * Handles the HTTP GET method. + * + * @param request servlet request + * @param response servlet response + * @throws ServletException if a servlet-specific error occurs + * @throws IOException if an I/O error occurs + */ + @Override + protected void doGet(HttpServletRequest request, HttpServletResponse response) + throws ServletException, IOException { + processRequest(request, response); + } + + /** + * Handles the HTTP POST method. + * + * @param request servlet request + * @param response servlet response + * @throws ServletException if a servlet-specific error occurs + * @throws IOException if an I/O error occurs + */ + @Override + protected void doPost(HttpServletRequest request, HttpServletResponse response) + throws ServletException, IOException { + processRequest(request, response); + } + + /** + * Returns a short description of the servlet. + * + * @return a String containing servlet description + */ + @Override + public String getServletInfo() { + return "Short description"; + }// + +} diff --git a/ProjectPRJ/src/java/dao/InvoiceDAO.java b/ProjectPRJ/src/java/dao/InvoiceDAO.java new file mode 100644 index 0000000..d382546 --- /dev/null +++ b/ProjectPRJ/src/java/dao/InvoiceDAO.java @@ -0,0 +1,110 @@ +/* + * To change this license header, choose License Headers in Project Properties. + * To change this template file, choose Tools | Templates + * and open the template in the editor. + */ +package dao; + +import Context.DBContext; +import entity.Invoice; +import java.sql.Connection; +import java.sql.ResultSet; +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +/** + * + * @author Vu + */ +public class InvoiceDAO { + public List selectAll() throws Exception { + List invoices = new ArrayList<>(); + String query = "select * from [Invoice]"; + Connection con = new DBContext().getConnection(); + ResultSet rs = con.prepareStatement(query).executeQuery(); + while(rs.next()){ + int invoiceID = rs.getInt("InvoiceID"); + Date orderTime = rs.getDate("OrderTime"); + int userID = rs.getInt("UserID"); + String address = rs.getString("Address"); + String phoneNumber = rs.getString("PhoneNumber"); + invoices.add(new Invoice(invoiceID, orderTime, userID, address, phoneNumber)); + } + rs.close(); + con.close(); + return invoices; + } + + public List searchByInvoiceID(int invoicesID) throws Exception { + List invoices = new ArrayList<>(); + String query = "select * from [Invoice] where InvoiceID like N'%"+invoicesID+"%'"; + Connection con = new DBContext().getConnection(); + ResultSet rs = con.prepareStatement(query).executeQuery(); + while(rs.next()){ + int invoiceID = rs.getInt("InvoiceID"); + Date orderTime = rs.getDate("OrderTime"); + int userID = rs.getInt("UserID"); + String address = rs.getString("Address"); + String phoneNumber = rs.getString("PhoneNumber"); + invoices.add(new Invoice(invoiceID, orderTime, userID, address, phoneNumber)); + } + rs.close(); + con.close(); + return invoices; + } + + public List searchByUserID(int usersID) throws Exception { + List invoices = new ArrayList<>(); + String query = "select * from [Invoice] where UserID like N'%"+usersID+"%'"; + Connection con = new DBContext().getConnection(); + ResultSet rs = con.prepareStatement(query).executeQuery(); + while(rs.next()){ + int userID = rs.getInt("UserID"); + int invoiceID = rs.getInt("InvoiceID"); + Date orderTime = rs.getDate("OrderTime"); + String address = rs.getString("Address"); + String phoneNumber = rs.getString("PhoneNumber"); + invoices.add(new Invoice(invoiceID, orderTime, userID, address, phoneNumber)); + } + rs.close(); + con.close(); + return invoices; + } + + public List searchByOrderTime(Date ordersTime) throws Exception { + List invoices = new ArrayList<>(); + String query = "select * from [Invoice] where OrderTime like N'%"+ordersTime+"%'"; + Connection con = new DBContext().getConnection(); + ResultSet rs = con.prepareStatement(query).executeQuery(); + while(rs.next()){ + int invoiceID = rs.getInt("InvoiceID"); + String address = rs.getString("Address"); + Date orderTime = rs.getDate("OrderTime"); + int userID = rs.getInt("UserID"); + String phoneNumber = rs.getString("PhoneNumber"); + invoices.add(new Invoice(invoiceID, orderTime, userID, address, phoneNumber)); + } + rs.close(); + con.close(); + return invoices; + } + + public List searchByOther(String value, String coloum) throws Exception { + List invoices = new ArrayList<>(); + String query = "select * from [Invoice] where "+coloum+" like N'%"+value+"%'"; + Connection con = new DBContext().getConnection(); + ResultSet rs = con.prepareStatement(query).executeQuery(); + while(rs.next()){ + int invoiceID = rs.getInt("InvoiceID"); + String address = rs.getString("Address"); + int userID = rs.getInt("UserID"); + Date orderTime = rs.getDate("OrderTime"); + String phoneNumber = rs.getString("PhoneNumber"); + invoices.add(new Invoice(invoiceID, orderTime, userID, address, phoneNumber)); + } + rs.close(); + con.close(); + return invoices; + } +} diff --git a/ProjectPRJ/src/java/dao/InvoiceLineDAO.java b/ProjectPRJ/src/java/dao/InvoiceLineDAO.java new file mode 100644 index 0000000..c518054 --- /dev/null +++ b/ProjectPRJ/src/java/dao/InvoiceLineDAO.java @@ -0,0 +1,71 @@ +/* + * To change this license header, choose License Headers in Project Properties. + * To change this template file, choose Tools | Templates + * and open the template in the editor. + */ +package dao; + +import Context.DBContext; +import entity.InvoiceLine; +import java.sql.Connection; +import java.sql.ResultSet; +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +/** + * + * @author Vu + */ +public class InvoiceLineDAO { + public List selectAll(int invoiceID) throws Exception { + List invoicelines = new ArrayList<>(); + String query = "select * from [InvoiceLine] where InvoiceID = "+invoiceID; + Connection con = new DBContext().getConnection(); + ResultSet rs = con.prepareStatement(query).executeQuery(); + while(rs.next()){ + int productID = rs.getInt("ProductID"); + int quatity = rs.getInt("Quatity"); + int unitprice = rs.getInt("UnitPrice"); + String note = rs.getString("Note"); + invoicelines.add(new InvoiceLine(invoiceID, productID, quatity, unitprice, note)); + } + rs.close(); + con.close(); + return invoicelines; + } + + public List selectByProductQuatityPrice(int invoiceID, int value, String coloum) throws Exception { + List invoicelines = new ArrayList<>(); + String query = "select * from [InvoiceLine] where InvoiceID = "+invoiceID+" and "+coloum+" like N'%"+value+"%'"; + Connection con = new DBContext().getConnection(); + ResultSet rs = con.prepareStatement(query).executeQuery(); + while(rs.next()){ + int productID = rs.getInt("ProductID"); + int quatity = rs.getInt("Quatity"); + int unitprice = rs.getInt("UnitPrice"); + String note = rs.getString("Note"); + invoicelines.add(new InvoiceLine(invoiceID, productID, quatity, unitprice, note)); + } + rs.close(); + con.close(); + return invoicelines; + } + + public List selectByNote(int invoiceID, String notes) throws Exception { + List invoicelines = new ArrayList<>(); + String query = "select * from [InvoiceLine] where InvoiceID = "+invoiceID+" and Note like N'%"+notes+"%'"; + Connection con = new DBContext().getConnection(); + ResultSet rs = con.prepareStatement(query).executeQuery(); + while(rs.next()){ + int productID = rs.getInt("ProductID"); + int quatity = rs.getInt("Quatity"); + int unitprice = rs.getInt("UnitPrice"); + String note = rs.getString("Note"); + invoicelines.add(new InvoiceLine(invoiceID, productID, quatity, unitprice, note)); + } + rs.close(); + con.close(); + return invoicelines; + } +} diff --git a/ProjectPRJ/src/java/dao/ProductDAO.java b/ProjectPRJ/src/java/dao/ProductDAO.java new file mode 100644 index 0000000..d167e47 --- /dev/null +++ b/ProjectPRJ/src/java/dao/ProductDAO.java @@ -0,0 +1,164 @@ +/* + * To change this license header, choose License Headers in Project Properties. + * To change this template file, choose Tools | Templates + * and open the template in the editor. + */ +package dao; + +import Context.DBContext; +import entity.Product; +import java.sql.Connection; +import java.sql.ResultSet; +import java.util.ArrayList; +import java.util.List; + +/** + * + * @author Vu + */ +public class ProductDAO { + public List selectAll() throws Exception { + List products = new ArrayList<>(); + String query = "select * from [Product]"; + Connection con = new DBContext().getConnection(); + ResultSet rs = con.prepareStatement(query).executeQuery(); + while(rs.next()){ + int productID = rs.getInt("ProductID"); + int shopID = rs.getInt("ShopID"); + String name = rs.getString("Name"); + String image = rs.getString("Image"); + float price = rs.getFloat("Price"); + products.add(new Product(productID, shopID, name, image, price)); + } + rs.close(); + con.close(); + return products; + } + + public List selectAllByShopID(int sopID) throws Exception { + List products = new ArrayList<>(); + String query = "select * from [Product] where ShopID = "+sopID; + Connection con = new DBContext().getConnection(); + ResultSet rs = con.prepareStatement(query).executeQuery(); + while(rs.next()){ + int shopID = rs.getInt("ShopID"); + int productID = rs.getInt("ProductID"); + String name = rs.getString("Name"); + String image = rs.getString("Image"); + float price = rs.getFloat("Price"); + products.add(new Product(productID, shopID, name, image, price)); + } + rs.close(); + con.close(); + return products; + } + + public List searchByProductID(int proID) throws Exception { + List products = new ArrayList<>(); + String query = "select * from [Product] where ProductID like N'%"+proID+"%'"; + Connection con = new DBContext().getConnection(); + ResultSet rs = con.prepareStatement(query).executeQuery(); + while(rs.next()){ + int productID = rs.getInt("ProductID"); + int shopID = rs.getInt("ShopID"); + String name = rs.getString("Name"); + String image = rs.getString("Image"); + float price = rs.getFloat("Price"); + products.add(new Product(productID, shopID, name, image, price)); + } + rs.close(); + con.close(); + return products; + } + + public List searchByPrice(int prices) throws Exception { + List products = new ArrayList<>(); + String query = "select * from [Product] where Price like N'%"+prices+"%'"; + Connection con = new DBContext().getConnection(); + ResultSet rs = con.prepareStatement(query).executeQuery(); + while(rs.next()){ + int productID = rs.getInt("ProductID"); + int shopID = rs.getInt("ShopID"); + String name = rs.getString("Name"); + String image = rs.getString("Image"); + float price = rs.getFloat("Price"); + products.add(new Product(productID, shopID, name, image, price)); + } + rs.close(); + con.close(); + return products; + } + + public List searchByOther(String value, String coloum) throws Exception { + List products = new ArrayList<>(); + String query = "select * from [Product] where "+coloum+" like N'%"+value+"%'"; + Connection con = new DBContext().getConnection(); + ResultSet rs = con.prepareStatement(query).executeQuery(); + while(rs.next()){ + int productID = rs.getInt("ProductID"); + int shopID = rs.getInt("ShopID"); + String name = rs.getString("Name"); + String image = rs.getString("Image"); + float price = rs.getFloat("Price"); + products.add(new Product(productID, shopID, name, image, price)); + } + rs.close(); + con.close(); + return products; + } + + public List searchByShopIDAndProductID(int sopID, int proID) throws Exception { + List products = new ArrayList<>(); + String query = "select * from [Product] where ShopID = "+sopID+" and ProductID like N'%"+proID+"%'"; + Connection con = new DBContext().getConnection(); + ResultSet rs = con.prepareStatement(query).executeQuery(); + while(rs.next()){ + int shopID = rs.getInt("ShopID"); + int productID = rs.getInt("ProductID"); + String name = rs.getString("Name"); + String image = rs.getString("Image"); + float price = rs.getFloat("Price"); + products.add(new Product(productID, shopID, name, image, price)); + } + rs.close(); + con.close(); + return products; + } + + public List searchByShopIDAndNameImage(int sopID, String names,String coloum) throws Exception { + List products = new ArrayList<>(); + String query = "select * from [Product] where ShopID = "+sopID+" and "+coloum+" like N'%"+names+"%'"; + Connection con = new DBContext().getConnection(); + ResultSet rs = con.prepareStatement(query).executeQuery(); + while(rs.next()){ + int shopID = rs.getInt("ShopID"); + int productID = rs.getInt("ProductID"); + String name = rs.getString("Name"); + String image = rs.getString("Image"); + float price = rs.getFloat("Price"); + products.add(new Product(productID, shopID, name, image, price)); + } + rs.close(); + con.close(); + return products; + } + + public List searchByShopIDAndPrice(int sopID, float prices) throws Exception { + List products = new ArrayList<>(); + String query = "select * from [Product] where ShopID = "+sopID+" and Price = "+prices+""; + Connection con = new DBContext().getConnection(); + ResultSet rs = con.prepareStatement(query).executeQuery(); + while(rs.next()){ + int shopID = rs.getInt("ShopID"); + int productID = rs.getInt("ProductID"); + String name = rs.getString("Name"); + String image = rs.getString("Image"); + float price = rs.getFloat("Price"); + products.add(new Product(productID, shopID, name, image, price)); + } + rs.close(); + con.close(); + return products; + } + +} diff --git a/ProjectPRJ/src/java/dao/ShopDAO.java b/ProjectPRJ/src/java/dao/ShopDAO.java new file mode 100644 index 0000000..b169415 --- /dev/null +++ b/ProjectPRJ/src/java/dao/ShopDAO.java @@ -0,0 +1,96 @@ +/* + * To change this license header, choose License Headers in Project Properties. + * To change this template file, choose Tools | Templates + * and open the template in the editor. + */ +package dao; + +import Context.DBContext; +import entity.Shop; +import java.sql.Connection; +import java.sql.ResultSet; +import java.util.ArrayList; +import java.util.List; + +/** + * + * @author Vu + */ +public class ShopDAO { + public List selectAll() throws Exception { + List shops = new ArrayList<>(); + String query = "select * from [Shop]"; + Connection con = new DBContext().getConnection(); + ResultSet rs = con.prepareStatement(query).executeQuery(); + while(rs.next()){ + int shopID = rs.getInt("ShopID"); + int userID = rs.getInt("UserID"); + String title = rs.getString("Title"); + String description = rs.getString("Description"); + boolean openOrClose = rs.getBoolean("OpenOrClose"); + shops.add(new Shop(shopID, userID, title, description, openOrClose)); + } + rs.close(); + con.close(); + return shops; + } + + public List searchByID(int shID) throws Exception { + List shops = new ArrayList<>(); + String query = "select * from [Shop] where ShopID like N'%"+shID+"%'"; + Connection con = new DBContext().getConnection(); + ResultSet rs = con.prepareStatement(query).executeQuery(); + while(rs.next()){ + int shopID = rs.getInt("ShopID"); + int userID = rs.getInt("UserID"); + String title = rs.getString("Title"); + String description = rs.getString("Description"); + boolean openOrClose = rs.getBoolean("OpenOrClose"); + shops.add(new Shop(shopID, userID, title, description, openOrClose)); + } + rs.close(); + con.close(); + return shops; + } + + public List searchByOpenOrClose(boolean openOrClose) throws Exception { + List shops = new ArrayList<>(); + int i = 0; + if(openOrClose == true){ + i = 1; + }else{ + i = 0; + } + String query = "select * from [Shop] where OpenOrClose = "+i; + Connection con = new DBContext().getConnection(); + ResultSet rs = con.prepareStatement(query).executeQuery(); + while(rs.next()){ + int shopID = rs.getInt("ShopID"); + int userID = rs.getInt("UserID"); + String title = rs.getString("Title"); + String description = rs.getString("Description"); + shops.add(new Shop(shopID, userID, title, description, openOrClose)); + } + rs.close(); + con.close(); + return shops; + } + + public List searchByOther(String value, String coloum) throws Exception { + List shops = new ArrayList<>(); + String query = "select * from [Shop] where "+coloum+" like N'%"+value+"%'"; + Connection con = new DBContext().getConnection(); + ResultSet rs = con.prepareStatement(query).executeQuery(); + while(rs.next()){ + int shopID = rs.getInt("ShopID"); + int userID = rs.getInt("UserID"); + String title = rs.getString("Title"); + String description = rs.getString("Description"); + boolean openOrClose = rs.getBoolean("OpenOrClose"); + shops.add(new Shop(shopID, userID, title, description, openOrClose)); + } + rs.close(); + con.close(); + return shops; + } +} diff --git a/ProjectPRJ/src/java/dao/UserDAO.java b/ProjectPRJ/src/java/dao/UserDAO.java new file mode 100644 index 0000000..4badf90 --- /dev/null +++ b/ProjectPRJ/src/java/dao/UserDAO.java @@ -0,0 +1,90 @@ +/* + * To change this license header, choose License Headers in Project Properties. + * To change this template file, choose Tools | Templates + * and open the template in the editor. + */ +package dao; + +import Context.DBContext; +import entity.User; +import java.sql.Connection; +import java.sql.PreparedStatement; +import java.sql.ResultSet; +import java.sql.Statement; +import java.util.ArrayList; +import java.util.List; + +public class UserDAO { + public List selectAll() throws Exception { + List users = new ArrayList<>(); + String query = "select * from [User]"; + Connection con = new DBContext().getConnection(); + ResultSet rs = con.prepareStatement(query).executeQuery(); + while(rs.next()){ + int userID = rs.getInt("UserID"); + String userName = rs.getString("Username"); + String password = rs.getString("Password"); + String name = rs.getString("Name"); + String email = rs.getString("Email"); + String avatarUrl = rs.getString("AvatarUrl"); + int role = rs.getInt("Role"); + int active = rs.getInt("Active"); + users.add(new User(userID, userName, password, name, email, avatarUrl, role, active)); + } + rs.close(); + con.close(); + return users; + } + + public List searchByID(int usID) throws Exception { + List users = new ArrayList<>(); + String query = "select * from [User] where UserID like N'%"+usID+"%'"; + Connection con = new DBContext().getConnection(); + ResultSet rs = con.prepareStatement(query).executeQuery(); + while(rs.next()){ + int userID = rs.getInt("UserID"); + String userName = rs.getString("Username"); + String password = rs.getString("Password"); + String name = rs.getString("Name"); + String email = rs.getString("Email"); + String avatarUrl = rs.getString("AvatarUrl"); + int role = rs.getInt("Role"); + int active = rs.getInt("Active"); + users.add(new User(userID, userName, password, name, email, avatarUrl, role, active)); + } + rs.close(); + con.close(); + return users; + } + + public List searchByOther(String value, String coloum) throws Exception { + List users = new ArrayList<>(); + String query = "select * from [User] where "+coloum+" like N'%"+value+"%'"; + Connection con = new DBContext().getConnection(); + PreparedStatement ps = con.prepareStatement(query); + ResultSet rs = ps.executeQuery(); + while(rs.next()){ + int userID = rs.getInt("UserID"); + String userName = rs.getString("Username"); + String password = rs.getString("Password"); + String name = rs.getString("Name"); + String email = rs.getString("Email"); + String avatarUrl = rs.getString("AvatarUrl"); + int role = rs.getInt("Role"); + int active = rs.getInt("Active"); + users.add(new User(userID, userName, password, name, email, avatarUrl, role, active)); + } + rs.close(); + con.close(); + return users; + } + + public void setStatus(int value1, int value2) throws Exception{ + String query = "UPDATE [User] set Active = "+value1+" where UserID = "+value2; + Connection con = new DBContext().getConnection(); + Statement stmt = con.createStatement(); + stmt.executeQuery(query); + stmt.close(); + con.close(); + } +} diff --git a/ProjectPRJ/src/java/entity/Invoice.java b/ProjectPRJ/src/java/entity/Invoice.java new file mode 100644 index 0000000..3104398 --- /dev/null +++ b/ProjectPRJ/src/java/entity/Invoice.java @@ -0,0 +1,73 @@ +/* + * To change this license header, choose License Headers in Project Properties. + * To change this template file, choose Tools | Templates + * and open the template in the editor. + */ +package entity; + +import java.util.Date; + +/** + * + * @author Vu + */ +public class Invoice { + private int invoiceID; + private Date orderTime; + private int userID; + private String address; + private String phoneNumber; + + public Invoice() { + } + + public Invoice(int invoiceID, Date orderTime, int userID, String address, String phoneNumber) { + this.invoiceID = invoiceID; + this.orderTime = orderTime; + this.userID = userID; + this.address = address; + this.phoneNumber = phoneNumber; + } + + public int getInvoiceID() { + return invoiceID; + } + + public Date getOrderTime() { + return orderTime; + } + + public int getUserID() { + return userID; + } + + public String getAddress() { + return address; + } + + public String getPhoneNumber() { + return phoneNumber; + } + + public void setInvoiceID(int invoiceID) { + this.invoiceID = invoiceID; + } + + public void setOrderTime(Date orderTime) { + this.orderTime = orderTime; + } + + public void setUserID(int userID) { + this.userID = userID; + } + + public void setAddress(String address) { + this.address = address; + } + + public void setPhoneNumber(String phoneNumber) { + this.phoneNumber = phoneNumber; + } + + +} diff --git a/ProjectPRJ/src/java/entity/InvoiceLine.java b/ProjectPRJ/src/java/entity/InvoiceLine.java new file mode 100644 index 0000000..3c5c482 --- /dev/null +++ b/ProjectPRJ/src/java/entity/InvoiceLine.java @@ -0,0 +1,71 @@ +/* + * To change this license header, choose License Headers in Project Properties. + * To change this template file, choose Tools | Templates + * and open the template in the editor. + */ +package entity; + +/** + * + * @author Vu + */ +public class InvoiceLine { + private int invoiceID; + private int productID; + private int quatity; + private int unitprice; + private String note; + + public InvoiceLine() { + } + + public InvoiceLine(int invoiceID, int productID, int quatity, int unitprice, String note) { + this.invoiceID = invoiceID; + this.productID = productID; + this.quatity = quatity; + this.unitprice = unitprice; + this.note = note; + } + + public int getInvoiceID() { + return invoiceID; + } + + public int getProductID() { + return productID; + } + + public int getQuatity() { + return quatity; + } + + public int getUnitprice() { + return unitprice; + } + + public String getNote() { + return note; + } + + public void setInvoiceID(int invoiceID) { + this.invoiceID = invoiceID; + } + + public void setProductID(int productID) { + this.productID = productID; + } + + public void setQuatity(int quatity) { + this.quatity = quatity; + } + + public void setUnitprice(int unitprice) { + this.unitprice = unitprice; + } + + public void setNote(String note) { + this.note = note; + } + + +} diff --git a/ProjectPRJ/src/java/entity/Product.java b/ProjectPRJ/src/java/entity/Product.java new file mode 100644 index 0000000..2597f4c --- /dev/null +++ b/ProjectPRJ/src/java/entity/Product.java @@ -0,0 +1,71 @@ +/* + * To change this license header, choose License Headers in Project Properties. + * To change this template file, choose Tools | Templates + * and open the template in the editor. + */ +package entity; + +/** + * + * @author Vu + */ +public class Product { + private int productID; + private int shopID; + private String name; + private String image; + private float price; + + public Product(int productID, int shopID, String name, String image, float price) { + this.productID = productID; + this.shopID = shopID; + this.name = name; + this.image = image; + this.price = price; + } + + public Product() { + } + + public int getProductID() { + return productID; + } + + public int getShopID() { + return shopID; + } + + public String getName() { + return name; + } + + public String getImage() { + return image; + } + + public float getPrice() { + return price; + } + + public void setProductID(int productID) { + this.productID = productID; + } + + public void setShopID(int shopID) { + this.shopID = shopID; + } + + public void setName(String name) { + this.name = name; + } + + public void setImage(String image) { + this.image = image; + } + + public void setPrice(float price) { + this.price = price; + } + + +} diff --git a/ProjectPRJ/src/java/entity/Shop.java b/ProjectPRJ/src/java/entity/Shop.java new file mode 100644 index 0000000..8d20d69 --- /dev/null +++ b/ProjectPRJ/src/java/entity/Shop.java @@ -0,0 +1,70 @@ +/* + * To change this license header, choose License Headers in Project Properties. + * To change this template file, choose Tools | Templates + * and open the template in the editor. + */ +package entity; + +/** + * + * @author Vu + */ +public class Shop { + private int shopID; + private int userID; + private String title; + private String description; + private boolean openOrClose; + + public Shop() { + } + + public Shop(int shopID, int userID, String title, String description, boolean openOrClose) { + this.shopID = shopID; + this.userID = userID; + this.title = title; + this.description = description; + this.openOrClose = openOrClose; + } + + public int getShopID() { + return shopID; + } + + public int getUserID() { + return userID; + } + + public String getTitle() { + return title; + } + + public String getDescription() { + return description; + } + + public boolean isOpenOrClose() { + return openOrClose; + } + + public void setShopID(int shopID) { + this.shopID = shopID; + } + + public void setUserID(int userID) { + this.userID = userID; + } + + public void setTitle(String title) { + this.title = title; + } + + public void setDescription(String description) { + this.description = description; + } + + public void setOpenOrClose(boolean openOrClose) { + this.openOrClose = openOrClose; + } + +} diff --git a/ProjectPRJ/src/java/entity/User.java b/ProjectPRJ/src/java/entity/User.java new file mode 100644 index 0000000..6d8f024 --- /dev/null +++ b/ProjectPRJ/src/java/entity/User.java @@ -0,0 +1,104 @@ +/* + * To change this license header, choose License Headers in Project Properties. + * To change this template file, choose Tools | Templates + * and open the template in the editor. + */ +package entity; + +/** + * + * @author Vu + */ +public class User { + private int userID; + private String userName; + private String password; + private String name; + private String email; + private String avatarUrl; + private int role; + private int active; + + public User() { + } + + public User(int userID, String userName, String password, String name, String email, String avatarUrl, int role, int active) { + this.userID = userID; + this.userName = userName; + this.password = password; + this.name = name; + this.email = email; + this.avatarUrl = avatarUrl; + this.role = role; + this.active = active; + } + + public int getActive() { + return active; + } + + + + public int getUserID() { + return userID; + } + + public String getUserName() { + return userName; + } + + public String getPassword() { + return password; + } + + public String getName() { + return name; + } + + public String getEmail() { + return email; + } + + public String getAvatarUrl() { + return avatarUrl; + } + + public int getRole() { + return role; + } + + public void setUserID(int userID) { + this.userID = userID; + } + + public void setUserName(String userName) { + this.userName = userName; + } + + public void setPassword(String password) { + this.password = password; + } + + public void setName(String name) { + this.name = name; + } + + public void setEmail(String email) { + this.email = email; + } + + public void setAvatarUrl(String avatarUrl) { + this.avatarUrl = avatarUrl; + } + + public void setRole(int role) { + this.role = role; + } + + public void setActive(int active) { + this.active = active; + } + + + +} diff --git a/ProjectPRJ/web/WEB-INF/web.xml b/ProjectPRJ/web/WEB-INF/web.xml new file mode 100644 index 0000000..c6d52d2 --- /dev/null +++ b/ProjectPRJ/web/WEB-INF/web.xml @@ -0,0 +1,64 @@ + + + + UserController + controller.DashboardController + + + InvoicelineController + controller.InvoicelineController + + + ProductController + controller.ProductController + + + test + controller.test + + + Test + controller.Test + + + Test2 + controller.Test2 + + + Test3 + controller.Test3 + + + UserController + /Dashboard + + + InvoicelineController + /Dashboard/InvoiceLine + + + ProductController + /Dashboard/ProductInShop + + + test + /test + + + Test + /Dashboard/SearchProductInShop + + + Test2 + /Dashboard/SearchInvoiceLine + + + Test3 + /Test3 + + + + 30 + + + diff --git a/ProjectPRJ/web/components/navbar.jsp b/ProjectPRJ/web/components/navbar.jsp new file mode 100644 index 0000000..7cb2a1b --- /dev/null +++ b/ProjectPRJ/web/components/navbar.jsp @@ -0,0 +1,38 @@ +<%-- + Document : navbar + Created on : Oct 15, 2018, 10:22:34 PM + Author : Vu +--%> + + + + + +<%@page contentType="text/html" pageEncoding="UTF-8"%> + + + + diff --git a/ProjectPRJ/web/container/admin/dashboard.jsp b/ProjectPRJ/web/container/admin/dashboard.jsp new file mode 100644 index 0000000..1c34556 --- /dev/null +++ b/ProjectPRJ/web/container/admin/dashboard.jsp @@ -0,0 +1,739 @@ +<%-- + Document : newjspasdas + Created on : Oct 16, 2018, 8:33:34 PM + Author : Vu +--%> + +<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> +<%@page contentType="text/html" pageEncoding="UTF-8"%> + + + + + + + + + + Dashboard + + + + <%@include file="../../components/navbar.jsp" %> +
+ +

   Dashboard

+
+
+
+ +
+
+ +
+ +
+
+
+ +
+
+
+ +
+
+
+
+

HOLA FOOD

+

We love food!

+

We have created a food hola website.

+
+

Được xây dựng từ giữa năm 2018 tại Hòa Lạc, Hà Nội, Food Hola là cộng đồng tin cậy cho sinh viên có thể tìm kiếm, + đánh giá, bình luận các địa điểm ăn uống: nhà hàng, quán ăn, cafe, bar, karaoke, tiệm bánh, khu du lịch... tại + Việt Nam - từ website. Tất cả thành viên từ Bắc đến Nam, Food Hola kết nối mọi sinh viên đến với các địa điểm + ăn uống lớn nhỏ cả đất nước. Đến thời điểm hiện tại, Food Hola với hàng chục địa điểm và hàng trăm ngàn bình + luận, hình ảnh tại Việt Nam, ở hầu hết miền Bắc. Food Hola là cách dễ nhất để bạn có thể tìm kiếm và lựa chọn + địa điểm và những món ăn tốt nhất cho mình và bạn bè.

+
+
+ + + diff --git a/ProjectPRJ/web/container/admin/invoicelines.jsp b/ProjectPRJ/web/container/admin/invoicelines.jsp new file mode 100644 index 0000000..57ed92c --- /dev/null +++ b/ProjectPRJ/web/container/admin/invoicelines.jsp @@ -0,0 +1,144 @@ +<%-- + Document : invoicelines + Created on : Oct 17, 2018, 9:00:40 PM + Author : Vu +--%> + +<%@page contentType="text/html" pageEncoding="UTF-8"%> +<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> + + + + + + + + + + JSP Page + + +
+
+ +
+
+ +
+
+ +
+
+ + diff --git a/ProjectPRJ/web/container/admin/productinshop.jsp b/ProjectPRJ/web/container/admin/productinshop.jsp new file mode 100644 index 0000000..ee56155 --- /dev/null +++ b/ProjectPRJ/web/container/admin/productinshop.jsp @@ -0,0 +1,169 @@ +<%-- + Document : productinshop + Created on : Oct 17, 2018, 10:34:05 PM + Author : Vu +--%> + +<%@page contentType="text/html" pageEncoding="UTF-8"%> +<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> + + + + + + + + + + JSP Page + + +
+
+ +
+
+ +
+
+ +
+
+ + diff --git a/ProjectPRJ/web/public/img/bannerUp.jpg b/ProjectPRJ/web/public/img/bannerUp.jpg new file mode 100644 index 0000000..d41f77c Binary files /dev/null and b/ProjectPRJ/web/public/img/bannerUp.jpg differ diff --git a/ProjectPRJ/web/public/img/bannerUp2.jpg b/ProjectPRJ/web/public/img/bannerUp2.jpg new file mode 100644 index 0000000..f7365c6 Binary files /dev/null and b/ProjectPRJ/web/public/img/bannerUp2.jpg differ diff --git a/ProjectPRJ/web/public/img/logo.png b/ProjectPRJ/web/public/img/logo.png new file mode 100644 index 0000000..7f28d72 Binary files /dev/null and b/ProjectPRJ/web/public/img/logo.png differ diff --git a/ProjectPRJ/web/public/img/logofpt.jpg b/ProjectPRJ/web/public/img/logofpt.jpg new file mode 100644 index 0000000..8e0e635 Binary files /dev/null and b/ProjectPRJ/web/public/img/logofpt.jpg differ diff --git a/ProjectPRJ/web/public/img/logoleft.png b/ProjectPRJ/web/public/img/logoleft.png new file mode 100644 index 0000000..7be9026 Binary files /dev/null and b/ProjectPRJ/web/public/img/logoleft.png differ diff --git a/ProjectPRJ/web/public/img/logoright.png b/ProjectPRJ/web/public/img/logoright.png new file mode 100644 index 0000000..aad2ca1 Binary files /dev/null and b/ProjectPRJ/web/public/img/logoright.png differ diff --git a/ProjectPRJ/web/public/style.css b/ProjectPRJ/web/public/style.css new file mode 100644 index 0000000..98b3790 --- /dev/null +++ b/ProjectPRJ/web/public/style.css @@ -0,0 +1,173 @@ +/*LOGO*/ +#logofpt{ + width: 250px; + margin-left: 10px; +} + +#logo{ + width: 200px; + margin-left: 10px; +} + +bodyDashboard{ + min-width: 2000px; +} + +/*USER*/ +.table-hover.user thead{ + display: table; + width: 100%; +} + +.table-hover.user tbody{ + display: block; + width: 100%; + height: 600px; + overflow-y: scroll; + overflow-x: scroll; + word-break: break-all; +} + +.table-hover.user tbody tr td { + width: 500px; + /*text-align: center;*/ +} + +.table-hover.user thead tr th { + width: 500px; +} + +/*SHOP*/ + +.table-hover.shop thead{ + display: table; + width: 100%; +} + +.table-hover.shop tbody{ + display: block; + width: 100%; + height: 600px; + overflow-y: scroll; + overflow-x: scroll; + word-break: break-all; +} + +.table-hover.shop tbody tr td { + width: 500px; +} + +.table-hover.shop thead tr th { + width: 500px; +} + + +/*Product*/ + +.table-hover.product thead{ + display: table; + width: 100%; +} + +.table-hover.product tbody{ + display: block; + width: 100%; + height: 600px; + overflow-y: scroll; + overflow-x: scroll; + word-break: break-all; +} + +.table-hover.product tbody tr td { + width: 500px; +} + +.table-hover.product thead tr th { + width: 500px; +} + +/*INVOICE*/ + +.table-hover.invoice thead{ + display: table; + width: 100%; +} + +.table-hover.invoice tbody{ + display: block; + width: 100%; + height: 600px; + overflow-y: scroll; + overflow-x: scroll; + word-break: break-all; +} + +.table-hover.invoice tbody td { + width: 500px; +} + +.table-hover.invoice thead th { + width: 500px; +} + +/*Product in shop*/ +.bodyProductInShop{ + min-width: 1000px; +} + + +.table-hover.productinshop thead{ + display: table; + width: 100%; +} + +.table-hover.productinshop tbody{ + display: block; + width: 100%; + height: 500px; + /*max-height: 500px;*/ + overflow-y: scroll; + overflow-x: scroll; + word-break: break-all; +} + +.table-hover.productinshop tbody tr td { + width: 500px; + text-align: center; +} + +.table-hover.productinshop thead tr th { + width: 500px; + text-align: center; +} + +/*InvoiceLine*/ + +.bodyInvoiceLine{ + min-width: 1000px; +} + +.table-hover.invoiceline thead{ + display: table; + width: 100%; +} + +.table-hover.invoiceline tbody{ + display: block; + width: 100%; + height: 500px; + /*max-height: 500px;*/ + overflow-y: scroll; + overflow-x: scroll; + word-break: break-all; +} + +.table-hover.invoiceline tbody tr td { + width: 500px; + text-align: center; +} + +.table-hover.invoiceline thead tr th { + width: 500px; + text-align: center; +} \ No newline at end of file