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 listResource_jsp extends HttpJspBase { 9 10 11 private static java.util.Vector _jspx_includes; 12 13 private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_out_value; 14 private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_bean_message_key; 15 private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_forEach_var_items; 16 private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_choose; 17 private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_when_test; 18 private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_otherwise; 19 20 public listResource_jsp() { 21 _jspx_tagPool_c_out_value = new org.apache.jasper.runtime.TagHandlerPool(); 22 _jspx_tagPool_bean_message_key = new org.apache.jasper.runtime.TagHandlerPool(); 23 _jspx_tagPool_c_forEach_var_items = new org.apache.jasper.runtime.TagHandlerPool(); 24 _jspx_tagPool_c_choose = new org.apache.jasper.runtime.TagHandlerPool(); 25 _jspx_tagPool_c_when_test = new org.apache.jasper.runtime.TagHandlerPool(); 26 _jspx_tagPool_c_otherwise = new org.apache.jasper.runtime.TagHandlerPool(); 27 } 28 29 public java.util.List getIncludes() { 30 return _jspx_includes; 31 } 32 33 public void _jspDestroy() { 34 _jspx_tagPool_c_out_value.release(); 35 _jspx_tagPool_bean_message_key.release(); 36 _jspx_tagPool_c_forEach_var_items.release(); 37 _jspx_tagPool_c_choose.release(); 38 _jspx_tagPool_c_when_test.release(); 39 _jspx_tagPool_c_otherwise.release(); 40 } 41 42 public void _jspService(HttpServletRequest request, HttpServletResponse response) 43 throws java.io.IOException , ServletException { 44 45 JspFactory _jspxFactory = null; 46 javax.servlet.jsp.PageContext pageContext = null; 47 HttpSession session = null; 48 ServletContext application = null; 49 ServletConfig config = null; 50 JspWriter out = null; 51 Object 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 out.write("<html>\r\n\r\n"); 71 out.write("<head>\r\n "); 72 out.write("<title>viewResources"); 73 out.write("</title> \r\n "); 74 out.write("<link rel=\"stylesheet\" type=\"text/css\" HREF=\"styles/global.css\">\r\n"); 75 out.write("</head>\r\n\r\n"); 76 out.write("<!-- Body -->\r\n\r\n"); 77 out.write("<body bgcolor=\"#eeeeee\">\r\n\r\n"); 78 out.write("<table cellpadding=\"0\" cellspacing=\"2\">\t\r\n\t"); 79 out.write("<tr>\t\t\t\r\n\t\t"); 80 out.write("<td style=\"border:1px solid black\" width=\"20\" height=\"20\" align=\"center\">\t\t\t\t\r\n\t\t\t"); 81 out.write("<img SRC=\"images/nothing.gif\" border=\"0\" style=\"border:1px solid #ffffff\" width=\"20\" height=\"20\">"); 82 out.write("</td>\t\t\t\t\t\t\r\n\t\t"); 83 out.write("<td class=\"text\"> "); 84 out.write("<a HREF=\"#select\" onclick=\"eval(window.parent."); 85 if (_jspx_meth_c_out_0(pageContext)) 86 return; 87 out.write("(''))\">"); 88 if (_jspx_meth_bean_message_0(pageContext)) 89 return; 90 out.write("</a>"); 91 out.write("</td>\r\n\t"); 92 out.write("</tr>\t\t\r\n\t"); 93 94 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); 95 _jspx_th_c_forEach_0.setPageContext(pageContext); 96 _jspx_th_c_forEach_0.setParent(null); 97 _jspx_th_c_forEach_0.setVar("file"); 98 _jspx_th_c_forEach_0.setItems("${files}"); 99 try { 100 int _jspx_eval_c_forEach_0 = _jspx_th_c_forEach_0.doStartTag(); 101 if (_jspx_eval_c_forEach_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { 102 do { 103 out.write("\t\t\t\t\r\n\t\t"); 104 out.write("<tr>\t\t\t\r\n\t\t\t"); 105 out.write("<td style=\"border:1px solid black\">\t\t\t\t\r\n\t\t\t\t"); 106 out.write("<a HREF=\"resources/"); 107 if (_jspx_meth_c_out_1(_jspx_th_c_forEach_0, pageContext)) 108 return; 109 out.write("/"); 110 if (_jspx_meth_c_out_2(_jspx_th_c_forEach_0, pageContext)) 111 return; 112 out.write("\" target=\"_blank\">\t\t\t\t\t\t\t\r\n\t\t\t\t\t"); 113 if (_jspx_meth_c_choose_0(_jspx_th_c_forEach_0, pageContext)) 114 return; 115 out.write("\r\n\t\t\t"); 116 out.write("<td class=\"text\"> "); 117 out.write("<a HREF=\"#select\" onclick=\"eval(window.parent."); 118 if (_jspx_meth_c_out_5(_jspx_th_c_forEach_0, pageContext)) 119 return; 120 out.write("('"); 121 if (_jspx_meth_c_out_6(_jspx_th_c_forEach_0, pageContext)) 122 return; 123 out.write("'))\">"); 124 if (_jspx_meth_c_out_7(_jspx_th_c_forEach_0, pageContext)) 125 return; 126 out.write("</a>"); 127 out.write("</td>\r\n\t\t"); 128 out.write("</tr>\t\t\t\t\t\r\n\t"); 129 int evalDoAfterBody = _jspx_th_c_forEach_0.doAfterBody(); 130 if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) 131 break; 132 } while (true); 133 } 134 if (_jspx_th_c_forEach_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) 135 return; 136 } catch (Throwable _jspx_exception) { 137 _jspx_th_c_forEach_0.doCatch(_jspx_exception); 138 } finally { 139 _jspx_th_c_forEach_0.doFinally(); 140 _jspx_tagPool_c_forEach_var_items.reuse(_jspx_th_c_forEach_0); 141 } 142 out.write("\r\n"); 143 out.write("</table>\t\r\n\r\n"); 144 out.write("</body>\r\n\r\n"); 145 out.write("</html>\r\n"); 146 } catch (Throwable t) { 147 out = _jspx_out; 148 if (out != null && out.getBufferSize() != 0) 149 out.clearBuffer(); 150 if (pageContext != null) pageContext.handlePageException(t); 151 } finally { 152 if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext); 153 } 154 } 155 156 private boolean _jspx_meth_c_out_0(javax.servlet.jsp.PageContext pageContext) 157 throws Throwable { 158 JspWriter out = pageContext.getOut(); 159 160 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); 161 _jspx_th_c_out_0.setPageContext(pageContext); 162 _jspx_th_c_out_0.setParent(null); 163 _jspx_th_c_out_0.setValue("${param['action']}"); 164 int _jspx_eval_c_out_0 = _jspx_th_c_out_0.doStartTag(); 165 if (_jspx_th_c_out_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) 166 return true; 167 _jspx_tagPool_c_out_value.reuse(_jspx_th_c_out_0); 168 return false; 169 } 170 171 private boolean _jspx_meth_bean_message_0(javax.servlet.jsp.PageContext pageContext) 172 throws Throwable { 173 JspWriter out = pageContext.getOut(); 174 175 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); 176 _jspx_th_bean_message_0.setPageContext(pageContext); 177 _jspx_th_bean_message_0.setParent(null); 178 _jspx_th_bean_message_0.setKey("general.nothing"); 179 int _jspx_eval_bean_message_0 = _jspx_th_bean_message_0.doStartTag(); 180 if (_jspx_th_bean_message_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) 181 return true; 182 _jspx_tagPool_bean_message_key.reuse(_jspx_th_bean_message_0); 183 return false; 184 } 185 186 private boolean _jspx_meth_c_out_1(javax.servlet.jsp.tagext.Tag _jspx_th_c_forEach_0, javax.servlet.jsp.PageContext pageContext) 187 throws Throwable { 188 JspWriter out = pageContext.getOut(); 189 190 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); 191 _jspx_th_c_out_1.setPageContext(pageContext); 192 _jspx_th_c_out_1.setParent(_jspx_th_c_forEach_0); 193 _jspx_th_c_out_1.setValue("${param['id']}"); 194 int _jspx_eval_c_out_1 = _jspx_th_c_out_1.doStartTag(); 195 if (_jspx_th_c_out_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) 196 return true; 197 _jspx_tagPool_c_out_value.reuse(_jspx_th_c_out_1); 198 return false; 199 } 200 201 private boolean _jspx_meth_c_out_2(javax.servlet.jsp.tagext.Tag _jspx_th_c_forEach_0, javax.servlet.jsp.PageContext pageContext) 202 throws Throwable { 203 JspWriter out = pageContext.getOut(); 204 205 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); 206 _jspx_th_c_out_2.setPageContext(pageContext); 207 _jspx_th_c_out_2.setParent(_jspx_th_c_forEach_0); 208 _jspx_th_c_out_2.setValue("${file.name}"); 209 int _jspx_eval_c_out_2 = _jspx_th_c_out_2.doStartTag(); 210 if (_jspx_th_c_out_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) 211 return true; 212 _jspx_tagPool_c_out_value.reuse(_jspx_th_c_out_2); 213 return false; 214 } 215 216 private boolean _jspx_meth_c_choose_0(javax.servlet.jsp.tagext.Tag _jspx_th_c_forEach_0, javax.servlet.jsp.PageContext pageContext) 217 throws Throwable { 218 JspWriter out = pageContext.getOut(); 219 220 org.apache.taglibs.standard.tag.common.core.ChooseTag _jspx_th_c_choose_0 = (org.apache.taglibs.standard.tag.common.core.ChooseTag) _jspx_tagPool_c_choose.get(org.apache.taglibs.standard.tag.common.core.ChooseTag.class); 221 _jspx_th_c_choose_0.setPageContext(pageContext); 222 _jspx_th_c_choose_0.setParent(_jspx_th_c_forEach_0); 223 int _jspx_eval_c_choose_0 = _jspx_th_c_choose_0.doStartTag(); 224 if (_jspx_eval_c_choose_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { 225 do { 226 out.write("\r\n\t\t\t\t\t\t"); 227 if (_jspx_meth_c_when_0(_jspx_th_c_choose_0, pageContext)) 228 return true; 229 out.write("\r\n\t\t\t\t\t\t"); 230 if (_jspx_meth_c_when_1(_jspx_th_c_choose_0, pageContext)) 231 return true; 232 out.write("\r\n\t\t\t\t\t\t"); 233 if (_jspx_meth_c_when_2(_jspx_th_c_choose_0, pageContext)) 234 return true; 235 out.write("\r\n\t\t\t\t\t\t"); 236 if (_jspx_meth_c_when_3(_jspx_th_c_choose_0, pageContext)) 237 return true; 238 out.write("\r\n\t\t\t\t\t\t"); 239 if (_jspx_meth_c_when_4(_jspx_th_c_choose_0, pageContext)) 240 return true; 241 out.write("\r\n\t\t\t\t\t\t"); 242 if (_jspx_meth_c_when_5(_jspx_th_c_choose_0, pageContext)) 243 return true; 244 out.write("\r\n\t\t\t\t\t\t"); 245 if (_jspx_meth_c_otherwise_0(_jspx_th_c_choose_0, pageContext)) 246 return true; 247 out.write("\r\n\t\t\t\t\t"); 248 int evalDoAfterBody = _jspx_th_c_choose_0.doAfterBody(); 249 if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) 250 break; 251 } while (true); 252 } 253 if (_jspx_th_c_choose_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) 254 return true; 255 _jspx_tagPool_c_choose.reuse(_jspx_th_c_choose_0); 256 return false; 257 } 258 259 private boolean _jspx_meth_c_when_0(javax.servlet.jsp.tagext.Tag _jspx_th_c_choose_0, javax.servlet.jsp.PageContext pageContext) 260 throws Throwable { 261 JspWriter out = pageContext.getOut(); 262 263 org.apache.taglibs.standard.tag.el.core.WhenTag _jspx_th_c_when_0 = (org.apache.taglibs.standard.tag.el.core.WhenTag) _jspx_tagPool_c_when_test.get(org.apache.taglibs.standard.tag.el.core.WhenTag.class); 264 _jspx_th_c_when_0.setPageContext(pageContext); 265 _jspx_th_c_when_0.setParent(_jspx_th_c_choose_0); 266 _jspx_th_c_when_0.setTest("${file.extension=='gif' || file.extension=='jpg' || file.extension=='jpeg'}"); 267 int _jspx_eval_c_when_0 = _jspx_th_c_when_0.doStartTag(); 268 if (_jspx_eval_c_when_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { 269 do { 270 out.write("\r\n\t\t\t\t\t\t\t"); 271 out.write("<img SRC=\"resources/"); 272 if (_jspx_meth_c_out_3(_jspx_th_c_when_0, pageContext)) 273 return true; 274 out.write("/"); 275 if (_jspx_meth_c_out_4(_jspx_th_c_when_0, pageContext)) 276 return true; 277 out.write("?width=100&height=100\" width=\"20\" height=\"20\" border=\"0\" style=\"border:1px solid white\">"); 278 out.write("</a>"); 279 out.write("</td>\r\n\t\t\t\t\t\t"); 280 int evalDoAfterBody = _jspx_th_c_when_0.doAfterBody(); 281 if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) 282 break; 283 } while (true); 284 } 285 if (_jspx_th_c_when_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) 286 return true; 287 _jspx_tagPool_c_when_test.reuse(_jspx_th_c_when_0); 288 return false; 289 } 290 291 private boolean _jspx_meth_c_out_3(javax.servlet.jsp.tagext.Tag _jspx_th_c_when_0, javax.servlet.jsp.PageContext pageContext) 292 throws Throwable { 293 JspWriter out = pageContext.getOut(); 294 295 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); 296 _jspx_th_c_out_3.setPageContext(pageContext); 297 _jspx_th_c_out_3.setParent(_jspx_th_c_when_0); 298 _jspx_th_c_out_3.setValue("${param['id']}"); 299 int _jspx_eval_c_out_3 = _jspx_th_c_out_3.doStartTag(); 300 if (_jspx_th_c_out_3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) 301 return true; 302 _jspx_tagPool_c_out_value.reuse(_jspx_th_c_out_3); 303 return false; 304 } 305 306 private boolean _jspx_meth_c_out_4(javax.servlet.jsp.tagext.Tag _jspx_th_c_when_0, javax.servlet.jsp.PageContext pageContext) 307 throws Throwable { 308 JspWriter out = pageContext.getOut(); 309 310 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); 311 _jspx_th_c_out_4.setPageContext(pageContext); 312 _jspx_th_c_out_4.setParent(_jspx_th_c_when_0); 313 _jspx_th_c_out_4.setValue("${file.name}"); 314 int _jspx_eval_c_out_4 = _jspx_th_c_out_4.doStartTag(); 315 if (_jspx_th_c_out_4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) 316 return true; 317 _jspx_tagPool_c_out_value.reuse(_jspx_th_c_out_4); 318 return false; 319 } 320 321 private boolean _jspx_meth_c_when_1(javax.servlet.jsp.tagext.Tag _jspx_th_c_choose_0, javax.servlet.jsp.PageContext pageContext) 322 throws Throwable { 323 JspWriter out = pageContext.getOut(); 324 325 org.apache.taglibs.standard.tag.el.core.WhenTag _jspx_th_c_when_1 = (org.apache.taglibs.standard.tag.el.core.WhenTag) _jspx_tagPool_c_when_test.get(org.apache.taglibs.standard.tag.el.core.WhenTag.class); 326 _jspx_th_c_when_1.setPageContext(pageContext); 327 _jspx_th_c_when_1.setParent(_jspx_th_c_choose_0); 328 _jspx_th_c_when_1.setTest("${file.extension=='pdf'}"); 329 int _jspx_eval_c_when_1 = _jspx_th_c_when_1.doStartTag(); 330 if (_jspx_eval_c_when_1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { 331 do { 332 out.write("\r\n\t\t\t\t\t\t\t"); 333 out.write("<img SRC=\"images/pdf-file.gif\" border=\"0\" style=\"border:1px solid #ffffff\" width=\"20\" height=\"20\">"); 334 out.write("</a>"); 335 out.write("</td>\r\n\t\t\t\t\t\t"); 336 int evalDoAfterBody = _jspx_th_c_when_1.doAfterBody(); 337 if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) 338 break; 339 } while (true); 340 } 341 if (_jspx_th_c_when_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) 342 return true; 343 _jspx_tagPool_c_when_test.reuse(_jspx_th_c_when_1); 344 return false; 345 } 346 347 private boolean _jspx_meth_c_when_2(javax.servlet.jsp.tagext.Tag _jspx_th_c_choose_0, javax.servlet.jsp.PageContext pageContext) 348 throws Throwable { 349 JspWriter out = pageContext.getOut(); 350 351 org.apache.taglibs.standard.tag.el.core.WhenTag _jspx_th_c_when_2 = (org.apache.taglibs.standard.tag.el.core.WhenTag) _jspx_tagPool_c_when_test.get(org.apache.taglibs.standard.tag.el.core.WhenTag.class); 352 _jspx_th_c_when_2.setPageContext(pageContext); 353 _jspx_th_c_when_2.setParent(_jspx_th_c_choose_0); 354 _jspx_th_c_when_2.setTest("${file.extension=='doc'}"); 355 int _jspx_eval_c_when_2 = _jspx_th_c_when_2.doStartTag(); 356 if (_jspx_eval_c_when_2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { 357 do { 358 out.write("\r\n\t\t\t\t\t\t\t"); 359 out.write("<img SRC=\"images/doc-file.gif\" border=\"0\" style=\"border:1px solid #ffffff\" width=\"20\" height=\"20\">"); 360 out.write("</a>"); 361 out.write("</td>\r\n\t\t\t\t\t\t"); 362 int evalDoAfterBody = _jspx_th_c_when_2.doAfterBody(); 363 if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) 364 break; 365 } while (true); 366 } 367 if (_jspx_th_c_when_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) 368 return true; 369 _jspx_tagPool_c_when_test.reuse(_jspx_th_c_when_2); 370 return false; 371 } 372 373 private boolean _jspx_meth_c_when_3(javax.servlet.jsp.tagext.Tag _jspx_th_c_choose_0, javax.servlet.jsp.PageContext pageContext) 374 throws Throwable { 375 JspWriter out = pageContext.getOut(); 376 377 org.apache.taglibs.standard.tag.el.core.WhenTag _jspx_th_c_when_3 = (org.apache.taglibs.standard.tag.el.core.WhenTag) _jspx_tagPool_c_when_test.get(org.apache.taglibs.standard.tag.el.core.WhenTag.class); 378 _jspx_th_c_when_3.setPageContext(pageContext); 379 _jspx_th_c_when_3.setParent(_jspx_th_c_choose_0); 380 _jspx_th_c_when_3.setTest("${file.extension=='zip'}"); 381 int _jspx_eval_c_when_3 = _jspx_th_c_when_3.doStartTag(); 382 if (_jspx_eval_c_when_3 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { 383 do { 384 out.write("\r\n\t\t\t\t\t\t\t"); 385 out.write("<img SRC=\"images/zip-file.gif\" border=\"0\" style=\"border:1px solid #ffffff\" width=\"20\" height=\"20\">"); 386 out.write("</a>"); 387 out.write("</td>\r\n\t\t\t\t\t\t"); 388 int evalDoAfterBody = _jspx_th_c_when_3.doAfterBody(); 389 if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) 390 break; 391 } while (true); 392 } 393 if (_jspx_th_c_when_3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) 394 return true; 395 _jspx_tagPool_c_when_test.reuse(_jspx_th_c_when_3); 396 return false; 397 } 398 399 private boolean _jspx_meth_c_when_4(javax.servlet.jsp.tagext.Tag _jspx_th_c_choose_0, javax.servlet.jsp.PageContext pageContext) 400 throws Throwable { 401 JspWriter out = pageContext.getOut(); 402 403 org.apache.taglibs.standard.tag.el.core.WhenTag _jspx_th_c_when_4 = (org.apache.taglibs.standard.tag.el.core.WhenTag) _jspx_tagPool_c_when_test.get(org.apache.taglibs.standard.tag.el.core.WhenTag.class); 404 _jspx_th_c_when_4.setPageContext(pageContext); 405 _jspx_th_c_when_4.setParent(_jspx_th_c_choose_0); 406 _jspx_th_c_when_4.setTest("${file.extension=='mp3' || file.extension=='wav' || file.extension=='mid'}"); 407 int _jspx_eval_c_when_4 = _jspx_th_c_when_4.doStartTag(); 408 if (_jspx_eval_c_when_4 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { 409 do { 410 out.write("\r\n\t\t\t\t\t\t\t"); 411 out.write("<img SRC=\"images/audio-file.gif\" border=\"0\" style=\"border:1px solid #ffffff\" width=\"20\" height=\"20\">"); 412 out.write("</a>"); 413 out.write("</td>\r\n\t\t\t\t\t\t"); 414 int evalDoAfterBody = _jspx_th_c_when_4.doAfterBody(); 415 if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) 416 break; 417 } while (true); 418 } 419 if (_jspx_th_c_when_4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) 420 return true; 421 _jspx_tagPool_c_when_test.reuse(_jspx_th_c_when_4); 422 return false; 423 } 424 425 private boolean _jspx_meth_c_when_5(javax.servlet.jsp.tagext.Tag _jspx_th_c_choose_0, javax.servlet.jsp.PageContext pageContext) 426 throws Throwable { 427 JspWriter out = pageContext.getOut(); 428 429 org.apache.taglibs.standard.tag.el.core.WhenTag _jspx_th_c_when_5 = (org.apache.taglibs.standard.tag.el.core.WhenTag) _jspx_tagPool_c_when_test.get(org.apache.taglibs.standard.tag.el.core.WhenTag.class); 430 _jspx_th_c_when_5.setPageContext(pageContext); 431 _jspx_th_c_when_5.setParent(_jspx_th_c_choose_0); 432 _jspx_th_c_when_5.setTest("${file.extension=='avi' || file.extension=='mpeg' || file.extension=='mpg'}"); 433 int _jspx_eval_c_when_5 = _jspx_th_c_when_5.doStartTag(); 434 if (_jspx_eval_c_when_5 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { 435 do { 436 out.write("\r\n\t\t\t\t\t\t\t"); 437 out.write("<img SRC=\"images/video-file.gif\" border=\"0\" style=\"border:1px solid #ffffff\" width=\"20\" height=\"20\">"); 438 out.write("</a>"); 439 out.write("</td>\r\n\t\t\t\t\t\t"); 440 int evalDoAfterBody = _jspx_th_c_when_5.doAfterBody(); 441 if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) 442 break; 443 } while (true); 444 } 445 if (_jspx_th_c_when_5.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) 446 return true; 447 _jspx_tagPool_c_when_test.reuse(_jspx_th_c_when_5); 448 return false; 449 } 450 451 private boolean _jspx_meth_c_otherwise_0(javax.servlet.jsp.tagext.Tag _jspx_th_c_choose_0, javax.servlet.jsp.PageContext pageContext) 452 throws Throwable { 453 JspWriter out = pageContext.getOut(); 454 455 org.apache.taglibs.standard.tag.common.core.OtherwiseTag _jspx_th_c_otherwise_0 = (org.apache.taglibs.standard.tag.common.core.OtherwiseTag) _jspx_tagPool_c_otherwise.get(org.apache.taglibs.standard.tag.common.core.OtherwiseTag.class); 456 _jspx_th_c_otherwise_0.setPageContext(pageContext); 457 _jspx_th_c_otherwise_0.setParent(_jspx_th_c_choose_0); 458 int _jspx_eval_c_otherwise_0 = _jspx_th_c_otherwise_0.doStartTag(); 459 if (_jspx_eval_c_otherwise_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { 460 do { 461 out.write("\r\n\t\t\t\t\t\t\t"); 462 out.write("<img SRC=\"images/unknow-file.gif\" border=\"0\" style=\"border:1px solid #ffffff\" width=\"20\" height=\"20\">"); 463 out.write("</a>"); 464 out.write("</td>\r\n\t\t\t\t\t\t"); 465 int evalDoAfterBody = _jspx_th_c_otherwise_0.doAfterBody(); 466 if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) 467 break; 468 } while (true); 469 } 470 if (_jspx_th_c_otherwise_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) 471 return true; 472 _jspx_tagPool_c_otherwise.reuse(_jspx_th_c_otherwise_0); 473 return false; 474 } 475 476 private boolean _jspx_meth_c_out_5(javax.servlet.jsp.tagext.Tag _jspx_th_c_forEach_0, javax.servlet.jsp.PageContext pageContext) 477 throws Throwable { 478 JspWriter out = pageContext.getOut(); 479 480 org.apache.taglibs.standard.tag.el.core.OutTag _jspx_th_c_out_5 = (org.apache.taglibs.standard.tag.el.core.OutTag) _jspx_tagPool_c_out_value.get(org.apache.taglibs.standard.tag.el.core.OutTag.class); 481 _jspx_th_c_out_5.setPageContext(pageContext); 482 _jspx_th_c_out_5.setParent(_jspx_th_c_forEach_0); 483 _jspx_th_c_out_5.setValue("${param['action']}"); 484 int _jspx_eval_c_out_5 = _jspx_th_c_out_5.doStartTag(); 485 if (_jspx_th_c_out_5.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) 486 return true; 487 _jspx_tagPool_c_out_value.reuse(_jspx_th_c_out_5); 488 return false; 489 } 490 491 private boolean _jspx_meth_c_out_6(javax.servlet.jsp.tagext.Tag _jspx_th_c_forEach_0, javax.servlet.jsp.PageContext pageContext) 492 throws Throwable { 493 JspWriter out = pageContext.getOut(); 494 495 org.apache.taglibs.standard.tag.el.core.OutTag _jspx_th_c_out_6 = (org.apache.taglibs.standard.tag.el.core.OutTag) _jspx_tagPool_c_out_value.get(org.apache.taglibs.standard.tag.el.core.OutTag.class); 496 _jspx_th_c_out_6.setPageContext(pageContext); 497 _jspx_th_c_out_6.setParent(_jspx_th_c_forEach_0); 498 _jspx_th_c_out_6.setValue("${file.name}"); 499 int _jspx_eval_c_out_6 = _jspx_th_c_out_6.doStartTag(); 500 if (_jspx_th_c_out_6.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) 501 return true; 502 _jspx_tagPool_c_out_value.reuse(_jspx_th_c_out_6); 503 return false; 504 } 505 506 private boolean _jspx_meth_c_out_7(javax.servlet.jsp.tagext.Tag _jspx_th_c_forEach_0, javax.servlet.jsp.PageContext pageContext) 507 throws Throwable { 508 JspWriter out = pageContext.getOut(); 509 510 org.apache.taglibs.standard.tag.el.core.OutTag _jspx_th_c_out_7 = (org.apache.taglibs.standard.tag.el.core.OutTag) _jspx_tagPool_c_out_value.get(org.apache.taglibs.standard.tag.el.core.OutTag.class); 511 _jspx_th_c_out_7.setPageContext(pageContext); 512 _jspx_th_c_out_7.setParent(_jspx_th_c_forEach_0); 513 _jspx_th_c_out_7.setValue("${file.name}"); 514 int _jspx_eval_c_out_7 = _jspx_th_c_out_7.doStartTag(); 515 if (_jspx_th_c_out_7.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) 516 return true; 517 _jspx_tagPool_c_out_value.reuse(_jspx_th_c_out_7); 518 return false; 519 } 520 } 521 | Popular Tags |