001 package org.apache.jsp.tag.web;
002
003 import javax.servlet.*;
004 import javax.servlet.http.*;
005 import javax.servlet.jsp.*;
006
007 public final class xhtmlbasic_tag
008 extends javax.servlet.jsp.tagext.SimpleTagSupport
009 implements org.apache.jasper.runtime.JspSourceDependent {
010
011
012 private static java.util.List _jspx_dependants;
013
014 private JspContext jspContext;
015 private java.io.Writer _jspx_sout;
016 public void setJspContext(JspContext ctx) {
017 super.setJspContext(ctx);
018 java.util.ArrayList _jspx_nested = null;
019 java.util.ArrayList _jspx_at_begin = null;
020 java.util.ArrayList _jspx_at_end = null;
021 this.jspContext = new org.apache.jasper.runtime.JspContextWrapper(ctx, _jspx_nested, _jspx_at_begin, _jspx_at_end, null);
022 }
023
024 public JspContext getJspContext() {
025 return this.jspContext;
026 }
027
028 public Object getDependants() {
029 return _jspx_dependants;
030 }
031
032 public void doTag() throws JspException, java.io.IOException {
033 PageContext _jspx_page_context = (PageContext)jspContext;
034 HttpServletRequest request = (HttpServletRequest) _jspx_page_context.getRequest();
035 HttpServletResponse response = (HttpServletResponse) _jspx_page_context.getResponse();
036 HttpSession session = _jspx_page_context.getSession();
037 ServletContext application = _jspx_page_context.getServletContext();
038 ServletConfig config = _jspx_page_context.getServletConfig();
039 JspWriter out = jspContext.getOut();
040
041 try {
042 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<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML Basic 1.0//EN\"\n\"http://www.w3.org/TR/xhtml-basic/xhtml-basic10.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n");
043 ((org.apache.jasper.runtime.JspContextWrapper) this.jspContext).syncBeforeInvoke();
044 _jspx_sout = null;
045 if (getJspBody() != null)
046 getJspBody().invoke(_jspx_sout);
047 out.write("\n</html>\n");
048 } catch( Throwable t ) {
049 if( t instanceof SkipPageException )
050 throw (SkipPageException) t;
051 if( t instanceof java.io.IOException )
052 throw (java.io.IOException) t;
053 if( t instanceof IllegalStateException )
054 throw (IllegalStateException) t;
055 if( t instanceof JspException )
056 throw (JspException) t;
057 throw new JspException(t);
058 } finally {
059 ((org.apache.jasper.runtime.JspContextWrapper) jspContext).syncEndTagFile();
060 }
061 }
062 }