FileDocCategorySizeDatePackage
Ch10_0005f05$jsp.javaAPI DocExample13502Mon Dec 01 15:36:54 GMT 2003org.apache.jsp

Ch10_0005f05$jsp.java

package org.apache.jsp;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;


public class Ch10_0005f05$jsp extends HttpJspBase {


    static {
    }
    public Ch10_0005f05$jsp( ) {
    }

    private static boolean _jspx_inited = false;

    public final void _jspx_init() throws org.apache.jasper.runtime.JspException {
    }

    public void _jspService(HttpServletRequest request, HttpServletResponse  response)
        throws java.io.IOException, ServletException {

        JspFactory _jspxFactory = null;
        PageContext pageContext = null;
        HttpSession session = null;
        ServletContext application = null;
        ServletConfig config = null;
        JspWriter out = null;
        Object page = this;
        String  _value = null;
        try {

            if (_jspx_inited == false) {
                synchronized (this) {
                    if (_jspx_inited == false) {
                        _jspx_init();
                        _jspx_inited = true;
                    }
                }
            }
            _jspxFactory = JspFactory.getDefaultFactory();
            response.setContentType("text/html;charset=ISO-8859-1");
            pageContext = _jspxFactory.getPageContext(this, request, response,
            			"", true, 8192, true);

            application = pageContext.getServletContext();
            config = pageContext.getServletConfig();
            session = pageContext.getSession();
            out = pageContext.getOut();

            // HTML // begin [file="/Ch10_05.jsp";from=(0,58);to=(1,0)]
                out.write("\r\n");

            // end
            // HTML // begin [file="/Ch10_05.jsp";from=(1,58);to=(2,0)]
                out.write("\r\n");

            // end
            // HTML // begin [file="/Ch10_05.jsp";from=(2,60);to=(11,8)]
                out.write("\r\n\r\n<HTML>\r\n    <HEAD>\r\n        <TITLE>Here is what you ordered...</TITLE>\r\n    </HEAD>\r\n    \r\n    <BODY>\r\n        <H1>Here is what you ordered...</H1>\r\n        ");

            // end
            // begin [file="/Ch10_05.jsp";from=(11,8);to=(11,34)]
                /* ----  bean:message ---- */
                org.apache.struts.taglib.bean.MessageTag _jspx_th_bean_message_0 = new org.apache.struts.taglib.bean.MessageTag();
                _jspx_th_bean_message_0.setPageContext(pageContext);
                _jspx_th_bean_message_0.setParent(null);
                _jspx_th_bean_message_0.setKey("type");
                try {
                    int _jspx_eval_bean_message_0 = _jspx_th_bean_message_0.doStartTag();
                    if (_jspx_eval_bean_message_0 == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_BUFFERED)
                        throw new JspTagException("Since tag handler class org.apache.struts.taglib.bean.MessageTag does not implement BodyTag, it can't return BodyTag.EVAL_BODY_TAG");
                    if (_jspx_eval_bean_message_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                        do {
                        // end
                        // begin [file="/Ch10_05.jsp";from=(11,8);to=(11,34)]
                        } while (_jspx_th_bean_message_0.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN);
                    }
                    if (_jspx_th_bean_message_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
                        return;
                } finally {
                    _jspx_th_bean_message_0.release();
                }
            // end
            // HTML // begin [file="/Ch10_05.jsp";from=(11,34);to=(12,8)]
                out.write("\r\n        ");

            // end
            // begin [file="/Ch10_05.jsp";from=(12,8);to=(12,52)]
                /* ----  bean:write ---- */
                org.apache.struts.taglib.bean.WriteTag _jspx_th_bean_write_0 = new org.apache.struts.taglib.bean.WriteTag();
                _jspx_th_bean_write_0.setPageContext(pageContext);
                _jspx_th_bean_write_0.setParent(null);
                _jspx_th_bean_write_0.setName("Ch10_06");
                _jspx_th_bean_write_0.setProperty("type");
                try {
                    int _jspx_eval_bean_write_0 = _jspx_th_bean_write_0.doStartTag();
                    if (_jspx_eval_bean_write_0 == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_BUFFERED)
                        throw new JspTagException("Since tag handler class org.apache.struts.taglib.bean.WriteTag does not implement BodyTag, it can't return BodyTag.EVAL_BODY_TAG");
                    if (_jspx_eval_bean_write_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                        do {
                        // end
                        // begin [file="/Ch10_05.jsp";from=(12,8);to=(12,52)]
                        } while (_jspx_th_bean_write_0.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN);
                    }
                    if (_jspx_th_bean_write_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
                        return;
                } finally {
                    _jspx_th_bean_write_0.release();
                }
            // end
            // HTML // begin [file="/Ch10_05.jsp";from=(12,52);to=(15,8)]
                out.write("\r\n        <BR>\r\n        <BR>\r\n        ");

            // end
            // begin [file="/Ch10_05.jsp";from=(15,8);to=(15,35)]
                /* ----  bean:message ---- */
                org.apache.struts.taglib.bean.MessageTag _jspx_th_bean_message_1 = new org.apache.struts.taglib.bean.MessageTag();
                _jspx_th_bean_message_1.setPageContext(pageContext);
                _jspx_th_bean_message_1.setParent(null);
                _jspx_th_bean_message_1.setKey("items");
                try {
                    int _jspx_eval_bean_message_1 = _jspx_th_bean_message_1.doStartTag();
                    if (_jspx_eval_bean_message_1 == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_BUFFERED)
                        throw new JspTagException("Since tag handler class org.apache.struts.taglib.bean.MessageTag does not implement BodyTag, it can't return BodyTag.EVAL_BODY_TAG");
                    if (_jspx_eval_bean_message_1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                        do {
                        // end
                        // begin [file="/Ch10_05.jsp";from=(15,8);to=(15,35)]
                        } while (_jspx_th_bean_message_1.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN);
                    }
                    if (_jspx_th_bean_message_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
                        return;
                } finally {
                    _jspx_th_bean_message_1.release();
                }
            // end
            // HTML // begin [file="/Ch10_05.jsp";from=(15,35);to=(17,8)]
                out.write("\r\n        <BR>\r\n        ");

            // end
            // begin [file="/Ch10_05.jsp";from=(17,8);to=(17,67)]
                /* ----  logic:iterate ---- */
                org.apache.struts.taglib.logic.IterateTag _jspx_th_logic_iterate_0 = new org.apache.struts.taglib.logic.IterateTag();
                _jspx_th_logic_iterate_0.setPageContext(pageContext);
                _jspx_th_logic_iterate_0.setParent(null);
                _jspx_th_logic_iterate_0.setId("items1");
                _jspx_th_logic_iterate_0.setName("Ch10_06");
                _jspx_th_logic_iterate_0.setProperty("items");
                try {
                    int _jspx_eval_logic_iterate_0 = _jspx_th_logic_iterate_0.doStartTag();
                    if (_jspx_eval_logic_iterate_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                        try {
                            if (_jspx_eval_logic_iterate_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                              out = pageContext.pushBody();
                              _jspx_th_logic_iterate_0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
                              _jspx_th_logic_iterate_0.doInitBody();
                          }
                          do {
                              java.lang.Object items1 = null;
                              items1 = (java.lang.Object) pageContext.findAttribute("items1");
                          // end
                          // HTML // begin [file="/Ch10_05.jsp";from=(17,67);to=(18,12)]
                              out.write("\r\n            ");

                          // end
                          // begin [file="/Ch10_05.jsp";from=(18,15);to=(18,23)]
                              out.print( items1 );
                          // end
                          // HTML // begin [file="/Ch10_05.jsp";from=(18,25);to=(20,8)]
                              out.write("\r\n            <BR>\r\n        ");

                          // end
                          // begin [file="/Ch10_05.jsp";from=(20,8);to=(20,24)]
                          } while (_jspx_th_logic_iterate_0.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN);
                      } finally {
                          if (_jspx_eval_logic_iterate_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
                              out = pageContext.popBody();
                      }
                  }
                  if (_jspx_th_logic_iterate_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
                      return;
              } finally {
                  _jspx_th_logic_iterate_0.release();
              }
          // end
          // HTML // begin [file="/Ch10_05.jsp";from=(20,24);to=(22,8)]
              out.write("\r\n        <BR>\r\n        ");

          // end
          // begin [file="/Ch10_05.jsp";from=(22,8);to=(22,35)]
              /* ----  bean:message ---- */
              org.apache.struts.taglib.bean.MessageTag _jspx_th_bean_message_2 = new org.apache.struts.taglib.bean.MessageTag();
              _jspx_th_bean_message_2.setPageContext(pageContext);
              _jspx_th_bean_message_2.setParent(null);
              _jspx_th_bean_message_2.setKey("email");
              try {
                  int _jspx_eval_bean_message_2 = _jspx_th_bean_message_2.doStartTag();
                  if (_jspx_eval_bean_message_2 == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_BUFFERED)
                      throw new JspTagException("Since tag handler class org.apache.struts.taglib.bean.MessageTag does not implement BodyTag, it can't return BodyTag.EVAL_BODY_TAG");
                  if (_jspx_eval_bean_message_2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                      do {
                      // end
                      // begin [file="/Ch10_05.jsp";from=(22,8);to=(22,35)]
                      } while (_jspx_th_bean_message_2.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN);
                  }
                  if (_jspx_th_bean_message_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
                      return;
              } finally {
                  _jspx_th_bean_message_2.release();
              }
          // end
          // HTML // begin [file="/Ch10_05.jsp";from=(22,35);to=(23,8)]
              out.write("\r\n        ");

          // end
          // begin [file="/Ch10_05.jsp";from=(23,8);to=(23,53)]
              /* ----  bean:write ---- */
              org.apache.struts.taglib.bean.WriteTag _jspx_th_bean_write_1 = new org.apache.struts.taglib.bean.WriteTag();
              _jspx_th_bean_write_1.setPageContext(pageContext);
              _jspx_th_bean_write_1.setParent(null);
              _jspx_th_bean_write_1.setName("Ch10_06");
              _jspx_th_bean_write_1.setProperty("email");
              try {
                  int _jspx_eval_bean_write_1 = _jspx_th_bean_write_1.doStartTag();
                  if (_jspx_eval_bean_write_1 == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_BUFFERED)
                      throw new JspTagException("Since tag handler class org.apache.struts.taglib.bean.WriteTag does not implement BodyTag, it can't return BodyTag.EVAL_BODY_TAG");
                  if (_jspx_eval_bean_write_1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                      do {
                      // end
                      // begin [file="/Ch10_05.jsp";from=(23,8);to=(23,53)]
                      } while (_jspx_th_bean_write_1.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN);
                  }
                  if (_jspx_th_bean_write_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
                      return;
              } finally {
                  _jspx_th_bean_write_1.release();
              }
          // end
          // HTML // begin [file="/Ch10_05.jsp";from=(23,53);to=(26,7)]
              out.write("\r\n        <BR>\r\n    </BODY>\r\n</HTML>");

          // end

      } catch (Throwable t) {
          if (out != null && out.getBufferSize() != 0)
              out.clearBuffer();
          if (pageContext != null) pageContext.handlePageException(t);
      } finally {
          if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext);
      }
  }
}