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 redirect_jsp extends HttpJspBase { 9 10 11 private static java.util.Vector _jspx_includes; 12 13 private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_choose; 14 private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_when_test; 15 private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_redirect_url; 16 private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_ion_close; 17 private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_otherwise; 18 private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_ion_selectObjects_type; 19 private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_ion_param_value_name; 20 private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_ion_iterateOver_var; 21 22 public redirect_jsp() { 23 _jspx_tagPool_c_choose = new org.apache.jasper.runtime.TagHandlerPool(); 24 _jspx_tagPool_c_when_test = new org.apache.jasper.runtime.TagHandlerPool(); 25 _jspx_tagPool_c_redirect_url = new org.apache.jasper.runtime.TagHandlerPool(); 26 _jspx_tagPool_ion_close = new org.apache.jasper.runtime.TagHandlerPool(); 27 _jspx_tagPool_c_otherwise = new org.apache.jasper.runtime.TagHandlerPool(); 28 _jspx_tagPool_ion_selectObjects_type = new org.apache.jasper.runtime.TagHandlerPool(); 29 _jspx_tagPool_ion_param_value_name = new org.apache.jasper.runtime.TagHandlerPool(); 30 _jspx_tagPool_ion_iterateOver_var = new org.apache.jasper.runtime.TagHandlerPool(); 31 } 32 33 public java.util.List getIncludes() { 34 return _jspx_includes; 35 } 36 37 public void _jspDestroy() { 38 _jspx_tagPool_c_choose.release(); 39 _jspx_tagPool_c_when_test.release(); 40 _jspx_tagPool_c_redirect_url.release(); 41 _jspx_tagPool_ion_close.release(); 42 _jspx_tagPool_c_otherwise.release(); 43 _jspx_tagPool_ion_selectObjects_type.release(); 44 _jspx_tagPool_ion_param_value_name.release(); 45 _jspx_tagPool_ion_iterateOver_var.release(); 46 } 47 48 public void _jspService(HttpServletRequest request, HttpServletResponse response) 49 throws java.io.IOException , ServletException { 50 51 JspFactory _jspxFactory = null; 52 javax.servlet.jsp.PageContext pageContext = null; 53 HttpSession session = null; 54 ServletContext application = null; 55 ServletConfig config = null; 56 JspWriter out = null; 57 Object page = this; 58 JspWriter _jspx_out = null; 59 60 61 try { 62 _jspxFactory = JspFactory.getDefaultFactory(); 63 response.setContentType("text/html;charset=ISO-8859-1"); 64 pageContext = _jspxFactory.getPageContext(this, request, response, 65 null, true, 8192, true); 66 application = pageContext.getServletContext(); 67 config = pageContext.getServletConfig(); 68 session = pageContext.getSession(); 69 out = pageContext.getOut(); 70 _jspx_out = out; 71 72 out.write("\r\n"); 73 out.write("\r\n"); 74 out.write("\r\n\r\n"); 75 out.write("\r\n\r\n\t"); 76 if (_jspx_meth_c_choose_0(pageContext)) 77 return; 78 out.write("\r\n\t\r\n"); 79 out.write("\r\n"); 80 } catch (Throwable t) { 81 out = _jspx_out; 82 if (out != null && out.getBufferSize() != 0) 83 out.clearBuffer(); 84 if (pageContext != null) pageContext.handlePageException(t); 85 } finally { 86 if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext); 87 } 88 } 89 90 private boolean _jspx_meth_c_choose_0(javax.servlet.jsp.PageContext pageContext) 91 throws Throwable { 92 JspWriter out = pageContext.getOut(); 93 94 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); 95 _jspx_th_c_choose_0.setPageContext(pageContext); 96 _jspx_th_c_choose_0.setParent(null); 97 int _jspx_eval_c_choose_0 = _jspx_th_c_choose_0.doStartTag(); 98 if (_jspx_eval_c_choose_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { 99 do { 100 out.write("\r\n\t\t"); 101 if (_jspx_meth_c_when_0(_jspx_th_c_choose_0, pageContext)) 102 return true; 103 out.write("\r\n\t\t"); 104 if (_jspx_meth_c_otherwise_0(_jspx_th_c_choose_0, pageContext)) 105 return true; 106 out.write("\r\n\t"); 107 int evalDoAfterBody = _jspx_th_c_choose_0.doAfterBody(); 108 if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) 109 break; 110 } while (true); 111 } 112 if (_jspx_th_c_choose_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) 113 return true; 114 _jspx_tagPool_c_choose.reuse(_jspx_th_c_choose_0); 115 return false; 116 } 117 118 private boolean _jspx_meth_c_when_0(javax.servlet.jsp.tagext.Tag _jspx_th_c_choose_0, javax.servlet.jsp.PageContext pageContext) 119 throws Throwable { 120 JspWriter out = pageContext.getOut(); 121 122 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); 123 _jspx_th_c_when_0.setPageContext(pageContext); 124 _jspx_th_c_when_0.setParent(_jspx_th_c_choose_0); 125 _jspx_th_c_when_0.setTest("${ionStatus.currentSection.metaData['section']!=null && ionStatus.currentSection.metaData['section']!=''}"); 126 int _jspx_eval_c_when_0 = _jspx_th_c_when_0.doStartTag(); 127 if (_jspx_eval_c_when_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { 128 do { 129 out.write("\r\n\t\t\t"); 130 if (_jspx_meth_c_redirect_0(_jspx_th_c_when_0, pageContext)) 131 return true; 132 out.write("\t\t\r\n\t\t\t"); 133 if (_jspx_meth_ion_close_0(_jspx_th_c_when_0, pageContext)) 134 return true; 135 out.write("\r\n\t\t"); 136 int evalDoAfterBody = _jspx_th_c_when_0.doAfterBody(); 137 if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) 138 break; 139 } while (true); 140 } 141 if (_jspx_th_c_when_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) 142 return true; 143 _jspx_tagPool_c_when_test.reuse(_jspx_th_c_when_0); 144 return false; 145 } 146 147 private boolean _jspx_meth_c_redirect_0(javax.servlet.jsp.tagext.Tag _jspx_th_c_when_0, javax.servlet.jsp.PageContext pageContext) 148 throws Throwable { 149 JspWriter out = pageContext.getOut(); 150 151 org.apache.taglibs.standard.tag.el.core.RedirectTag _jspx_th_c_redirect_0 = (org.apache.taglibs.standard.tag.el.core.RedirectTag) _jspx_tagPool_c_redirect_url.get(org.apache.taglibs.standard.tag.el.core.RedirectTag.class); 152 _jspx_th_c_redirect_0.setPageContext(pageContext); 153 _jspx_th_c_redirect_0.setParent(_jspx_th_c_when_0); 154 _jspx_th_c_redirect_0.setUrl("/section/${ionStatus.currentSection.metaData['section']}.html?${pageContext.request.queryString}"); 155 int _jspx_eval_c_redirect_0 = _jspx_th_c_redirect_0.doStartTag(); 156 if (_jspx_th_c_redirect_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) 157 return true; 158 _jspx_tagPool_c_redirect_url.reuse(_jspx_th_c_redirect_0); 159 return false; 160 } 161 162 private boolean _jspx_meth_ion_close_0(javax.servlet.jsp.tagext.Tag _jspx_th_c_when_0, javax.servlet.jsp.PageContext pageContext) 163 throws Throwable { 164 JspWriter out = pageContext.getOut(); 165 166 org.nextime.ion.frontoffice.taglib.EndTag _jspx_th_ion_close_0 = (org.nextime.ion.frontoffice.taglib.EndTag) _jspx_tagPool_ion_close.get(org.nextime.ion.frontoffice.taglib.EndTag.class); 167 _jspx_th_ion_close_0.setPageContext(pageContext); 168 _jspx_th_ion_close_0.setParent(_jspx_th_c_when_0); 169 int _jspx_eval_ion_close_0 = _jspx_th_ion_close_0.doStartTag(); 170 if (_jspx_th_ion_close_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) 171 return true; 172 _jspx_tagPool_ion_close.reuse(_jspx_th_ion_close_0); 173 return false; 174 } 175 176 private boolean _jspx_meth_c_otherwise_0(javax.servlet.jsp.tagext.Tag _jspx_th_c_choose_0, javax.servlet.jsp.PageContext pageContext) 177 throws Throwable { 178 JspWriter out = pageContext.getOut(); 179 180 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); 181 _jspx_th_c_otherwise_0.setPageContext(pageContext); 182 _jspx_th_c_otherwise_0.setParent(_jspx_th_c_choose_0); 183 int _jspx_eval_c_otherwise_0 = _jspx_th_c_otherwise_0.doStartTag(); 184 if (_jspx_eval_c_otherwise_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { 185 do { 186 out.write("\t\r\n\t\t\t"); 187 if (_jspx_meth_ion_selectObjects_0(_jspx_th_c_otherwise_0, pageContext)) 188 return true; 189 out.write("\r\n\t\t"); 190 int evalDoAfterBody = _jspx_th_c_otherwise_0.doAfterBody(); 191 if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) 192 break; 193 } while (true); 194 } 195 if (_jspx_th_c_otherwise_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) 196 return true; 197 _jspx_tagPool_c_otherwise.reuse(_jspx_th_c_otherwise_0); 198 return false; 199 } 200 201 private boolean _jspx_meth_ion_selectObjects_0(javax.servlet.jsp.tagext.Tag _jspx_th_c_otherwise_0, javax.servlet.jsp.PageContext pageContext) 202 throws Throwable { 203 JspWriter out = pageContext.getOut(); 204 205 org.nextime.ion.frontoffice.taglib.SelectObjectsTag _jspx_th_ion_selectObjects_0 = (org.nextime.ion.frontoffice.taglib.SelectObjectsTag) _jspx_tagPool_ion_selectObjects_type.get(org.nextime.ion.frontoffice.taglib.SelectObjectsTag.class); 206 _jspx_th_ion_selectObjects_0.setPageContext(pageContext); 207 _jspx_th_ion_selectObjects_0.setParent(_jspx_th_c_otherwise_0); 208 _jspx_th_ion_selectObjects_0.setType("org.nextime.ion.frontoffice.objectSelector.ListOnlineSubSections"); 209 int _jspx_eval_ion_selectObjects_0 = _jspx_th_ion_selectObjects_0.doStartTag(); 210 if (_jspx_eval_ion_selectObjects_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { 211 if (_jspx_eval_ion_selectObjects_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) { 212 javax.servlet.jsp.tagext.BodyContent _bc = pageContext.pushBody(); 213 _bc.clear(); 214 out = _bc; 215 _jspx_th_ion_selectObjects_0.setBodyContent(_bc); 216 _jspx_th_ion_selectObjects_0.doInitBody(); 217 } 218 do { 219 out.write("\r\n\t\t\t\t"); 220 if (_jspx_meth_ion_param_0(_jspx_th_ion_selectObjects_0, pageContext)) 221 return true; 222 out.write("\r\n\t\t\t\t"); 223 if (_jspx_meth_ion_iterateOver_0(_jspx_th_ion_selectObjects_0, pageContext)) 224 return true; 225 out.write("\r\n\t\t\t"); 226 int evalDoAfterBody = _jspx_th_ion_selectObjects_0.doAfterBody(); 227 if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) 228 break; 229 } while (true); 230 if (_jspx_eval_ion_selectObjects_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) 231 out = pageContext.popBody(); 232 } 233 if (_jspx_th_ion_selectObjects_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) 234 return true; 235 _jspx_tagPool_ion_selectObjects_type.reuse(_jspx_th_ion_selectObjects_0); 236 return false; 237 } 238 239 private boolean _jspx_meth_ion_param_0(javax.servlet.jsp.tagext.Tag _jspx_th_ion_selectObjects_0, javax.servlet.jsp.PageContext pageContext) 240 throws Throwable { 241 JspWriter out = pageContext.getOut(); 242 243 org.nextime.ion.frontoffice.taglib.SelectObjectsParamTag _jspx_th_ion_param_0 = (org.nextime.ion.frontoffice.taglib.SelectObjectsParamTag) _jspx_tagPool_ion_param_value_name.get(org.nextime.ion.frontoffice.taglib.SelectObjectsParamTag.class); 244 _jspx_th_ion_param_0.setPageContext(pageContext); 245 _jspx_th_ion_param_0.setParent(_jspx_th_ion_selectObjects_0); 246 _jspx_th_ion_param_0.setName("rootSection"); 247 _jspx_th_ion_param_0.setValue("${ionStatus.currentSection.id}"); 248 int _jspx_eval_ion_param_0 = _jspx_th_ion_param_0.doStartTag(); 249 if (_jspx_th_ion_param_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) 250 return true; 251 _jspx_tagPool_ion_param_value_name.reuse(_jspx_th_ion_param_0); 252 return false; 253 } 254 255 private boolean _jspx_meth_ion_iterateOver_0(javax.servlet.jsp.tagext.Tag _jspx_th_ion_selectObjects_0, javax.servlet.jsp.PageContext pageContext) 256 throws Throwable { 257 JspWriter out = pageContext.getOut(); 258 259 org.nextime.ion.frontoffice.taglib.IterateOverTag _jspx_th_ion_iterateOver_0 = (org.nextime.ion.frontoffice.taglib.IterateOverTag) _jspx_tagPool_ion_iterateOver_var.get(org.nextime.ion.frontoffice.taglib.IterateOverTag.class); 260 _jspx_th_ion_iterateOver_0.setPageContext(pageContext); 261 _jspx_th_ion_iterateOver_0.setParent(_jspx_th_ion_selectObjects_0); 262 _jspx_th_ion_iterateOver_0.setVar("section"); 263 int _jspx_eval_ion_iterateOver_0 = _jspx_th_ion_iterateOver_0.doStartTag(); 264 if (_jspx_eval_ion_iterateOver_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { 265 if (_jspx_eval_ion_iterateOver_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) { 266 javax.servlet.jsp.tagext.BodyContent _bc = pageContext.pushBody(); 267 _bc.clear(); 268 out = _bc; 269 _jspx_th_ion_iterateOver_0.setBodyContent(_bc); 270 _jspx_th_ion_iterateOver_0.doInitBody(); 271 } 272 do { 273 out.write("\t\t\t\r\n\t\t\t\t\t"); 274 if (_jspx_meth_c_redirect_1(_jspx_th_ion_iterateOver_0, pageContext)) 275 return true; 276 out.write("\t\t\r\n\t\t\t\t\t"); 277 if (_jspx_meth_ion_close_1(_jspx_th_ion_iterateOver_0, pageContext)) 278 return true; 279 out.write("\r\n\t\t\t\t"); 280 int evalDoAfterBody = _jspx_th_ion_iterateOver_0.doAfterBody(); 281 if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) 282 break; 283 } while (true); 284 if (_jspx_eval_ion_iterateOver_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) 285 out = pageContext.popBody(); 286 } 287 if (_jspx_th_ion_iterateOver_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) 288 return true; 289 _jspx_tagPool_ion_iterateOver_var.reuse(_jspx_th_ion_iterateOver_0); 290 return false; 291 } 292 293 private boolean _jspx_meth_c_redirect_1(javax.servlet.jsp.tagext.Tag _jspx_th_ion_iterateOver_0, javax.servlet.jsp.PageContext pageContext) 294 throws Throwable { 295 JspWriter out = pageContext.getOut(); 296 297 org.apache.taglibs.standard.tag.el.core.RedirectTag _jspx_th_c_redirect_1 = (org.apache.taglibs.standard.tag.el.core.RedirectTag) _jspx_tagPool_c_redirect_url.get(org.apache.taglibs.standard.tag.el.core.RedirectTag.class); 298 _jspx_th_c_redirect_1.setPageContext(pageContext); 299 _jspx_th_c_redirect_1.setParent(_jspx_th_ion_iterateOver_0); 300 _jspx_th_c_redirect_1.setUrl("/section/${section.id}.html?${pageContext.request.queryString}"); 301 int _jspx_eval_c_redirect_1 = _jspx_th_c_redirect_1.doStartTag(); 302 if (_jspx_th_c_redirect_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) 303 return true; 304 _jspx_tagPool_c_redirect_url.reuse(_jspx_th_c_redirect_1); 305 return false; 306 } 307 308 private boolean _jspx_meth_ion_close_1(javax.servlet.jsp.tagext.Tag _jspx_th_ion_iterateOver_0, javax.servlet.jsp.PageContext pageContext) 309 throws Throwable { 310 JspWriter out = pageContext.getOut(); 311 312 org.nextime.ion.frontoffice.taglib.EndTag _jspx_th_ion_close_1 = (org.nextime.ion.frontoffice.taglib.EndTag) _jspx_tagPool_ion_close.get(org.nextime.ion.frontoffice.taglib.EndTag.class); 313 _jspx_th_ion_close_1.setPageContext(pageContext); 314 _jspx_th_ion_close_1.setParent(_jspx_th_ion_iterateOver_0); 315 int _jspx_eval_ion_close_1 = _jspx_th_ion_close_1.doStartTag(); 316 if (_jspx_th_ion_close_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) 317 return true; 318 _jspx_tagPool_ion_close.reuse(_jspx_th_ion_close_1); 319 return false; 320 } 321 } 322 | Popular Tags |