KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > jsp > listUser_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 listUser_jsp extends HttpJspBase {
9
10
11   private static java.util.Vector JavaDoc _jspx_includes;
12
13   private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_template_insert_template;
14   private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_template_put_name_direct_content;
15   private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_template_put_name_direct;
16   private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_bean_message_key;
17   private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_forEach_var_items;
18   private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_out_value;
19
20   public listUser_jsp() {
21     _jspx_tagPool_template_insert_template = new org.apache.jasper.runtime.TagHandlerPool();
22     _jspx_tagPool_template_put_name_direct_content = new org.apache.jasper.runtime.TagHandlerPool();
23     _jspx_tagPool_template_put_name_direct = new org.apache.jasper.runtime.TagHandlerPool();
24     _jspx_tagPool_bean_message_key = new org.apache.jasper.runtime.TagHandlerPool();
25     _jspx_tagPool_c_forEach_var_items = new org.apache.jasper.runtime.TagHandlerPool();
26     _jspx_tagPool_c_out_value = new org.apache.jasper.runtime.TagHandlerPool();
27   }
28
29   public java.util.List JavaDoc getIncludes() {
30     return _jspx_includes;
31   }
32
33   public void _jspDestroy() {
34     _jspx_tagPool_template_insert_template.release();
35     _jspx_tagPool_template_put_name_direct_content.release();
36     _jspx_tagPool_template_put_name_direct.release();
37     _jspx_tagPool_bean_message_key.release();
38     _jspx_tagPool_c_forEach_var_items.release();
39     _jspx_tagPool_c_out_value.release();
40   }
41
42   public void _jspService(HttpServletRequest request, HttpServletResponse response)
43         throws java.io.IOException JavaDoc, ServletException {
44
45     JspFactory _jspxFactory = null;
46     javax.servlet.jsp.PageContext JavaDoc pageContext = null;
47     HttpSession session = null;
48     ServletContext application = null;
49     ServletConfig config = null;
50     JspWriter out = null;
51     Object JavaDoc page = this;
52     JspWriter _jspx_out = null;
53
54
55     try {
56       _jspxFactory = JspFactory.getDefaultFactory();
57       response.setContentType("text/html;charset=ISO-8859-1");
58       pageContext = _jspxFactory.getPageContext(this, request, response,
59                 null, true, 8192, true);
60       application = pageContext.getServletContext();
61       config = pageContext.getServletConfig();
62       session = pageContext.getSession();
63       out = pageContext.getOut();
64       _jspx_out = out;
65
66       out.write("\r\n");
67       out.write("\r\n");
68       out.write("\r\n");
69       out.write("\r\n\r\n");
70       /* ---- template:insert ---- */
71       org.apache.struts.taglib.template.InsertTag _jspx_th_template_insert_0 = (org.apache.struts.taglib.template.InsertTag) _jspx_tagPool_template_insert_template.get(org.apache.struts.taglib.template.InsertTag.class);
72       _jspx_th_template_insert_0.setPageContext(pageContext);
73       _jspx_th_template_insert_0.setParent(null);
74       _jspx_th_template_insert_0.setTemplate("../template.jsp");
75       int _jspx_eval_template_insert_0 = _jspx_th_template_insert_0.doStartTag();
76       if (_jspx_eval_template_insert_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
77         do {
78           out.write("\r\n ");
79           if (_jspx_meth_template_put_0(_jspx_th_template_insert_0, pageContext))
80             return;
81           out.write("\r\n ");
82           /* ---- template:put ---- */
83           org.apache.struts.taglib.template.PutTag _jspx_th_template_put_1 = (org.apache.struts.taglib.template.PutTag) _jspx_tagPool_template_put_name_direct.get(org.apache.struts.taglib.template.PutTag.class);
84           _jspx_th_template_put_1.setPageContext(pageContext);
85           _jspx_th_template_put_1.setParent(_jspx_th_template_insert_0);
86           _jspx_th_template_put_1.setName("content");
87           _jspx_th_template_put_1.setDirect("true");
88           int _jspx_eval_template_put_1 = _jspx_th_template_put_1.doStartTag();
89           if (_jspx_eval_template_put_1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
90             if (_jspx_eval_template_put_1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
91               javax.servlet.jsp.tagext.BodyContent JavaDoc _bc = pageContext.pushBody();
92               _bc.clear();
93               out = _bc;
94               _jspx_th_template_put_1.setBodyContent(_bc);
95               _jspx_th_template_put_1.doInitBody();
96             }
97             do {
98               out.write(" \r\n \t \r\n\t ");
99               out.write("<img SRC=\"images/user-tile.gif\" align=\"middle\" border=\"0\">");
100               out.write("<span class=\"titre2\">");
101               if (_jspx_meth_bean_message_0(_jspx_th_template_put_1, pageContext))
102                 return;
103               out.write("</span>");
104               out.write("<br>");
105               out.write("<br>\r\n\t \r\n\t ");
106               out.write("<table cellpadding=\"0\" cellspacing=\"2\" width=\"100%\">\r\n\t \t");
107               out.write("<tr>\r\n\t\t\t");
108               out.write("<td width=\"20\">");
109               out.write("</td>\r\n\t\t\t");
110               out.write("<td class=\"titre-liste\">&nbsp;&nbsp;");
111               out.write("<b>login");
112               out.write("</b>");
113               out.write("</td>\r\n\t\t\t");
114               out.write("<td class=\"titre-liste\">&nbsp;&nbsp;");
115               out.write("<b>password");
116               out.write("</b>");
117               out.write("</td>\r\n\t\t\t");
118               out.write("<td width=\"20\">");
119               out.write("</td>\t\t\t\r\n\t\t");
120               out.write("</tr>\r\n\t\t");
121               out.write("<tr>\r\n\t\t\t");
122               out.write("<td height=\"1\" bgcolor=\"#949494\">");
123               out.write("</td>\r\n\t\t\t");
124               out.write("<td height=\"1\" bgcolor=\"#949494\">");
125               out.write("</td>\r\n\t\t\t");
126               out.write("<td height=\"1\" bgcolor=\"#949494\">");
127               out.write("</td>\t\t\r\n\t\t\t");
128               out.write("<td height=\"1\" bgcolor=\"#949494\">");
129               out.write("</td>\t\t\r\n\t\t");
130               out.write("</tr>\r\n\t ");
131               /* ---- c:forEach ---- */
132               org.apache.taglibs.standard.tag.el.core.ForEachTag _jspx_th_c_forEach_0 = (org.apache.taglibs.standard.tag.el.core.ForEachTag) _jspx_tagPool_c_forEach_var_items.get(org.apache.taglibs.standard.tag.el.core.ForEachTag.class);
133               _jspx_th_c_forEach_0.setPageContext(pageContext);
134               _jspx_th_c_forEach_0.setParent(_jspx_th_template_put_1);
135               _jspx_th_c_forEach_0.setVar("user");
136               _jspx_th_c_forEach_0.setItems("${users}");
137               try {
138                 int _jspx_eval_c_forEach_0 = _jspx_th_c_forEach_0.doStartTag();
139                 if (_jspx_eval_c_forEach_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
140                   do {
141                     out.write("\r\n\t\t");
142                     out.write("<tr>\r\n\t\t\t");
143                     out.write("<td align=\"center\">");
144                     out.write("<a HREF=\"editUser.x?id=");
145                     if (_jspx_meth_c_out_0(_jspx_th_c_forEach_0, pageContext))
146                       return;
147                     out.write("\">");
148                     out.write("<img SRC=\"images/puce.gif\" align=\"middle\" border=\"0\">");
149                     out.write("</a>");
150                     out.write("</td>\r\n\t\t\t");
151                     out.write("<td class=\"texte\">&nbsp;&nbsp;");
152                     out.write("<a HREF=\"editUser.x?id=");
153                     if (_jspx_meth_c_out_1(_jspx_th_c_forEach_0, pageContext))
154                       return;
155                     out.write("\">");
156                     if (_jspx_meth_c_out_2(_jspx_th_c_forEach_0, pageContext))
157                       return;
158                     out.write("</a>&nbsp;&nbsp;");
159                     out.write("</td>\r\n\t\t\t");
160                     out.write("<td class=\"texte\">&nbsp;&nbsp;");
161                     if (_jspx_meth_c_out_3(_jspx_th_c_forEach_0, pageContext))
162                       return;
163                     out.write("&nbsp;&nbsp;");
164                     out.write("</td>\t\r\n\t\t\t");
165                     out.write("<td align=\"center\">");
166                     out.write("<a HREF=\"delUser.x?id=");
167                     if (_jspx_meth_c_out_4(_jspx_th_c_forEach_0, pageContext))
168                       return;
169                     out.write("\">");
170                     out.write("<img SRC=\"images/croix-fade.gif\" onmouseover=\"this.src='images/croix.gif'\" onmouseout=\"this.src='images/croix-fade.gif'\" align=\"middle\" border=\"0\">");
171                     out.write("</a>");
172                     out.write("</td>\t\t\r\n\t\t");
173                     out.write("</tr>\r\n\t\t");
174                     out.write("<tr>\r\n\t\t\t");
175                     out.write("<td height=\"1\" bgcolor=\"#949494\">");
176                     out.write("</td>\r\n\t\t\t");
177                     out.write("<td height=\"1\" bgcolor=\"#949494\">");
178                     out.write("</td>\r\n\t\t\t");
179                     out.write("<td height=\"1\" bgcolor=\"#949494\">");
180                     out.write("</td>\r\n\t\t\t");
181                     out.write("<td height=\"1\" bgcolor=\"#949494\">");
182                     out.write("</td>\t\t\t\t\r\n\t\t");
183                     out.write("</tr>\r\n\t ");
184                     int evalDoAfterBody = _jspx_th_c_forEach_0.doAfterBody();
185                     if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
186                       break;
187                   } while (true);
188                 }
189                 if (_jspx_th_c_forEach_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
190                   return;
191               } catch (Throwable JavaDoc _jspx_exception) {
192                 _jspx_th_c_forEach_0.doCatch(_jspx_exception);
193               } finally {
194                 _jspx_th_c_forEach_0.doFinally();
195                 _jspx_tagPool_c_forEach_var_items.reuse(_jspx_th_c_forEach_0);
196               }
197               out.write("\r\n\t \t \r\n\t ");
198               out.write("</table>\t\r\n\t ");
199               out.write("<br>");
200               out.write("<br>\r\n\t ");
201               out.write("<img SRC=\"images/etoile.gif\" align=\"absmiddle\">&nbsp;&nbsp;");
202               out.write("<a HREF=\"addUser.x\">");
203               if (_jspx_meth_bean_message_1(_jspx_th_template_put_1, pageContext))
204                 return;
205               out.write("</a>. \r\n\t\r\n ");
206               int evalDoAfterBody = _jspx_th_template_put_1.doAfterBody();
207               if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
208                 break;
209             } while (true);
210             if (_jspx_eval_template_put_1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
211               out = pageContext.popBody();
212           }
213           if (_jspx_th_template_put_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
214             return;
215           _jspx_tagPool_template_put_name_direct.reuse(_jspx_th_template_put_1);
216           out.write("\r\n");
217           int evalDoAfterBody = _jspx_th_template_insert_0.doAfterBody();
218           if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
219             break;
220         } while (true);
221       }
222       if (_jspx_th_template_insert_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
223         return;
224       _jspx_tagPool_template_insert_template.reuse(_jspx_th_template_insert_0);
225       out.write("\r\n");
226     } catch (Throwable JavaDoc t) {
227       out = _jspx_out;
228       if (out != null && out.getBufferSize() != 0)
229         out.clearBuffer();
230       if (pageContext != null) pageContext.handlePageException(t);
231     } finally {
232       if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext);
233     }
234   }
235
236   private boolean _jspx_meth_template_put_0(javax.servlet.jsp.tagext.Tag JavaDoc _jspx_th_template_insert_0, javax.servlet.jsp.PageContext JavaDoc pageContext)
237           throws Throwable JavaDoc {
238     JspWriter out = pageContext.getOut();
239     /* ---- template:put ---- */
240     org.apache.struts.taglib.template.PutTag _jspx_th_template_put_0 = (org.apache.struts.taglib.template.PutTag) _jspx_tagPool_template_put_name_direct_content.get(org.apache.struts.taglib.template.PutTag.class);
241     _jspx_th_template_put_0.setPageContext(pageContext);
242     _jspx_th_template_put_0.setParent(_jspx_th_template_insert_0);
243     _jspx_th_template_put_0.setName("label");
244     _jspx_th_template_put_0.setContent("User-Administration");
245     _jspx_th_template_put_0.setDirect("true");
246     int _jspx_eval_template_put_0 = _jspx_th_template_put_0.doStartTag();
247     if (_jspx_th_template_put_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
248       return true;
249     _jspx_tagPool_template_put_name_direct_content.reuse(_jspx_th_template_put_0);
250     return false;
251   }
252
253   private boolean _jspx_meth_bean_message_0(javax.servlet.jsp.tagext.Tag JavaDoc _jspx_th_template_put_1, javax.servlet.jsp.PageContext JavaDoc pageContext)
254           throws Throwable JavaDoc {
255     JspWriter out = pageContext.getOut();
256     /* ---- bean:message ---- */
257     org.apache.struts.taglib.bean.MessageTag _jspx_th_bean_message_0 = (org.apache.struts.taglib.bean.MessageTag) _jspx_tagPool_bean_message_key.get(org.apache.struts.taglib.bean.MessageTag.class);
258     _jspx_th_bean_message_0.setPageContext(pageContext);
259     _jspx_th_bean_message_0.setParent(_jspx_th_template_put_1);
260     _jspx_th_bean_message_0.setKey("user.listUser.headline");
261     int _jspx_eval_bean_message_0 = _jspx_th_bean_message_0.doStartTag();
262     if (_jspx_th_bean_message_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
263       return true;
264     _jspx_tagPool_bean_message_key.reuse(_jspx_th_bean_message_0);
265     return false;
266   }
267
268   private boolean _jspx_meth_c_out_0(javax.servlet.jsp.tagext.Tag JavaDoc _jspx_th_c_forEach_0, javax.servlet.jsp.PageContext JavaDoc pageContext)
269           throws Throwable JavaDoc {
270     JspWriter out = pageContext.getOut();
271     /* ---- c:out ---- */
272     org.apache.taglibs.standard.tag.el.core.OutTag _jspx_th_c_out_0 = (org.apache.taglibs.standard.tag.el.core.OutTag) _jspx_tagPool_c_out_value.get(org.apache.taglibs.standard.tag.el.core.OutTag.class);
273     _jspx_th_c_out_0.setPageContext(pageContext);
274     _jspx_th_c_out_0.setParent(_jspx_th_c_forEach_0);
275     _jspx_th_c_out_0.setValue("${user.login}");
276     int _jspx_eval_c_out_0 = _jspx_th_c_out_0.doStartTag();
277     if (_jspx_th_c_out_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
278       return true;
279     _jspx_tagPool_c_out_value.reuse(_jspx_th_c_out_0);
280     return false;
281   }
282
283   private boolean _jspx_meth_c_out_1(javax.servlet.jsp.tagext.Tag JavaDoc _jspx_th_c_forEach_0, javax.servlet.jsp.PageContext JavaDoc pageContext)
284           throws Throwable JavaDoc {
285     JspWriter out = pageContext.getOut();
286     /* ---- c:out ---- */
287     org.apache.taglibs.standard.tag.el.core.OutTag _jspx_th_c_out_1 = (org.apache.taglibs.standard.tag.el.core.OutTag) _jspx_tagPool_c_out_value.get(org.apache.taglibs.standard.tag.el.core.OutTag.class);
288     _jspx_th_c_out_1.setPageContext(pageContext);
289     _jspx_th_c_out_1.setParent(_jspx_th_c_forEach_0);
290     _jspx_th_c_out_1.setValue("${user.login}");
291     int _jspx_eval_c_out_1 = _jspx_th_c_out_1.doStartTag();
292     if (_jspx_th_c_out_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
293       return true;
294     _jspx_tagPool_c_out_value.reuse(_jspx_th_c_out_1);
295     return false;
296   }
297
298   private boolean _jspx_meth_c_out_2(javax.servlet.jsp.tagext.Tag JavaDoc _jspx_th_c_forEach_0, javax.servlet.jsp.PageContext JavaDoc pageContext)
299           throws Throwable JavaDoc {
300     JspWriter out = pageContext.getOut();
301     /* ---- c:out ---- */
302     org.apache.taglibs.standard.tag.el.core.OutTag _jspx_th_c_out_2 = (org.apache.taglibs.standard.tag.el.core.OutTag) _jspx_tagPool_c_out_value.get(org.apache.taglibs.standard.tag.el.core.OutTag.class);
303     _jspx_th_c_out_2.setPageContext(pageContext);
304     _jspx_th_c_out_2.setParent(_jspx_th_c_forEach_0);
305     _jspx_th_c_out_2.setValue("${user.login}");
306     int _jspx_eval_c_out_2 = _jspx_th_c_out_2.doStartTag();
307     if (_jspx_th_c_out_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
308       return true;
309     _jspx_tagPool_c_out_value.reuse(_jspx_th_c_out_2);
310     return false;
311   }
312
313   private boolean _jspx_meth_c_out_3(javax.servlet.jsp.tagext.Tag JavaDoc _jspx_th_c_forEach_0, javax.servlet.jsp.PageContext JavaDoc pageContext)
314           throws Throwable JavaDoc {
315     JspWriter out = pageContext.getOut();
316     /* ---- c:out ---- */
317     org.apache.taglibs.standard.tag.el.core.OutTag _jspx_th_c_out_3 = (org.apache.taglibs.standard.tag.el.core.OutTag) _jspx_tagPool_c_out_value.get(org.apache.taglibs.standard.tag.el.core.OutTag.class);
318     _jspx_th_c_out_3.setPageContext(pageContext);
319     _jspx_th_c_out_3.setParent(_jspx_th_c_forEach_0);
320     _jspx_th_c_out_3.setValue("${user.password}");
321     int _jspx_eval_c_out_3 = _jspx_th_c_out_3.doStartTag();
322     if (_jspx_th_c_out_3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
323       return true;
324     _jspx_tagPool_c_out_value.reuse(_jspx_th_c_out_3);
325     return false;
326   }
327
328   private boolean _jspx_meth_c_out_4(javax.servlet.jsp.tagext.Tag JavaDoc _jspx_th_c_forEach_0, javax.servlet.jsp.PageContext JavaDoc pageContext)
329           throws Throwable JavaDoc {
330     JspWriter out = pageContext.getOut();
331     /* ---- c:out ---- */
332     org.apache.taglibs.standard.tag.el.core.OutTag _jspx_th_c_out_4 = (org.apache.taglibs.standard.tag.el.core.OutTag) _jspx_tagPool_c_out_value.get(org.apache.taglibs.standard.tag.el.core.OutTag.class);
333     _jspx_th_c_out_4.setPageContext(pageContext);
334     _jspx_th_c_out_4.setParent(_jspx_th_c_forEach_0);
335     _jspx_th_c_out_4.setValue("${user.login}");
336     int _jspx_eval_c_out_4 = _jspx_th_c_out_4.doStartTag();
337     if (_jspx_th_c_out_4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
338       return true;
339     _jspx_tagPool_c_out_value.reuse(_jspx_th_c_out_4);
340     return false;
341   }
342
343   private boolean _jspx_meth_bean_message_1(javax.servlet.jsp.tagext.Tag JavaDoc _jspx_th_template_put_1, javax.servlet.jsp.PageContext JavaDoc pageContext)
344           throws Throwable JavaDoc {
345     JspWriter out = pageContext.getOut();
346     /* ---- bean:message ---- */
347     org.apache.struts.taglib.bean.MessageTag _jspx_th_bean_message_1 = (org.apache.struts.taglib.bean.MessageTag) _jspx_tagPool_bean_message_key.get(org.apache.struts.taglib.bean.MessageTag.class);
348     _jspx_th_bean_message_1.setPageContext(pageContext);
349     _jspx_th_bean_message_1.setParent(_jspx_th_template_put_1);
350     _jspx_th_bean_message_1.setKey("user.listUser.newuser");
351     int _jspx_eval_bean_message_1 = _jspx_th_bean_message_1.doStartTag();
352     if (_jspx_th_bean_message_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
353       return true;
354     _jspx_tagPool_bean_message_key.reuse(_jspx_th_bean_message_1);
355     return false;
356   }
357 }
358
Popular Tags