KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > jsp > Category_jsp


1 package org.apache.jsp;
2
3 import javax.servlet.*;
4 import javax.servlet.http.*;
5 import javax.servlet.jsp.*;
6 import org.apache.jasper.runtime.*;
7
8 public class Category_jsp extends HttpJspBase {
9
10
11   private static java.util.Vector JavaDoc _jspx_includes;
12
13   static {
14     _jspx_includes = new java.util.Vector JavaDoc(3);
15     _jspx_includes.add("/catalog/../common/IncludeTop.jsp");
16     _jspx_includes.add("/catalog/../common/../common/IncludeQuickHeader.jsp");
17     _jspx_includes.add("/catalog/../common/IncludeBottom.jsp");
18   }
19
20   private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_html_link_page;
21   private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_logic_notPresent_scope_name;
22   private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_logic_present_scope_name;
23   private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_logic_notEqual_value_scope_property_name;
24   private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_logic_equal_value_scope_property_name;
25   private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_html_form_method_action;
26   private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_logic_present_name;
27   private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_bean_write_name;
28   private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_logic_iterate_name_id;
29   private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_bean_define_property_name_id;
30   private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_bean_write_property_name;
31   private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_html_link_paramProperty_paramName_paramId_page;
32   private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_logic_notEqual_value_property_name;
33
34   public Category_jsp() {
35     _jspx_tagPool_html_link_page = new org.apache.jasper.runtime.TagHandlerPool();
36     _jspx_tagPool_logic_notPresent_scope_name = new org.apache.jasper.runtime.TagHandlerPool();
37     _jspx_tagPool_logic_present_scope_name = new org.apache.jasper.runtime.TagHandlerPool();
38     _jspx_tagPool_logic_notEqual_value_scope_property_name = new org.apache.jasper.runtime.TagHandlerPool();
39     _jspx_tagPool_logic_equal_value_scope_property_name = new org.apache.jasper.runtime.TagHandlerPool();
40     _jspx_tagPool_html_form_method_action = new org.apache.jasper.runtime.TagHandlerPool();
41     _jspx_tagPool_logic_present_name = new org.apache.jasper.runtime.TagHandlerPool();
42     _jspx_tagPool_bean_write_name = new org.apache.jasper.runtime.TagHandlerPool();
43     _jspx_tagPool_logic_iterate_name_id = new org.apache.jasper.runtime.TagHandlerPool();
44     _jspx_tagPool_bean_define_property_name_id = new org.apache.jasper.runtime.TagHandlerPool();
45     _jspx_tagPool_bean_write_property_name = new org.apache.jasper.runtime.TagHandlerPool();
46     _jspx_tagPool_html_link_paramProperty_paramName_paramId_page = new org.apache.jasper.runtime.TagHandlerPool();
47     _jspx_tagPool_logic_notEqual_value_property_name = new org.apache.jasper.runtime.TagHandlerPool();
48   }
49
50   public java.util.List JavaDoc getIncludes() {
51     return _jspx_includes;
52   }
53
54   public void _jspDestroy() {
55     _jspx_tagPool_html_link_page.release();
56     _jspx_tagPool_logic_notPresent_scope_name.release();
57     _jspx_tagPool_logic_present_scope_name.release();
58     _jspx_tagPool_logic_notEqual_value_scope_property_name.release();
59     _jspx_tagPool_logic_equal_value_scope_property_name.release();
60     _jspx_tagPool_html_form_method_action.release();
61     _jspx_tagPool_logic_present_name.release();
62     _jspx_tagPool_bean_write_name.release();
63     _jspx_tagPool_logic_iterate_name_id.release();
64     _jspx_tagPool_bean_define_property_name_id.release();
65     _jspx_tagPool_bean_write_property_name.release();
66     _jspx_tagPool_html_link_paramProperty_paramName_paramId_page.release();
67     _jspx_tagPool_logic_notEqual_value_property_name.release();
68   }
69
70   public void _jspService(HttpServletRequest request, HttpServletResponse response)
71         throws java.io.IOException JavaDoc, ServletException {
72
73     JspFactory _jspxFactory = null;
74     javax.servlet.jsp.PageContext JavaDoc pageContext = null;
75     HttpSession session = null;
76     ServletContext application = null;
77     ServletConfig config = null;
78     JspWriter out = null;
79     Object JavaDoc page = this;
80     JspWriter _jspx_out = null;
81
82
83     try {
84       _jspxFactory = JspFactory.getDefaultFactory();
85       response.setContentType("text/html;charset=ISO-8859-1");
86       pageContext = _jspxFactory.getPageContext(this, request, response,
87                 null, true, 8192, true);
88       application = pageContext.getServletContext();
89       config = pageContext.getServletConfig();
90       session = pageContext.getSession();
91       out = pageContext.getOut();
92       _jspx_out = out;
93
94       out.write("\r\n");
95       out.write("\r\n");
96       out.write("\r\n");
97       out.write("\r\n\r\n");
98       out.write("<html>");
99       out.write("<head>");
100       out.write("<title>JPetStore Demo");
101       out.write("</title>\r\n");
102       out.write("<meta content=\"text/html; charset=windows-1252\" http-equiv=\"Content-Type\" />\r\n");
103       out.write("<META HTTP-EQUIV=\"Cache-Control\" CONTENT=\"max-age=0\">\r\n");
104       out.write("<META HTTP-EQUIV=\"Cache-Control\" CONTENT=\"no-cache\">\r\n");
105       out.write("<meta http-equiv=\"expires\" content=\"0\">\r\n");
106       out.write("<META HTTP-EQUIV=\"Expires\" CONTENT=\"Tue, 01 Jan 1980 1:00:00 GMT\">\r\n");
107       out.write("<META HTTP-EQUIV=\"Pragma\" CONTENT=\"no-cache\">\r\n");
108       out.write("</head>\r\n\r\n");
109       out.write("<body bgcolor=\"white\">\r\n\r\n");
110       out.write("<table background=\"../images/bkg-topbar.gif\" border=\"0\" cellspacing=\"0\" cellpadding=\"5\" width=\"100%\">\r\n ");
111       out.write("<tbody>\r\n ");
112       out.write("<tr>\r\n ");
113       out.write("<td>");
114       if (_jspx_meth_html_link_0(pageContext))
115         return;
116       out.write("</td>\r\n ");
117       out.write("<td align=\"right\">");
118       if (_jspx_meth_html_link_1(pageContext))
119         return;
120       out.write("\r\n ");
121       out.write("<img border=\"0\" SRC=\"../images/separator.gif\" />\r\n\r\n");
122       if (_jspx_meth_logic_notPresent_0(pageContext))
123         return;
124       out.write("\r\n");
125       if (_jspx_meth_logic_present_0(pageContext))
126         return;
127       out.write("\r\n\r\n");
128       if (_jspx_meth_logic_present_1(pageContext))
129         return;
130       out.write("\r\n\r\n ");
131       out.write("<img border=\"0\" SRC=\"../images/separator.gif\" />");
132       out.write("<a HREF=\"../help.html\">");
133       out.write("<img border=\"0\" name=\"img_help\" SRC=\"../images/help.gif\" />");
134       out.write("</a>\r\n ");
135       out.write("</td>\r\n ");
136       out.write("<td align=\"left\" valign=\"bottom\">\r\n ");
137       if (_jspx_meth_html_form_0(pageContext))
138         return;
139       out.write("\r\n ");
140       out.write("</td>\r\n ");
141       out.write("</tr>\r\n ");
142       out.write("</tbody>\r\n");
143       out.write("</table>\r\n\r\n");
144       out.write("<center>\r\n");
145       if (_jspx_meth_html_link_6(pageContext))
146         return;
147       out.write("\r\n");
148       out.write("<img border=\"0\" SRC=\"../images/separator.gif\" />\r\n");
149       if (_jspx_meth_html_link_7(pageContext))
150         return;
151       out.write("\r\n");
152       out.write("<img border=\"0\" SRC=\"../images/separator.gif\" />\r\n");
153       if (_jspx_meth_html_link_8(pageContext))
154         return;
155       out.write("\r\n");
156       out.write("<img border=\"0\" SRC=\"../images/separator.gif\" />\r\n");
157       if (_jspx_meth_html_link_9(pageContext))
158         return;
159       out.write("\r\n");
160       out.write("<img border=\"0\" SRC=\"../images/separator.gif\" />\r\n");
161       if (_jspx_meth_html_link_10(pageContext))
162         return;
163       out.write("\r\n");
164       out.write("</center>\r\n\r\n\r\n");
165       out.write("\r\n\r\n");
166       out.write("<!-- Support for non-traditional but simple message -->\r\n");
167       if (_jspx_meth_logic_present_2(pageContext))
168         return;
169       out.write("\r\n\r\n");
170       out.write("<!-- Support for non-traditional but simpler use of errors... -->\r\n");
171       /* ---- logic:present ---- */
172       org.apache.struts.taglib.logic.PresentTag _jspx_th_logic_present_3 = (org.apache.struts.taglib.logic.PresentTag) _jspx_tagPool_logic_present_name.get(org.apache.struts.taglib.logic.PresentTag.class);
173       _jspx_th_logic_present_3.setPageContext(pageContext);
174       _jspx_th_logic_present_3.setParent(null);
175       _jspx_th_logic_present_3.setName("errors");
176       int _jspx_eval_logic_present_3 = _jspx_th_logic_present_3.doStartTag();
177       if (_jspx_eval_logic_present_3 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
178         do {
179           out.write("\r\n ");
180           /* ---- logic:iterate ---- */
181           org.apache.struts.taglib.logic.IterateTag _jspx_th_logic_iterate_0 = (org.apache.struts.taglib.logic.IterateTag) _jspx_tagPool_logic_iterate_name_id.get(org.apache.struts.taglib.logic.IterateTag.class);
182           _jspx_th_logic_iterate_0.setPageContext(pageContext);
183           _jspx_th_logic_iterate_0.setParent(_jspx_th_logic_present_3);
184           _jspx_th_logic_iterate_0.setId("error");
185           _jspx_th_logic_iterate_0.setName("errors");
186           int _jspx_eval_logic_iterate_0 = _jspx_th_logic_iterate_0.doStartTag();
187           if (_jspx_eval_logic_iterate_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
188             java.lang.Object JavaDoc error = null;
189             if (_jspx_eval_logic_iterate_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
190               javax.servlet.jsp.tagext.BodyContent JavaDoc _bc = pageContext.pushBody();
191               out = _bc;
192               _jspx_th_logic_iterate_0.setBodyContent(_bc);
193               _jspx_th_logic_iterate_0.doInitBody();
194             }
195             error = (java.lang.Object JavaDoc) pageContext.findAttribute("error");
196             do {
197               out.write("\r\n ");
198               out.write("<B>");
199               out.write("<FONT color=RED>\r\n ");
200               out.write("<BR>");
201               if (_jspx_meth_bean_write_1(_jspx_th_logic_iterate_0, pageContext))
202                 return;
203               out.write("\r\n ");
204               out.write("</FONT>");
205               out.write("</B>\r\n ");
206               int evalDoAfterBody = _jspx_th_logic_iterate_0.doAfterBody();
207               error = (java.lang.Object JavaDoc) pageContext.findAttribute("error");
208               if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
209                 break;
210             } while (true);
211             if (_jspx_eval_logic_iterate_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
212               out = pageContext.popBody();
213           }
214           if (_jspx_th_logic_iterate_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
215             return;
216           _jspx_tagPool_logic_iterate_name_id.reuse(_jspx_th_logic_iterate_0);
217           out.write("\r\n");
218           int evalDoAfterBody = _jspx_th_logic_present_3.doAfterBody();
219           if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
220             break;
221         } while (true);
222       }
223       if (_jspx_th_logic_present_3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
224         return;
225       _jspx_tagPool_logic_present_name.reuse(_jspx_th_logic_present_3);
226       out.write("\r\n");
227       out.write("\r\n\r\n");
228       out.write("<table align=\"left\" bgcolor=\"#008800\" border=\"0\" cellspacing=\"2\" cellpadding=\"2\">\r\n");
229       out.write("<tr>");
230       out.write("<td bgcolor=\"#FFFF88\">\r\n");
231       if (_jspx_meth_html_link_11(pageContext))
232         return;
233       out.write("\r\n");
234       out.write("</td>");
235       out.write("</tr>\r\n");
236       out.write("</table>\r\n\r\n");
237       /* ---- bean:define ---- */
238       org.apache.struts.taglib.bean.DefineTag _jspx_th_bean_define_0 = (org.apache.struts.taglib.bean.DefineTag) _jspx_tagPool_bean_define_property_name_id.get(org.apache.struts.taglib.bean.DefineTag.class);
239       _jspx_th_bean_define_0.setPageContext(pageContext);
240       _jspx_th_bean_define_0.setParent(null);
241       _jspx_th_bean_define_0.setId("category");
242       _jspx_th_bean_define_0.setName("catalogBean");
243       _jspx_th_bean_define_0.setProperty("category");
244       int _jspx_eval_bean_define_0 = _jspx_th_bean_define_0.doStartTag();
245       if (_jspx_th_bean_define_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
246         return;
247       _jspx_tagPool_bean_define_property_name_id.reuse(_jspx_th_bean_define_0);
248       java.lang.Object JavaDoc category = null;
249       category = (java.lang.Object JavaDoc) pageContext.findAttribute("category");
250       out.write("\r\n");
251       /* ---- bean:define ---- */
252       org.apache.struts.taglib.bean.DefineTag _jspx_th_bean_define_1 = (org.apache.struts.taglib.bean.DefineTag) _jspx_tagPool_bean_define_property_name_id.get(org.apache.struts.taglib.bean.DefineTag.class);
253       _jspx_th_bean_define_1.setPageContext(pageContext);
254       _jspx_th_bean_define_1.setParent(null);
255       _jspx_th_bean_define_1.setId("productList");
256       _jspx_th_bean_define_1.setName("catalogBean");
257       _jspx_th_bean_define_1.setProperty("productList");
258       int _jspx_eval_bean_define_1 = _jspx_th_bean_define_1.doStartTag();
259       if (_jspx_th_bean_define_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
260         return;
261       _jspx_tagPool_bean_define_property_name_id.reuse(_jspx_th_bean_define_1);
262       java.lang.Object JavaDoc productList = null;
263       productList = (java.lang.Object JavaDoc) pageContext.findAttribute("productList");
264       out.write("\r\n\r\n");
265       out.write("<p>\r\n");
266       out.write("<center>\r\n ");
267       out.write("<h2>");
268       if (_jspx_meth_bean_write_2(pageContext))
269         return;
270       out.write("</h2>\r\n ");
271       out.write("</center>\r\n");
272       out.write("<table align=\"center\" bgcolor=\"#008800\" border=\"0\" cellspacing=\"2\" cellpadding=\"3\">\r\n ");
273       out.write("<tr bgcolor=\"#CCCCCC\"> ");
274       out.write("<td>");
275       out.write("<b>Product ID");
276       out.write("</b>");
277       out.write("</td> ");
278       out.write("<td>");
279       out.write("<b>Name");
280       out.write("</b>");
281       out.write("</td> ");
282       out.write("</tr>\r\n");
283       /* ---- logic:iterate ---- */
284       org.apache.struts.taglib.logic.IterateTag _jspx_th_logic_iterate_1 = (org.apache.struts.taglib.logic.IterateTag) _jspx_tagPool_logic_iterate_name_id.get(org.apache.struts.taglib.logic.IterateTag.class);
285       _jspx_th_logic_iterate_1.setPageContext(pageContext);
286       _jspx_th_logic_iterate_1.setParent(null);
287       _jspx_th_logic_iterate_1.setId("product");
288       _jspx_th_logic_iterate_1.setName("productList");
289       int _jspx_eval_logic_iterate_1 = _jspx_th_logic_iterate_1.doStartTag();
290       if (_jspx_eval_logic_iterate_1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
291         java.lang.Object JavaDoc product = null;
292         if (_jspx_eval_logic_iterate_1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
293           javax.servlet.jsp.tagext.BodyContent JavaDoc _bc = pageContext.pushBody();
294           out = _bc;
295           _jspx_th_logic_iterate_1.setBodyContent(_bc);
296           _jspx_th_logic_iterate_1.doInitBody();
297         }
298         product = (java.lang.Object JavaDoc) pageContext.findAttribute("product");
299         do {
300           out.write("\r\n ");
301           out.write("<tr bgcolor=\"#FFFF88\">\r\n ");
302           out.write("<td>");
303           out.write("<b>");
304           if (_jspx_meth_html_link_12(_jspx_th_logic_iterate_1, pageContext))
305             return;
306           out.write("</b>");
307           out.write("</td>\r\n ");
308           out.write("<td>");
309           if (_jspx_meth_bean_write_4(_jspx_th_logic_iterate_1, pageContext))
310             return;
311           out.write("</td>\r\n ");
312           out.write("</tr>\r\n");
313           int evalDoAfterBody = _jspx_th_logic_iterate_1.doAfterBody();
314           product = (java.lang.Object JavaDoc) pageContext.findAttribute("product");
315           if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
316             break;
317         } while (true);
318         if (_jspx_eval_logic_iterate_1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
319           out = pageContext.popBody();
320       }
321       if (_jspx_th_logic_iterate_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
322         return;
323       _jspx_tagPool_logic_iterate_name_id.reuse(_jspx_th_logic_iterate_1);
324       out.write("\r\n ");
325       out.write("<tr>");
326       out.write("<td bgcolor=\"#FFFFFF\" colspan=\"2\">\r\n ");
327       if (_jspx_meth_logic_notEqual_1(pageContext))
328         return;
329       out.write("\r\n ");
330       if (_jspx_meth_logic_notEqual_2(pageContext))
331         return;
332       out.write("\r\n ");
333       out.write("</td>");
334       out.write("</tr>\r\n");
335       out.write("</table>\r\n\r\n");
336       out.write("\r\n\r\n");
337       out.write("<p align=\"center\">\r\n");
338       out.write("<a HREF=\"http://www.ibatis.com\">");
339       out.write("<img border=\"0\" align=\"center\" SRC=\"../images/poweredby.gif\" />");
340       out.write("</a>\r\n");
341       out.write("</p>\r\n");
342       out.write("</p>");
343       out.write("</p>\r\n\r\n\r\n");
344     } catch (Throwable JavaDoc t) {
345       out = _jspx_out;
346       if (out != null && out.getBufferSize() != 0)
347         out.clearBuffer();
348       if (pageContext != null) pageContext.handlePageException(t);
349     } finally {
350       if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext);
351     }
352   }
353
354   private boolean _jspx_meth_html_link_0(javax.servlet.jsp.PageContext JavaDoc pageContext)
355           throws Throwable JavaDoc {
356     JspWriter out = pageContext.getOut();
357     /* ---- html:link ---- */
358     org.apache.struts.taglib.html.LinkTag _jspx_th_html_link_0 = (org.apache.struts.taglib.html.LinkTag) _jspx_tagPool_html_link_page.get(org.apache.struts.taglib.html.LinkTag.class);
359     _jspx_th_html_link_0.setPageContext(pageContext);
360     _jspx_th_html_link_0.setParent(null);
361     _jspx_th_html_link_0.setPage("/shop/index.shtml");
362     int _jspx_eval_html_link_0 = _jspx_th_html_link_0.doStartTag();
363     if (_jspx_eval_html_link_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
364       if (_jspx_eval_html_link_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
365         javax.servlet.jsp.tagext.BodyContent JavaDoc _bc = pageContext.pushBody();
366         out = _bc;
367         _jspx_th_html_link_0.setBodyContent(_bc);
368         _jspx_th_html_link_0.doInitBody();
369       }
370       do {
371         out.write("<img border=\"0\" SRC=\"../images/logo-topbar.gif\" />");
372         int evalDoAfterBody = _jspx_th_html_link_0.doAfterBody();
373         if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
374           break;
375       } while (true);
376       if (_jspx_eval_html_link_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
377         out = pageContext.popBody();
378     }
379     if (_jspx_th_html_link_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
380       return true;
381     _jspx_tagPool_html_link_page.reuse(_jspx_th_html_link_0);
382     return false;
383   }
384
385   private boolean _jspx_meth_html_link_1(javax.servlet.jsp.PageContext JavaDoc pageContext)
386           throws Throwable JavaDoc {
387     JspWriter out = pageContext.getOut();
388     /* ---- html:link ---- */
389     org.apache.struts.taglib.html.LinkTag _jspx_th_html_link_1 = (org.apache.struts.taglib.html.LinkTag) _jspx_tagPool_html_link_page.get(org.apache.struts.taglib.html.LinkTag.class);
390     _jspx_th_html_link_1.setPageContext(pageContext);
391     _jspx_th_html_link_1.setParent(null);
392     _jspx_th_html_link_1.setPage("/shop/viewCart.shtml");
393     int _jspx_eval_html_link_1 = _jspx_th_html_link_1.doStartTag();
394     if (_jspx_eval_html_link_1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
395       if (_jspx_eval_html_link_1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
396         javax.servlet.jsp.tagext.BodyContent JavaDoc _bc = pageContext.pushBody();
397         out = _bc;
398         _jspx_th_html_link_1.setBodyContent(_bc);
399         _jspx_th_html_link_1.doInitBody();
400       }
401       do {
402         out.write("<img border=\"0\" name=\"img_cart\" SRC=\"../images/cart.gif\" />");
403         int evalDoAfterBody = _jspx_th_html_link_1.doAfterBody();
404         if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
405           break;
406       } while (true);
407       if (_jspx_eval_html_link_1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
408         out = pageContext.popBody();
409     }
410     if (_jspx_th_html_link_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
411       return true;
412     _jspx_tagPool_html_link_page.reuse(_jspx_th_html_link_1);
413     return false;
414   }
415
416   private boolean _jspx_meth_logic_notPresent_0(javax.servlet.jsp.PageContext JavaDoc pageContext)
417           throws Throwable JavaDoc {
418     JspWriter out = pageContext.getOut();
419     /* ---- logic:notPresent ---- */
420     org.apache.struts.taglib.logic.NotPresentTag _jspx_th_logic_notPresent_0 = (org.apache.struts.taglib.logic.NotPresentTag) _jspx_tagPool_logic_notPresent_scope_name.get(org.apache.struts.taglib.logic.NotPresentTag.class);
421     _jspx_th_logic_notPresent_0.setPageContext(pageContext);
422     _jspx_th_logic_notPresent_0.setParent(null);
423     _jspx_th_logic_notPresent_0.setName("accountBean");
424     _jspx_th_logic_notPresent_0.setScope("session");
425     int _jspx_eval_logic_notPresent_0 = _jspx_th_logic_notPresent_0.doStartTag();
426     if (_jspx_eval_logic_notPresent_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
427       do {
428         out.write("\r\n ");
429         if (_jspx_meth_html_link_2(_jspx_th_logic_notPresent_0, pageContext))
430           return true;
431         out.write("\r\n");
432         int evalDoAfterBody = _jspx_th_logic_notPresent_0.doAfterBody();
433         if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
434           break;
435       } while (true);
436     }
437     if (_jspx_th_logic_notPresent_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
438       return true;
439     _jspx_tagPool_logic_notPresent_scope_name.reuse(_jspx_th_logic_notPresent_0);
440     return false;
441   }
442
443   private boolean _jspx_meth_html_link_2(javax.servlet.jsp.tagext.Tag JavaDoc _jspx_th_logic_notPresent_0, javax.servlet.jsp.PageContext JavaDoc pageContext)
444           throws Throwable JavaDoc {
445     JspWriter out = pageContext.getOut();
446     /* ---- html:link ---- */
447     org.apache.struts.taglib.html.LinkTag _jspx_th_html_link_2 = (org.apache.struts.taglib.html.LinkTag) _jspx_tagPool_html_link_page.get(org.apache.struts.taglib.html.LinkTag.class);
448     _jspx_th_html_link_2.setPageContext(pageContext);
449     _jspx_th_html_link_2.setParent(_jspx_th_logic_notPresent_0);
450     _jspx_th_html_link_2.setPage("/shop/signonForm.shtml");
451     int _jspx_eval_html_link_2 = _jspx_th_html_link_2.doStartTag();
452     if (_jspx_eval_html_link_2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
453       if (_jspx_eval_html_link_2 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
454         javax.servlet.jsp.tagext.BodyContent JavaDoc _bc = pageContext.pushBody();
455         out = _bc;
456         _jspx_th_html_link_2.setBodyContent(_bc);
457         _jspx_th_html_link_2.doInitBody();
458       }
459       do {
460         out.write("\r\n ");
461         out.write("<img border=\"0\" name=\"img_signin\" SRC=\"../images/sign-in.gif\" />");
462         int evalDoAfterBody = _jspx_th_html_link_2.doAfterBody();
463         if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
464           break;
465       } while (true);
466       if (_jspx_eval_html_link_2 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
467         out = pageContext.popBody();
468     }
469     if (_jspx_th_html_link_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
470       return true;
471     _jspx_tagPool_html_link_page.reuse(_jspx_th_html_link_2);
472     return false;
473   }
474
475   private boolean _jspx_meth_logic_present_0(javax.servlet.jsp.PageContext JavaDoc pageContext)
476           throws Throwable JavaDoc {
477     JspWriter out = pageContext.getOut();
478     /* ---- logic:present ---- */
479     org.apache.struts.taglib.logic.PresentTag _jspx_th_logic_present_0 = (org.apache.struts.taglib.logic.PresentTag) _jspx_tagPool_logic_present_scope_name.get(org.apache.struts.taglib.logic.PresentTag.class);
480     _jspx_th_logic_present_0.setPageContext(pageContext);
481     _jspx_th_logic_present_0.setParent(null);
482     _jspx_th_logic_present_0.setName("accountBean");
483     _jspx_th_logic_present_0.setScope("session");
484     int _jspx_eval_logic_present_0 = _jspx_th_logic_present_0.doStartTag();
485     if (_jspx_eval_logic_present_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
486       do {
487         out.write("\r\n ");
488         if (_jspx_meth_logic_notEqual_0(_jspx_th_logic_present_0, pageContext))
489           return true;
490         out.write("\r\n");
491         int evalDoAfterBody = _jspx_th_logic_present_0.doAfterBody();
492         if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
493           break;
494       } while (true);
495     }
496     if (_jspx_th_logic_present_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
497       return true;
498     _jspx_tagPool_logic_present_scope_name.reuse(_jspx_th_logic_present_0);
499     return false;
500   }
501
502   private boolean _jspx_meth_logic_notEqual_0(javax.servlet.jsp.tagext.Tag JavaDoc _jspx_th_logic_present_0, javax.servlet.jsp.PageContext JavaDoc pageContext)
503           throws Throwable JavaDoc {
504     JspWriter out = pageContext.getOut();
505     /* ---- logic:notEqual ---- */
506     org.apache.struts.taglib.logic.NotEqualTag _jspx_th_logic_notEqual_0 = (org.apache.struts.taglib.logic.NotEqualTag) _jspx_tagPool_logic_notEqual_value_scope_property_name.get(org.apache.struts.taglib.logic.NotEqualTag.class);
507     _jspx_th_logic_notEqual_0.setPageContext(pageContext);
508     _jspx_th_logic_notEqual_0.setParent(_jspx_th_logic_present_0);
509     _jspx_th_logic_notEqual_0.setName("accountBean");
510     _jspx_th_logic_notEqual_0.setProperty("authenticated");
511     _jspx_th_logic_notEqual_0.setValue("true");
512     _jspx_th_logic_notEqual_0.setScope("session");
513     int _jspx_eval_logic_notEqual_0 = _jspx_th_logic_notEqual_0.doStartTag();
514     if (_jspx_eval_logic_notEqual_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
515       do {
516         out.write("\r\n ");
517         if (_jspx_meth_html_link_3(_jspx_th_logic_notEqual_0, pageContext))
518           return true;
519         out.write("\r\n ");
520         int evalDoAfterBody = _jspx_th_logic_notEqual_0.doAfterBody();
521         if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
522           break;
523       } while (true);
524     }
525     if (_jspx_th_logic_notEqual_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
526       return true;
527     _jspx_tagPool_logic_notEqual_value_scope_property_name.reuse(_jspx_th_logic_notEqual_0);
528     return false;
529   }
530
531   private boolean _jspx_meth_html_link_3(javax.servlet.jsp.tagext.Tag JavaDoc _jspx_th_logic_notEqual_0, javax.servlet.jsp.PageContext JavaDoc pageContext)
532           throws Throwable JavaDoc {
533     JspWriter out = pageContext.getOut();
534     /* ---- html:link ---- */
535     org.apache.struts.taglib.html.LinkTag _jspx_th_html_link_3 = (org.apache.struts.taglib.html.LinkTag) _jspx_tagPool_html_link_page.get(org.apache.struts.taglib.html.LinkTag.class);
536     _jspx_th_html_link_3.setPageContext(pageContext);
537     _jspx_th_html_link_3.setParent(_jspx_th_logic_notEqual_0);
538     _jspx_th_html_link_3.setPage("/shop/signonForm.shtml");
539     int _jspx_eval_html_link_3 = _jspx_th_html_link_3.doStartTag();
540     if (_jspx_eval_html_link_3 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
541       if (_jspx_eval_html_link_3 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
542         javax.servlet.jsp.tagext.BodyContent JavaDoc _bc = pageContext.pushBody();
543         out = _bc;
544         _jspx_th_html_link_3.setBodyContent(_bc);
545         _jspx_th_html_link_3.doInitBody();
546       }
547       do {
548         out.write("\r\n ");
549         out.write("<img border=\"0\" name=\"img_signin\" SRC=\"../images/sign-in.gif\" />");
550         int evalDoAfterBody = _jspx_th_html_link_3.doAfterBody();
551         if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
552           break;
553       } while (true);
554       if (_jspx_eval_html_link_3 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
555         out = pageContext.popBody();
556     }
557     if (_jspx_th_html_link_3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
558       return true;
559     _jspx_tagPool_html_link_page.reuse(_jspx_th_html_link_3);
560     return false;
561   }
562
563   private boolean _jspx_meth_logic_present_1(javax.servlet.jsp.PageContext JavaDoc pageContext)
564           throws Throwable JavaDoc {
565     JspWriter out = pageContext.getOut();
566     /* ---- logic:present ---- */
567     org.apache.struts.taglib.logic.PresentTag _jspx_th_logic_present_1 = (org.apache.struts.taglib.logic.PresentTag) _jspx_tagPool_logic_present_scope_name.get(org.apache.struts.taglib.logic.PresentTag.class);
568     _jspx_th_logic_present_1.setPageContext(pageContext);
569     _jspx_th_logic_present_1.setParent(null);
570     _jspx_th_logic_present_1.setName("accountBean");
571     _jspx_th_logic_present_1.setScope("session");
572     int _jspx_eval_logic_present_1 = _jspx_th_logic_present_1.doStartTag();
573     if (_jspx_eval_logic_present_1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
574       do {
575         out.write("\r\n ");
576         if (_jspx_meth_logic_equal_0(_jspx_th_logic_present_1, pageContext))
577           return true;
578         out.write("\r\n");
579         int evalDoAfterBody = _jspx_th_logic_present_1.doAfterBody();
580         if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
581           break;
582       } while (true);
583     }
584     if (_jspx_th_logic_present_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
585       return true;
586     _jspx_tagPool_logic_present_scope_name.reuse(_jspx_th_logic_present_1);
587     return false;
588   }
589
590   private boolean _jspx_meth_logic_equal_0(javax.servlet.jsp.tagext.Tag JavaDoc _jspx_th_logic_present_1, javax.servlet.jsp.PageContext JavaDoc pageContext)
591           throws Throwable JavaDoc {
592     JspWriter out = pageContext.getOut();
593     /* ---- logic:equal ---- */
594     org.apache.struts.taglib.logic.EqualTag _jspx_th_logic_equal_0 = (org.apache.struts.taglib.logic.EqualTag) _jspx_tagPool_logic_equal_value_scope_property_name.get(org.apache.struts.taglib.logic.EqualTag.class);
595     _jspx_th_logic_equal_0.setPageContext(pageContext);
596     _jspx_th_logic_equal_0.setParent(_jspx_th_logic_present_1);
597     _jspx_th_logic_equal_0.setName("accountBean");
598     _jspx_th_logic_equal_0.setProperty("authenticated");
599     _jspx_th_logic_equal_0.setValue("true");
600     _jspx_th_logic_equal_0.setScope("session");
601     int _jspx_eval_logic_equal_0 = _jspx_th_logic_equal_0.doStartTag();
602     if (_jspx_eval_logic_equal_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
603       do {
604         out.write("\r\n ");
605         if (_jspx_meth_html_link_4(_jspx_th_logic_equal_0, pageContext))
606           return true;
607         out.write("\r\n ");
608         out.write("<img border=\"0\" SRC=\"../images/separator.gif\" />\r\n ");
609         if (_jspx_meth_html_link_5(_jspx_th_logic_equal_0, pageContext))
610           return true;
611         out.write("\r\n ");
612         int evalDoAfterBody = _jspx_th_logic_equal_0.doAfterBody();
613         if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
614           break;
615       } while (true);
616     }
617     if (_jspx_th_logic_equal_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
618       return true;
619     _jspx_tagPool_logic_equal_value_scope_property_name.reuse(_jspx_th_logic_equal_0);
620     return false;
621   }
622
623   private boolean _jspx_meth_html_link_4(javax.servlet.jsp.tagext.Tag JavaDoc _jspx_th_logic_equal_0, javax.servlet.jsp.PageContext JavaDoc pageContext)
624           throws Throwable JavaDoc {
625     JspWriter out = pageContext.getOut();
626     /* ---- html:link ---- */
627     org.apache.struts.taglib.html.LinkTag _jspx_th_html_link_4 = (org.apache.struts.taglib.html.LinkTag) _jspx_tagPool_html_link_page.get(org.apache.struts.taglib.html.LinkTag.class);
628     _jspx_th_html_link_4.setPageContext(pageContext);
629     _jspx_th_html_link_4.setParent(_jspx_th_logic_equal_0);
630     _jspx_th_html_link_4.setPage("/shop/signoff.shtml");
631     int _jspx_eval_html_link_4 = _jspx_th_html_link_4.doStartTag();
632     if (_jspx_eval_html_link_4 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
633       if (_jspx_eval_html_link_4 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
634         javax.servlet.jsp.tagext.BodyContent JavaDoc _bc = pageContext.pushBody();
635         out = _bc;
636         _jspx_th_html_link_4.setBodyContent(_bc);
637         _jspx_th_html_link_4.doInitBody();
638       }
639       do {
640         out.write("\r\n ");
641         out.write("<img border=\"0\" name=\"img_signout\" SRC=\"../images/sign-out.gif\" />");
642         int evalDoAfterBody = _jspx_th_html_link_4.doAfterBody();
643         if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
644           break;
645       } while (true);
646       if (_jspx_eval_html_link_4 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
647         out = pageContext.popBody();
648     }
649     if (_jspx_th_html_link_4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
650       return true;
651     _jspx_tagPool_html_link_page.reuse(_jspx_th_html_link_4);
652     return false;
653   }
654
655   private boolean _jspx_meth_html_link_5(javax.servlet.jsp.tagext.Tag JavaDoc _jspx_th_logic_equal_0, javax.servlet.jsp.PageContext JavaDoc pageContext)
656           throws Throwable JavaDoc {
657     JspWriter out = pageContext.getOut();
658     /* ---- html:link ---- */
659     org.apache.struts.taglib.html.LinkTag _jspx_th_html_link_5 = (org.apache.struts.taglib.html.LinkTag) _jspx_tagPool_html_link_page.get(org.apache.struts.taglib.html.LinkTag.class);
660     _jspx_th_html_link_5.setPageContext(pageContext);
661     _jspx_th_html_link_5.setParent(_jspx_th_logic_equal_0);
662     _jspx_th_html_link_5.setPage("/shop/editAccountForm.shtml");
663     int _jspx_eval_html_link_5 = _jspx_th_html_link_5.doStartTag();
664     if (_jspx_eval_html_link_5 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
665       if (_jspx_eval_html_link_5 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
666         javax.servlet.jsp.tagext.BodyContent JavaDoc _bc = pageContext.pushBody();
667         out = _bc;
668         _jspx_th_html_link_5.setBodyContent(_bc);
669         _jspx_th_html_link_5.doInitBody();
670       }
671       do {
672         out.write("\r\n ");
673         out.write("<img border=\"0\" name=\"img_myaccount\" SRC=\"../images/my_account.gif\" />");
674         int evalDoAfterBody = _jspx_th_html_link_5.doAfterBody();
675         if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
676           break;
677       } while (true);
678       if (_jspx_eval_html_link_5 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
679         out = pageContext.popBody();
680     }
681     if (_jspx_th_html_link_5.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
682       return true;
683     _jspx_tagPool_html_link_page.reuse(_jspx_th_html_link_5);
684     return false;
685   }
686
687   private boolean _jspx_meth_html_form_0(javax.servlet.jsp.PageContext JavaDoc pageContext)
688           throws Throwable JavaDoc {
689     JspWriter out = pageContext.getOut();
690     /* ---- html:form ---- */
691     org.apache.struts.taglib.html.FormTag _jspx_th_html_form_0 = (org.apache.struts.taglib.html.FormTag) _jspx_tagPool_html_form_method_action.get(org.apache.struts.taglib.html.FormTag.class);
692     _jspx_th_html_form_0.setPageContext(pageContext);
693     _jspx_th_html_form_0.setParent(null);
694     _jspx_th_html_form_0.setMethod("post");
695     _jspx_th_html_form_0.setAction("/shop/searchProducts.shtml");
696     int _jspx_eval_html_form_0 = _jspx_th_html_form_0.doStartTag();
697     if (_jspx_eval_html_form_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
698       do {
699         out.write("\r\n ");
700         out.write("<input name=\"keyword\" size=\"14\" />&nbsp;");
701         out.write("<input border=\"0\" SRC=\"../images/search.gif\" type=\"image\" />\r\n ");
702         int evalDoAfterBody = _jspx_th_html_form_0.doAfterBody();
703         if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
704           break;
705       } while (true);
706     }
707     if (_jspx_th_html_form_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
708       return true;
709     _jspx_tagPool_html_form_method_action.reuse(_jspx_th_html_form_0);
710     return false;
711   }
712
713   private boolean _jspx_meth_html_link_6(javax.servlet.jsp.PageContext JavaDoc pageContext)
714           throws Throwable JavaDoc {
715     JspWriter out = pageContext.getOut();
716     /* ---- html:link ---- */
717     org.apache.struts.taglib.html.LinkTag _jspx_th_html_link_6 = (org.apache.struts.taglib.html.LinkTag) _jspx_tagPool_html_link_page.get(org.apache.struts.taglib.html.LinkTag.class);
718     _jspx_th_html_link_6.setPageContext(pageContext);
719     _jspx_th_html_link_6.setParent(null);
720     _jspx_th_html_link_6.setPage("/shop/viewCategory.shtml?categoryId=FISH");
721     int _jspx_eval_html_link_6 = _jspx_th_html_link_6.doStartTag();
722     if (_jspx_eval_html_link_6 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
723       if (_jspx_eval_html_link_6 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
724         javax.servlet.jsp.tagext.BodyContent JavaDoc _bc = pageContext.pushBody();
725         out = _bc;
726         _jspx_th_html_link_6.setBodyContent(_bc);
727         _jspx_th_html_link_6.doInitBody();
728       }
729       do {
730         out.write("\r\n");
731         out.write("<img border=\"0\" SRC=\"../images/sm_fish.gif\" />");
732         int evalDoAfterBody = _jspx_th_html_link_6.doAfterBody();
733         if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
734           break;
735       } while (true);
736       if (_jspx_eval_html_link_6 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
737         out = pageContext.popBody();
738     }
739     if (_jspx_th_html_link_6.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
740       return true;
741     _jspx_tagPool_html_link_page.reuse(_jspx_th_html_link_6);
742     return false;
743   }
744
745   private boolean _jspx_meth_html_link_7(javax.servlet.jsp.PageContext JavaDoc pageContext)
746           throws Throwable JavaDoc {
747     JspWriter out = pageContext.getOut();
748     /* ---- html:link ---- */
749     org.apache.struts.taglib.html.LinkTag _jspx_th_html_link_7 = (org.apache.struts.taglib.html.LinkTag) _jspx_tagPool_html_link_page.get(org.apache.struts.taglib.html.LinkTag.class);
750     _jspx_th_html_link_7.setPageContext(pageContext);
751     _jspx_th_html_link_7.setParent(null);
752     _jspx_th_html_link_7.setPage("/shop/viewCategory.shtml?categoryId=DOGS");
753     int _jspx_eval_html_link_7 = _jspx_th_html_link_7.doStartTag();
754     if (_jspx_eval_html_link_7 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
755       if (_jspx_eval_html_link_7 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
756         javax.servlet.jsp.tagext.BodyContent JavaDoc _bc = pageContext.pushBody();
757         out = _bc;
758         _jspx_th_html_link_7.setBodyContent(_bc);
759         _jspx_th_html_link_7.doInitBody();
760       }
761       do {
762         out.write("\r\n");
763         out.write("<img border=\"0\" SRC=\"../images/sm_dogs.gif\" />");
764         int evalDoAfterBody = _jspx_th_html_link_7.doAfterBody();
765         if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
766           break;
767       } while (true);
768       if (_jspx_eval_html_link_7 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
769         out = pageContext.popBody();
770     }
771     if (_jspx_th_html_link_7.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
772       return true;
773     _jspx_tagPool_html_link_page.reuse(_jspx_th_html_link_7);
774     return false;
775   }
776
777   private boolean _jspx_meth_html_link_8(javax.servlet.jsp.PageContext JavaDoc pageContext)
778           throws Throwable JavaDoc {
779     JspWriter out = pageContext.getOut();
780     /* ---- html:link ---- */
781     org.apache.struts.taglib.html.LinkTag _jspx_th_html_link_8 = (org.apache.struts.taglib.html.LinkTag) _jspx_tagPool_html_link_page.get(org.apache.struts.taglib.html.LinkTag.class);
782     _jspx_th_html_link_8.setPageContext(pageContext);
783     _jspx_th_html_link_8.setParent(null);
784     _jspx_th_html_link_8.setPage("/shop/viewCategory.shtml?categoryId=REPTILES");
785     int _jspx_eval_html_link_8 = _jspx_th_html_link_8.doStartTag();
786     if (_jspx_eval_html_link_8 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
787       if (_jspx_eval_html_link_8 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
788         javax.servlet.jsp.tagext.BodyContent JavaDoc _bc = pageContext.pushBody();
789         out = _bc;
790         _jspx_th_html_link_8.setBodyContent(_bc);
791         _jspx_th_html_link_8.doInitBody();
792       }
793       do {
794         out.write("\r\n");
795         out.write("<img border=\"0\" SRC=\"../images/sm_reptiles.gif\" />");
796         int evalDoAfterBody = _jspx_th_html_link_8.doAfterBody();
797         if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
798           break;
799       } while (true);
800       if (_jspx_eval_html_link_8 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
801         out = pageContext.popBody();
802     }
803     if (_jspx_th_html_link_8.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
804       return true;
805     _jspx_tagPool_html_link_page.reuse(_jspx_th_html_link_8);
806     return false;
807   }
808
809   private boolean _jspx_meth_html_link_9(javax.servlet.jsp.PageContext JavaDoc pageContext)
810           throws Throwable JavaDoc {
811     JspWriter out = pageContext.getOut();
812     /* ---- html:link ---- */
813     org.apache.struts.taglib.html.LinkTag _jspx_th_html_link_9 = (org.apache.struts.taglib.html.LinkTag) _jspx_tagPool_html_link_page.get(org.apache.struts.taglib.html.LinkTag.class);
814     _jspx_th_html_link_9.setPageContext(pageContext);
815     _jspx_th_html_link_9.setParent(null);
816     _jspx_th_html_link_9.setPage("/shop/viewCategory.shtml?categoryId=CATS");
817     int _jspx_eval_html_link_9 = _jspx_th_html_link_9.doStartTag();
818     if (_jspx_eval_html_link_9 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
819       if (_jspx_eval_html_link_9 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
820         javax.servlet.jsp.tagext.BodyContent JavaDoc _bc = pageContext.pushBody();
821         out = _bc;
822         _jspx_th_html_link_9.setBodyContent(_bc);
823         _jspx_th_html_link_9.doInitBody();
824       }
825       do {
826         out.write("\r\n");
827         out.write("<img border=\"0\" SRC=\"../images/sm_cats.gif\" />");
828         int evalDoAfterBody = _jspx_th_html_link_9.doAfterBody();
829         if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
830           break;
831       } while (true);
832       if (_jspx_eval_html_link_9 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
833         out = pageContext.popBody();
834     }
835     if (_jspx_th_html_link_9.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
836       return true;
837     _jspx_tagPool_html_link_page.reuse(_jspx_th_html_link_9);
838     return false;
839   }
840
841   private boolean _jspx_meth_html_link_10(javax.servlet.jsp.PageContext JavaDoc pageContext)
842           throws Throwable JavaDoc {
843     JspWriter out = pageContext.getOut();
844     /* ---- html:link ---- */
845     org.apache.struts.taglib.html.LinkTag _jspx_th_html_link_10 = (org.apache.struts.taglib.html.LinkTag) _jspx_tagPool_html_link_page.get(org.apache.struts.taglib.html.LinkTag.class);
846     _jspx_th_html_link_10.setPageContext(pageContext);
847     _jspx_th_html_link_10.setParent(null);
848     _jspx_th_html_link_10.setPage("/shop/viewCategory.shtml?categoryId=BIRDS");
849     int _jspx_eval_html_link_10 = _jspx_th_html_link_10.doStartTag();
850     if (_jspx_eval_html_link_10 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
851       if (_jspx_eval_html_link_10 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
852         javax.servlet.jsp.tagext.BodyContent JavaDoc _bc = pageContext.pushBody();
853         out = _bc;
854         _jspx_th_html_link_10.setBodyContent(_bc);
855         _jspx_th_html_link_10.doInitBody();
856       }
857       do {
858         out.write("\r\n");
859         out.write("<img border=\"0\" SRC=\"../images/sm_birds.gif\" />");
860         int evalDoAfterBody = _jspx_th_html_link_10.doAfterBody();
861         if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
862           break;
863       } while (true);
864       if (_jspx_eval_html_link_10 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
865         out = pageContext.popBody();
866     }
867     if (_jspx_th_html_link_10.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
868       return true;
869     _jspx_tagPool_html_link_page.reuse(_jspx_th_html_link_10);
870     return false;
871   }
872
873   private boolean _jspx_meth_logic_present_2(javax.servlet.jsp.PageContext JavaDoc pageContext)
874           throws Throwable JavaDoc {
875     JspWriter out = pageContext.getOut();
876     /* ---- logic:present ---- */
877     org.apache.struts.taglib.logic.PresentTag _jspx_th_logic_present_2 = (org.apache.struts.taglib.logic.PresentTag) _jspx_tagPool_logic_present_name.get(org.apache.struts.taglib.logic.PresentTag.class);
878     _jspx_th_logic_present_2.setPageContext(pageContext);
879     _jspx_th_logic_present_2.setParent(null);
880     _jspx_th_logic_present_2.setName("message");
881     int _jspx_eval_logic_present_2 = _jspx_th_logic_present_2.doStartTag();
882     if (_jspx_eval_logic_present_2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
883       do {
884         out.write("\r\n ");
885         out.write("<b>");
886         out.write("<font color=\"BLUE\">");
887         if (_jspx_meth_bean_write_0(_jspx_th_logic_present_2, pageContext))
888           return true;
889         out.write("</font>");
890         out.write("</b>\r\n");
891         int evalDoAfterBody = _jspx_th_logic_present_2.doAfterBody();
892         if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
893           break;
894       } while (true);
895     }
896     if (_jspx_th_logic_present_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
897       return true;
898     _jspx_tagPool_logic_present_name.reuse(_jspx_th_logic_present_2);
899     return false;
900   }
901
902   private boolean _jspx_meth_bean_write_0(javax.servlet.jsp.tagext.Tag JavaDoc _jspx_th_logic_present_2, javax.servlet.jsp.PageContext JavaDoc pageContext)
903           throws Throwable JavaDoc {
904     JspWriter out = pageContext.getOut();
905     /* ---- bean:write ---- */
906     org.apache.struts.taglib.bean.WriteTag _jspx_th_bean_write_0 = (org.apache.struts.taglib.bean.WriteTag) _jspx_tagPool_bean_write_name.get(org.apache.struts.taglib.bean.WriteTag.class);
907     _jspx_th_bean_write_0.setPageContext(pageContext);
908     _jspx_th_bean_write_0.setParent(_jspx_th_logic_present_2);
909     _jspx_th_bean_write_0.setName("message");
910     int _jspx_eval_bean_write_0 = _jspx_th_bean_write_0.doStartTag();
911     if (_jspx_th_bean_write_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
912       return true;
913     _jspx_tagPool_bean_write_name.reuse(_jspx_th_bean_write_0);
914     return false;
915   }
916
917   private boolean _jspx_meth_bean_write_1(javax.servlet.jsp.tagext.Tag JavaDoc _jspx_th_logic_iterate_0, javax.servlet.jsp.PageContext JavaDoc pageContext)
918           throws Throwable JavaDoc {
919     JspWriter out = pageContext.getOut();
920     /* ---- bean:write ---- */
921     org.apache.struts.taglib.bean.WriteTag _jspx_th_bean_write_1 = (org.apache.struts.taglib.bean.WriteTag) _jspx_tagPool_bean_write_name.get(org.apache.struts.taglib.bean.WriteTag.class);
922     _jspx_th_bean_write_1.setPageContext(pageContext);
923     _jspx_th_bean_write_1.setParent(_jspx_th_logic_iterate_0);
924     _jspx_th_bean_write_1.setName("error");
925     int _jspx_eval_bean_write_1 = _jspx_th_bean_write_1.doStartTag();
926     if (_jspx_th_bean_write_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
927       return true;
928     _jspx_tagPool_bean_write_name.reuse(_jspx_th_bean_write_1);
929     return false;
930   }
931
932   private boolean _jspx_meth_html_link_11(javax.servlet.jsp.PageContext JavaDoc pageContext)
933           throws Throwable JavaDoc {
934     JspWriter out = pageContext.getOut();
935     /* ---- html:link ---- */
936     org.apache.struts.taglib.html.LinkTag _jspx_th_html_link_11 = (org.apache.struts.taglib.html.LinkTag) _jspx_tagPool_html_link_page.get(org.apache.struts.taglib.html.LinkTag.class);
937     _jspx_th_html_link_11.setPageContext(pageContext);
938     _jspx_th_html_link_11.setParent(null);
939     _jspx_th_html_link_11.setPage("/shop/index.shtml");
940     int _jspx_eval_html_link_11 = _jspx_th_html_link_11.doStartTag();
941     if (_jspx_eval_html_link_11 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
942       if (_jspx_eval_html_link_11 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
943         javax.servlet.jsp.tagext.BodyContent JavaDoc _bc = pageContext.pushBody();
944         out = _bc;
945         _jspx_th_html_link_11.setBodyContent(_bc);
946         _jspx_th_html_link_11.doInitBody();
947       }
948       do {
949         out.write("<b>");
950         out.write("<font color=\"BLACK\" size=\"2\">&lt;&lt; Main Menu");
951         out.write("</font>");
952         out.write("</b>");
953         int evalDoAfterBody = _jspx_th_html_link_11.doAfterBody();
954         if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
955           break;
956       } while (true);
957       if (_jspx_eval_html_link_11 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
958         out = pageContext.popBody();
959     }
960     if (_jspx_th_html_link_11.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
961       return true;
962     _jspx_tagPool_html_link_page.reuse(_jspx_th_html_link_11);
963     return false;
964   }
965
966   private boolean _jspx_meth_bean_write_2(javax.servlet.jsp.PageContext JavaDoc pageContext)
967           throws Throwable JavaDoc {
968     JspWriter out = pageContext.getOut();
969     /* ---- bean:write ---- */
970     org.apache.struts.taglib.bean.WriteTag _jspx_th_bean_write_2 = (org.apache.struts.taglib.bean.WriteTag) _jspx_tagPool_bean_write_property_name.get(org.apache.struts.taglib.bean.WriteTag.class);
971     _jspx_th_bean_write_2.setPageContext(pageContext);
972     _jspx_th_bean_write_2.setParent(null);
973     _jspx_th_bean_write_2.setName("category");
974     _jspx_th_bean_write_2.setProperty("name");
975     int _jspx_eval_bean_write_2 = _jspx_th_bean_write_2.doStartTag();
976     if (_jspx_th_bean_write_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
977       return true;
978     _jspx_tagPool_bean_write_property_name.reuse(_jspx_th_bean_write_2);
979     return false;
980   }
981
982   private boolean _jspx_meth_html_link_12(javax.servlet.jsp.tagext.Tag JavaDoc _jspx_th_logic_iterate_1, javax.servlet.jsp.PageContext JavaDoc pageContext)
983           throws Throwable JavaDoc {
984     JspWriter out = pageContext.getOut();
985     /* ---- html:link ---- */
986     org.apache.struts.taglib.html.LinkTag _jspx_th_html_link_12 = (org.apache.struts.taglib.html.LinkTag) _jspx_tagPool_html_link_paramProperty_paramName_paramId_page.get(org.apache.struts.taglib.html.LinkTag.class);
987     _jspx_th_html_link_12.setPageContext(pageContext);
988     _jspx_th_html_link_12.setParent(_jspx_th_logic_iterate_1);
989     _jspx_th_html_link_12.setParamId("productId");
990     _jspx_th_html_link_12.setParamName("product");
991     _jspx_th_html_link_12.setParamProperty("productId");
992     _jspx_th_html_link_12.setPage("/shop/viewProduct.shtml");
993     int _jspx_eval_html_link_12 = _jspx_th_html_link_12.doStartTag();
994     if (_jspx_eval_html_link_12 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
995       if (_jspx_eval_html_link_12 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
996         javax.servlet.jsp.tagext.BodyContent JavaDoc _bc = pageContext.pushBody();
997         out = _bc;
998         _jspx_th_html_link_12.setBodyContent(_bc);
999         _jspx_th_html_link_12.doInitBody();
1000      }
1001      do {
1002        out.write("<font color=\"BLACK\">");
1003        if (_jspx_meth_bean_write_3(_jspx_th_html_link_12, pageContext))
1004          return true;
1005        out.write("</font>");
1006        int evalDoAfterBody = _jspx_th_html_link_12.doAfterBody();
1007        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
1008          break;
1009      } while (true);
1010      if (_jspx_eval_html_link_12 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
1011        out = pageContext.popBody();
1012    }
1013    if (_jspx_th_html_link_12.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
1014      return true;
1015    _jspx_tagPool_html_link_paramProperty_paramName_paramId_page.reuse(_jspx_th_html_link_12);
1016    return false;
1017  }
1018
1019  private boolean _jspx_meth_bean_write_3(javax.servlet.jsp.tagext.Tag JavaDoc _jspx_th_html_link_12, javax.servlet.jsp.PageContext JavaDoc pageContext)
1020          throws Throwable JavaDoc {
1021    JspWriter out = pageContext.getOut();
1022    /* ---- bean:write ---- */
1023    org.apache.struts.taglib.bean.WriteTag _jspx_th_bean_write_3 = (org.apache.struts.taglib.bean.WriteTag) _jspx_tagPool_bean_write_property_name.get(org.apache.struts.taglib.bean.WriteTag.class);
1024    _jspx_th_bean_write_3.setPageContext(pageContext);
1025    _jspx_th_bean_write_3.setParent(_jspx_th_html_link_12);
1026    _jspx_th_bean_write_3.setName("product");
1027    _jspx_th_bean_write_3.setProperty("productId");
1028    int _jspx_eval_bean_write_3 = _jspx_th_bean_write_3.doStartTag();
1029    if (_jspx_th_bean_write_3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
1030      return true;
1031    _jspx_tagPool_bean_write_property_name.reuse(_jspx_th_bean_write_3);
1032    return false;
1033  }
1034
1035  private boolean _jspx_meth_bean_write_4(javax.servlet.jsp.tagext.Tag JavaDoc _jspx_th_logic_iterate_1, javax.servlet.jsp.PageContext JavaDoc pageContext)
1036          throws Throwable JavaDoc {
1037    JspWriter out = pageContext.getOut();
1038    /* ---- bean:write ---- */
1039    org.apache.struts.taglib.bean.WriteTag _jspx_th_bean_write_4 = (org.apache.struts.taglib.bean.WriteTag) _jspx_tagPool_bean_write_property_name.get(org.apache.struts.taglib.bean.WriteTag.class);
1040    _jspx_th_bean_write_4.setPageContext(pageContext);
1041    _jspx_th_bean_write_4.setParent(_jspx_th_logic_iterate_1);
1042    _jspx_th_bean_write_4.setName("product");
1043    _jspx_th_bean_write_4.setProperty("name");
1044    int _jspx_eval_bean_write_4 = _jspx_th_bean_write_4.doStartTag();
1045    if (_jspx_th_bean_write_4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
1046      return true;
1047    _jspx_tagPool_bean_write_property_name.reuse(_jspx_th_bean_write_4);
1048    return false;
1049  }
1050
1051  private boolean _jspx_meth_logic_notEqual_1(javax.servlet.jsp.PageContext JavaDoc pageContext)
1052          throws Throwable JavaDoc {
1053    JspWriter out = pageContext.getOut();
1054    /* ---- logic:notEqual ---- */
1055    org.apache.struts.taglib.logic.NotEqualTag _jspx_th_logic_notEqual_1 = (org.apache.struts.taglib.logic.NotEqualTag) _jspx_tagPool_logic_notEqual_value_property_name.get(org.apache.struts.taglib.logic.NotEqualTag.class);
1056    _jspx_th_logic_notEqual_1.setPageContext(pageContext);
1057    _jspx_th_logic_notEqual_1.setParent(null);
1058    _jspx_th_logic_notEqual_1.setName("productList");
1059    _jspx_th_logic_notEqual_1.setProperty("firstPage");
1060    _jspx_th_logic_notEqual_1.setValue("true");
1061    int _jspx_eval_logic_notEqual_1 = _jspx_th_logic_notEqual_1.doStartTag();
1062    if (_jspx_eval_logic_notEqual_1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
1063      do {
1064        out.write("\r\n ");
1065        out.write("<a HREF=\"switchProductListPage.shtml?pageDirection=previous\">");
1066        out.write("<img SRC=\"../images/button_prev.gif\" border=\"0\">");
1067        out.write("</a>\r\n ");
1068        int evalDoAfterBody = _jspx_th_logic_notEqual_1.doAfterBody();
1069        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
1070          break;
1071      } while (true);
1072    }
1073    if (_jspx_th_logic_notEqual_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
1074      return true;
1075    _jspx_tagPool_logic_notEqual_value_property_name.reuse(_jspx_th_logic_notEqual_1);
1076    return false;
1077  }
1078
1079  private boolean _jspx_meth_logic_notEqual_2(javax.servlet.jsp.PageContext JavaDoc pageContext)
1080          throws Throwable JavaDoc {
1081    JspWriter out = pageContext.getOut();
1082    /* ---- logic:notEqual ---- */
1083    org.apache.struts.taglib.logic.NotEqualTag _jspx_th_logic_notEqual_2 = (org.apache.struts.taglib.logic.NotEqualTag) _jspx_tagPool_logic_notEqual_value_property_name.get(org.apache.struts.taglib.logic.NotEqualTag.class);
1084    _jspx_th_logic_notEqual_2.setPageContext(pageContext);
1085    _jspx_th_logic_notEqual_2.setParent(null);
1086    _jspx_th_logic_notEqual_2.setName("productList");
1087    _jspx_th_logic_notEqual_2.setProperty("lastPage");
1088    _jspx_th_logic_notEqual_2.setValue("true");
1089    int _jspx_eval_logic_notEqual_2 = _jspx_th_logic_notEqual_2.doStartTag();
1090    if (_jspx_eval_logic_notEqual_2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
1091      do {
1092        out.write("\r\n ");
1093        out.write("<a HREF=\"switchProductListPage.shtml?pageDirection=next\">");
1094        out.write("<img SRC=\"../images/button_next.gif\" border=\"0\">");
1095        out.write("</a>\r\n ");
1096        int evalDoAfterBody = _jspx_th_logic_notEqual_2.doAfterBody();
1097        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
1098          break;
1099      } while (true);
1100    }
1101    if (_jspx_th_logic_notEqual_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
1102      return true;
1103    _jspx_tagPool_logic_notEqual_value_property_name.reuse(_jspx_th_logic_notEqual_2);
1104    return false;
1105  }
1106}
1107
Popular Tags