home *** CD-ROM | disk | FTP | other *** search
- package org.apache.jsp.jsp2.jspx;
-
- import java.io.IOException;
- import java.util.Date;
- import java.util.List;
- import java.util.Vector;
- import javax.servlet.ServletConfig;
- import javax.servlet.ServletContext;
- import javax.servlet.ServletException;
- import javax.servlet.http.HttpServletRequest;
- import javax.servlet.http.HttpServletResponse;
- import javax.servlet.http.HttpSession;
- import javax.servlet.jsp.JspFactory;
- import javax.servlet.jsp.JspWriter;
- import javax.servlet.jsp.PageContext;
- import javax.servlet.jsp.SkipPageException;
- import javax.servlet.jsp.tagext.JspTag;
- import javax.servlet.jsp.tagext.SimpleTag;
- import javax.servlet.jsp.tagext.TagAdapter;
- import org.apache.jasper.runtime.HttpJspBase;
- import org.apache.jasper.runtime.JspSourceDependent;
- import org.apache.jasper.runtime.PageContextImpl;
- import org.apache.jasper.runtime.ProtectedFunctionMapper;
- import org.apache.jasper.runtime.TagHandlerPool;
- import org.apache.jsp.tag.web.xhtmlbasic_tag;
- import org.apache.taglibs.standard.tag.rt.fmt.FormatDateTag;
-
- public final class basic_jspx extends HttpJspBase implements JspSourceDependent {
- private static Vector _jspx_dependants = new Vector(1);
- private TagHandlerPool _jspx_tagPool_fmt_formatDate_value_pattern_nobody;
- // $FF: synthetic field
- static Class class$org$apache$taglibs$standard$tag$rt$fmt$FormatDateTag;
- // $FF: synthetic field
- static Class class$java$util$Date;
-
- public List getDependants() {
- return _jspx_dependants;
- }
-
- public void _jspInit() {
- this._jspx_tagPool_fmt_formatDate_value_pattern_nobody = TagHandlerPool.getTagHandlerPool(this.getServletConfig());
- }
-
- public void _jspDestroy() {
- this._jspx_tagPool_fmt_formatDate_value_pattern_nobody.release();
- }
-
- public void _jspService(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException {
- JspFactory _jspxFactory = null;
- PageContext pageContext = null;
- HttpSession session = null;
- ServletContext application = null;
- ServletConfig config = null;
- JspWriter out = null;
- JspWriter _jspx_out = null;
- PageContext _jspx_page_context = null;
-
- try {
- _jspxFactory = JspFactory.getDefaultFactory();
- response.setContentType("text/html;charset=UTF-8");
- pageContext = _jspxFactory.getPageContext(this, request, response, (String)null, true, 8192, true);
- _jspx_page_context = pageContext;
- application = pageContext.getServletContext();
- config = pageContext.getServletConfig();
- session = pageContext.getSession();
- out = pageContext.getOut();
- out.write("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n");
- if (!this._jspx_meth_tags_xhtmlbasic_0(pageContext)) {
- return;
- }
- } catch (Throwable t) {
- if (!(t instanceof SkipPageException)) {
- if (_jspx_out != null && _jspx_out.getBufferSize() != 0) {
- _jspx_out.clearBuffer();
- }
-
- if (_jspx_page_context != null) {
- _jspx_page_context.handlePageException(t);
- return;
- }
- }
-
- return;
- } finally {
- if (_jspxFactory != null) {
- _jspxFactory.releasePageContext(_jspx_page_context);
- }
-
- }
-
- }
-
- private boolean _jspx_meth_tags_xhtmlbasic_0(PageContext _jspx_page_context) throws Throwable {
- JspWriter out = _jspx_page_context.getOut();
- HttpSession session = _jspx_page_context.getSession();
- ServletContext application = _jspx_page_context.getServletContext();
- HttpServletRequest request = (HttpServletRequest)_jspx_page_context.getRequest();
- xhtmlbasic_tag _jspx_th_tags_xhtmlbasic_0 = new xhtmlbasic_tag();
- _jspx_th_tags_xhtmlbasic_0.setJspContext(_jspx_page_context);
- _jspx_th_tags_xhtmlbasic_0.setJspBody(new basic_jspxHelper(this, 0, _jspx_page_context, _jspx_th_tags_xhtmlbasic_0, (int[])null));
- _jspx_th_tags_xhtmlbasic_0.doTag();
- return false;
- }
-
- private boolean _jspx_meth_fmt_formatDate_0(JspTag _jspx_parent, PageContext _jspx_page_context) throws Throwable {
- JspWriter out = _jspx_page_context.getOut();
- FormatDateTag _jspx_th_fmt_formatDate_0 = (FormatDateTag)this._jspx_tagPool_fmt_formatDate_value_pattern_nobody.get(class$org$apache$taglibs$standard$tag$rt$fmt$FormatDateTag == null ? (class$org$apache$taglibs$standard$tag$rt$fmt$FormatDateTag = class$("org.apache.taglibs.standard.tag.rt.fmt.FormatDateTag")) : class$org$apache$taglibs$standard$tag$rt$fmt$FormatDateTag);
- _jspx_th_fmt_formatDate_0.setPageContext(_jspx_page_context);
- _jspx_th_fmt_formatDate_0.setParent(new TagAdapter((SimpleTag)_jspx_parent));
- _jspx_th_fmt_formatDate_0.setPattern("MMMM d, yyyy, H:mm:ss");
- _jspx_th_fmt_formatDate_0.setValue((Date)PageContextImpl.proprietaryEvaluate("${now}", class$java$util$Date == null ? (class$java$util$Date = class$("java.util.Date")) : class$java$util$Date, _jspx_page_context, (ProtectedFunctionMapper)null, false));
- int _jspx_eval_fmt_formatDate_0 = _jspx_th_fmt_formatDate_0.doStartTag();
- if (_jspx_th_fmt_formatDate_0.doEndTag() == 5) {
- throw new SkipPageException();
- } else {
- this._jspx_tagPool_fmt_formatDate_value_pattern_nobody.reuse(_jspx_th_fmt_formatDate_0);
- return false;
- }
- }
-
- // $FF: synthetic method
- static Class class$(String x0) {
- try {
- return Class.forName(x0);
- } catch (ClassNotFoundException x1) {
- throw new NoClassDefFoundError(x1.getMessage());
- }
- }
-
- // $FF: synthetic method
- static boolean access$000(basic_jspx x0, JspTag x1, PageContext x2) throws Throwable {
- return x0._jspx_meth_fmt_formatDate_0(x1, x2);
- }
-
- static {
- _jspx_dependants.add("/WEB-INF/tags/xhtmlbasic.tag");
- }
- }
-