Jumping_jsp.java
上传用户:zghglow
上传日期:2022-08-09
资源大小:27227k
文件大小:3k
源码类别:

WEB源码(ASP,PHP,...)

开发平台:

JavaScript

  1. package org.apache.jsp;
  2. import javax.servlet.*;
  3. import javax.servlet.http.*;
  4. import javax.servlet.jsp.*;
  5. public final class Jumping_jsp extends org.apache.jasper.runtime.HttpJspBase
  6.     implements org.apache.jasper.runtime.JspSourceDependent {
  7.   private static java.util.Vector _jspx_dependants;
  8.   static {
  9.     _jspx_dependants = new java.util.Vector(1);
  10.     _jspx_dependants.add("/WEB-INF/c-rt.tld");
  11.   }
  12.   private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_out_value_nobody;
  13.   public java.util.List getDependants() {
  14.     return _jspx_dependants;
  15.   }
  16.   public void _jspInit() {
  17.     _jspx_tagPool_c_out_value_nobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
  18.   }
  19.   public void _jspDestroy() {
  20.     _jspx_tagPool_c_out_value_nobody.release();
  21.   }
  22.   public void _jspService(HttpServletRequest request, HttpServletResponse response)
  23.         throws java.io.IOException, ServletException {
  24.     JspFactory _jspxFactory = null;
  25.     PageContext pageContext = null;
  26.     HttpSession session = null;
  27.     ServletContext application = null;
  28.     ServletConfig config = null;
  29.     JspWriter out = null;
  30.     Object page = this;
  31.     JspWriter _jspx_out = null;
  32.     PageContext _jspx_page_context = null;
  33.     try {
  34.       _jspxFactory = JspFactory.getDefaultFactory();
  35.       response.setContentType("text/html");
  36.       pageContext = _jspxFactory.getPageContext(this, request, response,
  37.        null, true, 8192, true);
  38.       _jspx_page_context = pageContext;
  39.       application = pageContext.getServletContext();
  40.       config = pageContext.getServletConfig();
  41.       session = pageContext.getSession();
  42.       out = pageContext.getOut();
  43.       _jspx_out = out;
  44.       out.write("rn");
  45.       out.write("<script type="text/javascript">rn");
  46.       out.write("location.href = '");
  47.       out.print(request.getContextPath());
  48.       if (_jspx_meth_c_out_0(_jspx_page_context))
  49.         return;
  50.       out.write("';rn");
  51.       out.write("</script>rn");
  52.     } catch (Throwable t) {
  53.       if (!(t instanceof SkipPageException)){
  54.         out = _jspx_out;
  55.         if (out != null && out.getBufferSize() != 0)
  56.           out.clearBuffer();
  57.         if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
  58.       }
  59.     } finally {
  60.       if (_jspxFactory != null) _jspxFactory.releasePageContext(_jspx_page_context);
  61.     }
  62.   }
  63.   private boolean _jspx_meth_c_out_0(PageContext _jspx_page_context)
  64.           throws Throwable {
  65.     PageContext pageContext = _jspx_page_context;
  66.     JspWriter out = _jspx_page_context.getOut();
  67.     //  c:out
  68.     org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_out_0 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _jspx_tagPool_c_out_value_nobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
  69.     _jspx_th_c_out_0.setPageContext(_jspx_page_context);
  70.     _jspx_th_c_out_0.setParent(null);
  71.     _jspx_th_c_out_0.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${url}", java.lang.Object.class, (PageContext)_jspx_page_context, null, false));
  72.     int _jspx_eval_c_out_0 = _jspx_th_c_out_0.doStartTag();
  73.     if (_jspx_th_c_out_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
  74.       return true;
  75.     _jspx_tagPool_c_out_value_nobody.reuse(_jspx_th_c_out_0);
  76.     return false;
  77.   }
  78. }