KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > jsp > root_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 root_jsp extends HttpJspBase {
9
10
11   private static java.util.Vector JavaDoc _jspx_includes;
12
13   private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_redirect_url;
14
15   public root_jsp() {
16     _jspx_tagPool_c_redirect_url = new org.apache.jasper.runtime.TagHandlerPool();
17   }
18
19   public java.util.List JavaDoc getIncludes() {
20     return _jspx_includes;
21   }
22
23   public void _jspDestroy() {
24     _jspx_tagPool_c_redirect_url.release();
25   }
26
27   public void _jspService(HttpServletRequest request, HttpServletResponse response)
28         throws java.io.IOException JavaDoc, ServletException {
29
30     JspFactory _jspxFactory = null;
31     javax.servlet.jsp.PageContext JavaDoc pageContext = null;
32     HttpSession session = null;
33     ServletContext application = null;
34     ServletConfig config = null;
35     JspWriter out = null;
36     Object JavaDoc page = this;
37     JspWriter _jspx_out = null;
38
39
40     try {
41       _jspxFactory = JspFactory.getDefaultFactory();
42       response.setContentType("text/html;charset=ISO-8859-1");
43       pageContext = _jspxFactory.getPageContext(this, request, response,
44                 null, true, 8192, true);
45       application = pageContext.getServletContext();
46       config = pageContext.getServletConfig();
47       session = pageContext.getSession();
48       out = pageContext.getOut();
49       _jspx_out = out;
50
51       out.write("\r\n");
52       out.write("\r\n");
53       out.write("\r\n\r\n");
54       out.write("\r\n\r\n\t");
55       if (_jspx_meth_c_redirect_0(pageContext))
56         return;
57       out.write("\t\t\r\n\t\r\n");
58       out.write("\r\n");
59     } catch (Throwable JavaDoc t) {
60       out = _jspx_out;
61       if (out != null && out.getBufferSize() != 0)
62         out.clearBuffer();
63       if (pageContext != null) pageContext.handlePageException(t);
64     } finally {
65       if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext);
66     }
67   }
68
69   private boolean _jspx_meth_c_redirect_0(javax.servlet.jsp.PageContext JavaDoc pageContext)
70           throws Throwable JavaDoc {
71     JspWriter out = pageContext.getOut();
72     /* ---- c:redirect ---- */
73     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);
74     _jspx_th_c_redirect_0.setPageContext(pageContext);
75     _jspx_th_c_redirect_0.setParent(null);
76     _jspx_th_c_redirect_0.setUrl("/section/home.xml");
77     int _jspx_eval_c_redirect_0 = _jspx_th_c_redirect_0.doStartTag();
78     if (_jspx_th_c_redirect_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
79       return true;
80     _jspx_tagPool_c_redirect_url.reuse(_jspx_th_c_redirect_0);
81     return false;
82   }
83 }
84
Popular Tags