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=UTF-8");
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_01.jsp";from=(0,65);to=(1,0)]
out.write("\r\n");
// end
// HTML // begin [file="/Ch10_01.jsp";from=(1,58);to=(2,0)]
out.write("\r\n");
// end
// HTML // begin [file="/Ch10_01.jsp";from=(2,58);to=(3,0)]
out.write("\r\n");
// end
// HTML // begin [file="/Ch10_01.jsp";from=(3,60);to=(4,0)]
out.write("\r\n");
// end
// HTML // begin [file="/Ch10_01.jsp";from=(4,39);to=(13,8)]
out.write("\r\n\r\n<HTML>\r\n <HEAD>\r\n <TITLE>Here's the menu...</TITLE>\r\n </HEAD>\r\n \r\n <BODY>\r\n <H1>Here's the menu...</H1>\r\n ");
// end
// begin [file="/Ch10_01.jsp";from=(13,8);to=(13,22)]
/* ---- html:errors ---- */
org.apache.struts.taglib.html.ErrorsTag _jspx_th_html_errors_0 = new org.apache.struts.taglib.html.ErrorsTag();
_jspx_th_html_errors_0.setPageContext(pageContext);
_jspx_th_html_errors_0.setParent(null);
try {
int _jspx_eval_html_errors_0 = _jspx_th_html_errors_0.doStartTag();
if (_jspx_eval_html_errors_0 == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_BUFFERED)
throw new JspTagException("Since tag handler class org.apache.struts.taglib.html.ErrorsTag does not implement BodyTag, it can't return BodyTag.EVAL_BODY_TAG");
if (_jspx_eval_html_errors_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
do {
// end
// begin [file="/Ch10_01.jsp";from=(13,8);to=(13,22)]
} while (_jspx_th_html_errors_0.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN);
}
if (_jspx_th_html_errors_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return;
} finally {
_jspx_th_html_errors_0.release();
}
// end
// HTML // begin [file="/Ch10_01.jsp";from=(13,22);to=(14,8)]
out.write("\r\n ");
// end
// begin [file="/Ch10_01.jsp";from=(14,8);to=(14,20)]
/* ---- Ch10:type ---- */
org.eclipsebook.ch10.Ch10_02 _jspx_th_Ch10_type_0 = new org.eclipsebook.ch10.Ch10_02();
_jspx_th_Ch10_type_0.setPageContext(pageContext);
_jspx_th_Ch10_type_0.setParent(null);
try {
int _jspx_eval_Ch10_type_0 = _jspx_th_Ch10_type_0.doStartTag();
if (_jspx_eval_Ch10_type_0 == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_BUFFERED)
throw new JspTagException("Since tag handler class org.eclipsebook.ch10.Ch10_02 does not implement BodyTag, it can't return BodyTag.EVAL_BODY_TAG");
if (_jspx_eval_Ch10_type_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
do {
// end
// begin [file="/Ch10_01.jsp";from=(14,8);to=(14,20)]
} while (_jspx_th_Ch10_type_0.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN);
}
if (_jspx_th_Ch10_type_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return;
} finally {
_jspx_th_Ch10_type_0.release();
}
// end
// HTML // begin [file="/Ch10_01.jsp";from=(14,20);to=(15,8)]
out.write("\r\n ");
// end
// begin [file="/Ch10_01.jsp";from=(15,8);to=(15,21)]
/* ---- Ch10:items ---- */
org.eclipsebook.ch10.Ch10_03 _jspx_th_Ch10_items_0 = new org.eclipsebook.ch10.Ch10_03();
_jspx_th_Ch10_items_0.setPageContext(pageContext);
_jspx_th_Ch10_items_0.setParent(null);
try {
int _jspx_eval_Ch10_items_0 = _jspx_th_Ch10_items_0.doStartTag();
if (_jspx_eval_Ch10_items_0 == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_BUFFERED)
throw new JspTagException("Since tag handler class org.eclipsebook.ch10.Ch10_03 does not implement BodyTag, it can't return BodyTag.EVAL_BODY_TAG");
if (_jspx_eval_Ch10_items_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
do {
// end
// begin [file="/Ch10_01.jsp";from=(15,8);to=(15,21)]
} while (_jspx_th_Ch10_items_0.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN);
}
if (_jspx_th_Ch10_items_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return;
} finally {
_jspx_th_Ch10_items_0.release();
}
// end
// HTML // begin [file="/Ch10_01.jsp";from=(15,21);to=(17,8)]
out.write("\r\n\r\n ");
// end
// begin [file="/Ch10_01.jsp";from=(17,8);to=(17,39)]
/* ---- html:form ---- */
org.apache.struts.taglib.html.FormTag _jspx_th_html_form_0 = new org.apache.struts.taglib.html.FormTag();
_jspx_th_html_form_0.setPageContext(pageContext);
_jspx_th_html_form_0.setParent(null);
_jspx_th_html_form_0.setAction("Ch10_04.do");
try {
int _jspx_eval_html_form_0 = _jspx_th_html_form_0.doStartTag();
if (_jspx_eval_html_form_0 == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_BUFFERED)
throw new JspTagException("Since tag handler class org.apache.struts.taglib.html.FormTag does not implement BodyTag, it can't return BodyTag.EVAL_BODY_TAG");
if (_jspx_eval_html_form_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
do {
// end
// HTML // begin [file="/Ch10_01.jsp";from=(17,39);to=(21,24)]
out.write("\r\n <TABLE>\r\n <TR>\r\n <TD ALIGN=\"LEFT\" VALIGN=\"TOP\">\r\n ");
// end
// begin [file="/Ch10_01.jsp";from=(21,24);to=(21,51)]
/* ---- 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(_jspx_th_html_form_0);
_jspx_th_bean_message_0.setKey("items");
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_01.jsp";from=(21,24);to=(21,51)]
} 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_01.jsp";from=(21,51);to=(23,24)]
out.write("\r\n <BR>\r\n ");
// end
// begin [file="/Ch10_01.jsp";from=(23,24);to=(23,64)]
/* ---- 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(_jspx_th_html_form_0);
_jspx_th_logic_iterate_0.setId("items1");
_jspx_th_logic_iterate_0.setName("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_01.jsp";from=(23,64);to=(24,28)]
out.write("\r\n ");
// end
// begin [file="/Ch10_01.jsp";from=(24,28);to=(24,60)]
/* ---- html:multibox ---- */
org.apache.struts.taglib.html.MultiboxTag _jspx_th_html_multibox_0 = new org.apache.struts.taglib.html.MultiboxTag();
_jspx_th_html_multibox_0.setPageContext(pageContext);
_jspx_th_html_multibox_0.setParent(_jspx_th_logic_iterate_0);
_jspx_th_html_multibox_0.setProperty("items");
try {
int _jspx_eval_html_multibox_0 = _jspx_th_html_multibox_0.doStartTag();
if (_jspx_eval_html_multibox_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
try {
if (_jspx_eval_html_multibox_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
out = pageContext.pushBody();
_jspx_th_html_multibox_0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
_jspx_th_html_multibox_0.doInitBody();
}
do {
// end
// HTML // begin [file="/Ch10_01.jsp";from=(24,60);to=(25,32)]
out.write("\r\n ");
// end
// begin [file="/Ch10_01.jsp";from=(25,35);to=(25,43)]
out.print( items1 );
// end
// HTML // begin [file="/Ch10_01.jsp";from=(25,45);to=(26,28)]
out.write("\r\n ");
// end
// begin [file="/Ch10_01.jsp";from=(26,28);to=(26,44)]
} while (_jspx_th_html_multibox_0.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN);
} finally {
if (_jspx_eval_html_multibox_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
out = pageContext.popBody();
}
}
if (_jspx_th_html_multibox_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return;
} finally {
_jspx_th_html_multibox_0.release();
}
// end
// HTML // begin [file="/Ch10_01.jsp";from=(26,44);to=(27,28)]
out.write("\r\n ");
// end
// begin [file="/Ch10_01.jsp";from=(27,31);to=(27,39)]
out.print( items1 );
// end
// HTML // begin [file="/Ch10_01.jsp";from=(27,41);to=(29,24)]
out.write("\r\n <BR>\r\n ");
// end
// begin [file="/Ch10_01.jsp";from=(29,24);to=(29,40)]
} 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_01.jsp";from=(29,40);to=(32,24)]
out.write("\r\n </TD>\r\n <TD ALIGN=\"LEFT\" VALIGN=\"TOP\">\r\n ");
// end
// begin [file="/Ch10_01.jsp";from=(32,24);to=(32,50)]
/* ---- 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(_jspx_th_html_form_0);
_jspx_th_bean_message_1.setKey("type");
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_01.jsp";from=(32,24);to=(32,50)]
} 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_01.jsp";from=(32,50);to=(34,24)]
out.write("\r\n <BR>\r\n ");
// end
// begin [file="/Ch10_01.jsp";from=(34,24);to=(34,53)]
/* ---- html:select ---- */
org.apache.struts.taglib.html.SelectTag _jspx_th_html_select_0 = new org.apache.struts.taglib.html.SelectTag();
_jspx_th_html_select_0.setPageContext(pageContext);
_jspx_th_html_select_0.setParent(_jspx_th_html_form_0);
_jspx_th_html_select_0.setProperty("type");
try {
int _jspx_eval_html_select_0 = _jspx_th_html_select_0.doStartTag();
if (_jspx_eval_html_select_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
try {
if (_jspx_eval_html_select_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
out = pageContext.pushBody();
_jspx_th_html_select_0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
_jspx_th_html_select_0.doInitBody();
}
do {
// end
// HTML // begin [file="/Ch10_01.jsp";from=(34,53);to=(35,28)]
out.write("\r\n ");
// end
// begin [file="/Ch10_01.jsp";from=(35,28);to=(35,55)]
/* ---- html:options ---- */
org.apache.struts.taglib.html.OptionsTag _jspx_th_html_options_0 = new org.apache.struts.taglib.html.OptionsTag();
_jspx_th_html_options_0.setPageContext(pageContext);
_jspx_th_html_options_0.setParent(_jspx_th_html_select_0);
_jspx_th_html_options_0.setName("type");
try {
int _jspx_eval_html_options_0 = _jspx_th_html_options_0.doStartTag();
if (_jspx_eval_html_options_0 == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_BUFFERED)
throw new JspTagException("Since tag handler class org.apache.struts.taglib.html.OptionsTag does not implement BodyTag, it can't return BodyTag.EVAL_BODY_TAG");
if (_jspx_eval_html_options_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
do {
// end
// begin [file="/Ch10_01.jsp";from=(35,28);to=(35,55)]
} while (_jspx_th_html_options_0.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN);
}
if (_jspx_th_html_options_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return;
} finally {
_jspx_th_html_options_0.release();
}
// end
// HTML // begin [file="/Ch10_01.jsp";from=(35,55);to=(36,24)]
out.write("\r\n ");
// end
// begin [file="/Ch10_01.jsp";from=(36,24);to=(36,38)]
} while (_jspx_th_html_select_0.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN);
} finally {
if (_jspx_eval_html_select_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
out = pageContext.popBody();
}
}
if (_jspx_th_html_select_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return;
} finally {
_jspx_th_html_select_0.release();
}
// end
// HTML // begin [file="/Ch10_01.jsp";from=(36,38);to=(42,24)]
out.write("\r\n </TD>\r\n </TR>\r\n <TR>\r\n <TD ALIGN=\"LEFT\">\r\n <BR>\r\n ");
// end
// begin [file="/Ch10_01.jsp";from=(42,24);to=(42,51)]
/* ---- 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(_jspx_th_html_form_0);
_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_01.jsp";from=(42,24);to=(42,51)]
} 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_01.jsp";from=(42,51);to=(43,24)]
out.write("\r\n ");
// end
// begin [file="/Ch10_01.jsp";from=(43,24);to=(43,53)]
/* ---- html:text ---- */
org.apache.struts.taglib.html.TextTag _jspx_th_html_text_0 = new org.apache.struts.taglib.html.TextTag();
_jspx_th_html_text_0.setPageContext(pageContext);
_jspx_th_html_text_0.setParent(_jspx_th_html_form_0);
_jspx_th_html_text_0.setProperty("email");
try {
int _jspx_eval_html_text_0 = _jspx_th_html_text_0.doStartTag();
if (_jspx_eval_html_text_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
try {
if (_jspx_eval_html_text_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
out = pageContext.pushBody();
_jspx_th_html_text_0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
_jspx_th_html_text_0.doInitBody();
}
do {
// end
// begin [file="/Ch10_01.jsp";from=(43,24);to=(43,53)]
} while (_jspx_th_html_text_0.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN);
} finally {
if (_jspx_eval_html_text_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
out = pageContext.popBody();
}
}
if (_jspx_th_html_text_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return;
} finally {
_jspx_th_html_text_0.release();
}
// end
// HTML // begin [file="/Ch10_01.jsp";from=(43,53);to=(48,12)]
out.write("\r\n </TD>\r\n <TR>\r\n </TABLE>\r\n <BR>\r\n ");
// end
// begin [file="/Ch10_01.jsp";from=(48,12);to=(48,51)]
/* ---- html:submit ---- */
org.apache.struts.taglib.html.SubmitTag _jspx_th_html_submit_0 = new org.apache.struts.taglib.html.SubmitTag();
_jspx_th_html_submit_0.setPageContext(pageContext);
_jspx_th_html_submit_0.setParent(_jspx_th_html_form_0);
_jspx_th_html_submit_0.setValue("Place your order");
try {
int _jspx_eval_html_submit_0 = _jspx_th_html_submit_0.doStartTag();
if (_jspx_eval_html_submit_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
try {
if (_jspx_eval_html_submit_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
out = pageContext.pushBody();
_jspx_th_html_submit_0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
_jspx_th_html_submit_0.doInitBody();
}
do {
// end
// begin [file="/Ch10_01.jsp";from=(48,12);to=(48,51)]
} while (_jspx_th_html_submit_0.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN);
} finally {
if (_jspx_eval_html_submit_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
out = pageContext.popBody();
}
}
if (_jspx_th_html_submit_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return;
} finally {
_jspx_th_html_submit_0.release();
}
// end
// HTML // begin [file="/Ch10_01.jsp";from=(48,51);to=(49,8)]
out.write("\r\n ");
// end
// begin [file="/Ch10_01.jsp";from=(49,8);to=(49,20)]
} while (_jspx_th_html_form_0.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN);
}
if (_jspx_th_html_form_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return;
} finally {
_jspx_th_html_form_0.release();
}
// end
// HTML // begin [file="/Ch10_01.jsp";from=(49,20);to=(51,7)]
out.write("\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);
}