KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > jsp > contentManagement_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 contentManagement_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_choose;
14   private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_when_test;
15   private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_out_value;
16   private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_otherwise;
17
18   public contentManagement_jsp() {
19     _jspx_tagPool_c_choose = new org.apache.jasper.runtime.TagHandlerPool();
20     _jspx_tagPool_c_when_test = new org.apache.jasper.runtime.TagHandlerPool();
21     _jspx_tagPool_c_out_value = new org.apache.jasper.runtime.TagHandlerPool();
22     _jspx_tagPool_c_otherwise = new org.apache.jasper.runtime.TagHandlerPool();
23   }
24
25   public java.util.List JavaDoc getIncludes() {
26     return _jspx_includes;
27   }
28
29   public void _jspDestroy() {
30     _jspx_tagPool_c_choose.release();
31     _jspx_tagPool_c_when_test.release();
32     _jspx_tagPool_c_out_value.release();
33     _jspx_tagPool_c_otherwise.release();
34   }
35
36   public void _jspService(HttpServletRequest request, HttpServletResponse response)
37         throws java.io.IOException JavaDoc, ServletException {
38
39     JspFactory _jspxFactory = null;
40     javax.servlet.jsp.PageContext JavaDoc pageContext = null;
41     HttpSession session = null;
42     ServletContext application = null;
43     ServletConfig config = null;
44     JspWriter out = null;
45     Object JavaDoc page = this;
46     JspWriter _jspx_out = null;
47
48
49     try {
50       _jspxFactory = JspFactory.getDefaultFactory();
51       response.setContentType("text/html;charset=ISO-8859-1");
52       pageContext = _jspxFactory.getPageContext(this, request, response,
53                 null, true, 8192, true);
54       application = pageContext.getServletContext();
55       config = pageContext.getServletConfig();
56       session = pageContext.getSession();
57       out = pageContext.getOut();
58       _jspx_out = out;
59
60       out.write("\r\n");
61       out.write("\r\n\r\n");
62       out.write("<html>\r\n");
63       out.write("<head>\r\n ");
64       out.write("<title>Content Management");
65       out.write("</title>\r\n");
66       out.write("</head>\r\n\r\n");
67       out.write("<!-- Body -->\r\n");
68       out.write("<frameset cols=\"220,*\" frameborder=\"NO\" border=\"0\" framespacing=\"0\">\r\n ");
69       out.write("<frame name=\"tree\" marginheight=\"0\" marginwidth=\"0\" SRC=\"setUpTree.x?select=site\" scrolling=\"auto\" style=\"border-right:1px solid #949494\">\r\n ");
70       if (_jspx_meth_c_choose_0(pageContext))
71         return;
72       out.write("\r\n");
73       out.write("</frameset>\r\n\r\n");
74       out.write("</html>");
75     } catch (Throwable JavaDoc t) {
76       out = _jspx_out;
77       if (out != null && out.getBufferSize() != 0)
78         out.clearBuffer();
79       if (pageContext != null) pageContext.handlePageException(t);
80     } finally {
81       if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext);
82     }
83   }
84
85   private boolean _jspx_meth_c_choose_0(javax.servlet.jsp.PageContext JavaDoc pageContext)
86           throws Throwable JavaDoc {
87     JspWriter out = pageContext.getOut();
88     /* ---- c:choose ---- */
89     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);
90     _jspx_th_c_choose_0.setPageContext(pageContext);
91     _jspx_th_c_choose_0.setParent(null);
92     int _jspx_eval_c_choose_0 = _jspx_th_c_choose_0.doStartTag();
93     if (_jspx_eval_c_choose_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
94       do {
95         out.write("\r\n\t ");
96         if (_jspx_meth_c_when_0(_jspx_th_c_choose_0, pageContext))
97           return true;
98         out.write("\r\n\t ");
99         if (_jspx_meth_c_otherwise_0(_jspx_th_c_choose_0, pageContext))
100           return true;
101         out.write("\r\n ");
102         int evalDoAfterBody = _jspx_th_c_choose_0.doAfterBody();
103         if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
104           break;
105       } while (true);
106     }
107     if (_jspx_th_c_choose_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
108       return true;
109     _jspx_tagPool_c_choose.reuse(_jspx_th_c_choose_0);
110     return false;
111   }
112
113   private boolean _jspx_meth_c_when_0(javax.servlet.jsp.tagext.Tag JavaDoc _jspx_th_c_choose_0, javax.servlet.jsp.PageContext JavaDoc pageContext)
114           throws Throwable JavaDoc {
115     JspWriter out = pageContext.getOut();
116     /* ---- c:when ---- */
117     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);
118     _jspx_th_c_when_0.setPageContext(pageContext);
119     _jspx_th_c_when_0.setParent(_jspx_th_c_choose_0);
120     _jspx_th_c_when_0.setTest("${treeControlTest.selected!=null}");
121     int _jspx_eval_c_when_0 = _jspx_th_c_when_0.doStartTag();
122     if (_jspx_eval_c_when_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
123       do {
124         out.write("\r\n\t \t");
125         out.write("<frame name=\"content\" SRC=\"");
126         if (_jspx_meth_c_out_0(_jspx_th_c_when_0, pageContext))
127           return true;
128         out.write("\" scrolling=\"auto\" marginheight=\"5\" marginwidth=\"10\">\r\n\t ");
129         int evalDoAfterBody = _jspx_th_c_when_0.doAfterBody();
130         if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
131           break;
132       } while (true);
133     }
134     if (_jspx_th_c_when_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
135       return true;
136     _jspx_tagPool_c_when_test.reuse(_jspx_th_c_when_0);
137     return false;
138   }
139
140   private boolean _jspx_meth_c_out_0(javax.servlet.jsp.tagext.Tag JavaDoc _jspx_th_c_when_0, javax.servlet.jsp.PageContext JavaDoc pageContext)
141           throws Throwable JavaDoc {
142     JspWriter out = pageContext.getOut();
143     /* ---- c:out ---- */
144     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);
145     _jspx_th_c_out_0.setPageContext(pageContext);
146     _jspx_th_c_out_0.setParent(_jspx_th_c_when_0);
147     _jspx_th_c_out_0.setValue("${treeControlTest.selected.action}");
148     int _jspx_eval_c_out_0 = _jspx_th_c_out_0.doStartTag();
149     if (_jspx_th_c_out_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
150       return true;
151     _jspx_tagPool_c_out_value.reuse(_jspx_th_c_out_0);
152     return false;
153   }
154
155   private boolean _jspx_meth_c_otherwise_0(javax.servlet.jsp.tagext.Tag JavaDoc _jspx_th_c_choose_0, javax.servlet.jsp.PageContext JavaDoc pageContext)
156           throws Throwable JavaDoc {
157     JspWriter out = pageContext.getOut();
158     /* ---- c:otherwise ---- */
159     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);
160     _jspx_th_c_otherwise_0.setPageContext(pageContext);
161     _jspx_th_c_otherwise_0.setParent(_jspx_th_c_choose_0);
162     int _jspx_eval_c_otherwise_0 = _jspx_th_c_otherwise_0.doStartTag();
163     if (_jspx_eval_c_otherwise_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
164       do {
165         out.write("\r\n\t \t");
166         out.write("<frame name=\"content\" SRC=\"viewSection.x?id=site\" scrolling=\"auto\" marginheight=\"5\" marginwidth=\"10\">\r\n\t ");
167         int evalDoAfterBody = _jspx_th_c_otherwise_0.doAfterBody();
168         if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
169           break;
170       } while (true);
171     }
172     if (_jspx_th_c_otherwise_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
173       return true;
174     _jspx_tagPool_c_otherwise.reuse(_jspx_th_c_otherwise_0);
175     return false;
176   }
177 }
178
Popular Tags