001    package jsp;
002    
003    import javax.servlet.*;
004    import javax.servlet.http.*;
005    import javax.servlet.jsp.*;
006    
007    public final class source_jsp extends org.apache.jasper.runtime.HttpJspBase
008        implements org.apache.jasper.runtime.JspSourceDependent {
009    
010      private static java.util.List _jspx_dependants;
011    
012      static {
013        _jspx_dependants = new java.util.ArrayList(1);
014        _jspx_dependants.add("/WEB-INF/jsp/example-taglib.tld");
015      }
016    
017      private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_eg_ShowSource_jspFile_nobody;
018    
019      public Object getDependants() {
020        return _jspx_dependants;
021      }
022    
023      public void _jspInit() {
024        _jspx_tagPool_eg_ShowSource_jspFile_nobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
025      }
026    
027      public void _jspDestroy() {
028        _jspx_tagPool_eg_ShowSource_jspFile_nobody.release();
029      }
030    
031      public void _jspService(HttpServletRequest request, HttpServletResponse response)
032            throws java.io.IOException, ServletException {
033    
034        JspFactory _jspxFactory = null;
035        PageContext pageContext = null;
036        HttpSession session = null;
037        ServletContext application = null;
038        ServletConfig config = null;
039        JspWriter out = null;
040        Object page = this;
041        JspWriter _jspx_out = null;
042        PageContext _jspx_page_context = null;
043    
044    
045        try {
046          _jspxFactory = JspFactory.getDefaultFactory();
047          response.setContentType("text/html");
048          pageContext = _jspxFactory.getPageContext(this, request, response,
049                            null, true, 8192, true);
050          _jspx_page_context = pageContext;
051          application = pageContext.getServletContext();
052          config = pageContext.getServletConfig();
053          session = pageContext.getSession();
054          out = pageContext.getOut();
055          _jspx_out = out;
056    
057          out.write("<!--\n Licensed to the Apache Software Foundation (ASF) under one or more\n  contributor license agreements.  See the NOTICE file distributed with\n  this work for additional information regarding copyright ownership.\n  The ASF licenses this file to You under the Apache License, Version 2.0\n  (the \"License\"); you may not use this file except in compliance with\n  the License.  You may obtain a copy of the License at\n\n      http://www.apache.org/licenses/LICENSE-2.0\n\n  Unless required by applicable law or agreed to in writing, software\n  distributed under the License is distributed on an \"AS IS\" BASIS,\n  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  See the License for the specific language governing permissions and\n  limitations under the License.\n-->\n\n\n");
058          //  eg:ShowSource
059          examples.ShowSource _jspx_th_eg_ShowSource_0 = (examples.ShowSource) _jspx_tagPool_eg_ShowSource_jspFile_nobody.get(examples.ShowSource.class);
060          _jspx_th_eg_ShowSource_0.setPageContext(_jspx_page_context);
061          _jspx_th_eg_ShowSource_0.setParent(null);
062          _jspx_th_eg_ShowSource_0.setJspFile( request.getQueryString() );
063          int _jspx_eval_eg_ShowSource_0 = _jspx_th_eg_ShowSource_0.doStartTag();
064          if (_jspx_th_eg_ShowSource_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
065            _jspx_tagPool_eg_ShowSource_jspFile_nobody.reuse(_jspx_th_eg_ShowSource_0);
066            return;
067          }
068          _jspx_tagPool_eg_ShowSource_jspFile_nobody.reuse(_jspx_th_eg_ShowSource_0);
069          out.write('\n');
070        } catch (Throwable t) {
071          if (!(t instanceof SkipPageException)){
072            out = _jspx_out;
073            if (out != null && out.getBufferSize() != 0)
074              out.clearBuffer();
075            if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
076          }
077        } finally {
078          if (_jspxFactory != null) _jspxFactory.releasePageContext(_jspx_page_context);
079        }
080      }
081    }