📄 addbook_jsp.java
字号:
out.write(" <TD><SELECT NAME=\"bookStyle\">\r\n");
out.write(" <OPTION VALUE=\"History\">History</option>\r\n");
out.write(" <OPTION VALUE=\"MartialArts\">MartialArts</option>\r\n");
out.write(" <OPTION VALUE=\"Encyclopedia\" SELECTED>Encyclopedia</option>\r\n");
out.write(" <OPTION VALUE=\"Literature\">Literature</option>\r\n");
out.write(" <OPTION VALUE=\"Fiction\">Fiction </option>\r\n");
out.write(" </SELECT></TD>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td>publishedDate:</td>\r\n");
out.write(" <TD>\r\n");
out.write(" <SELECT NAME=\"year\">\r\n");
out.write(" <OPTION VALUE=\"2005\">2005</option>\r\n");
out.write(" <OPTION VALUE=\"2006\">2006</option>\r\n");
out.write(" <OPTION VALUE=\"2007\" SELECTED>2007</option>\r\n");
out.write(" <OPTION VALUE=\"2008\">2008</option>\r\n");
out.write(" <OPTION VALUE=\"2009\">2009 </option>\r\n");
out.write(" </SELECT>年\r\n");
out.write(" <SELECT NAME=\"month\">\r\n");
out.write(" <OPTION VALUE=\"2\">2</option>\r\n");
out.write(" <OPTION VALUE=\"3\">3</option>\r\n");
out.write(" <OPTION VALUE=\"4\" SELECTED>4</option>\r\n");
out.write(" <OPTION VALUE=\"5\">5</option>\r\n");
out.write(" <OPTION VALUE=\"6\">6 </option>\r\n");
out.write(" </SELECT>月\r\n");
out.write(" <SELECT NAME=\"day\">\r\n");
out.write(" <OPTION VALUE=\"21\">21</option>\r\n");
out.write(" <OPTION VALUE=\"22\">22</option>\r\n");
out.write(" <OPTION VALUE=\"23\" SELECTED>23</option>\r\n");
out.write(" <OPTION VALUE=\"24\">24</option>\r\n");
out.write(" <OPTION VALUE=\"25\">25 </option>\r\n");
out.write(" </SELECT>日\r\n");
out.write(" </TD>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td>Description:</td>\r\n");
out.write(" <td><TEXTAREA NAME=\"description\" ROWS=\"3\" COLS=\"25\"></TEXTAREA></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td align=\"right\"><INPUT TYPE=\"submit\" value=\"submit\"></td>\r\n");
out.write(" <td align=\"center\"><INPUT TYPE=\"reset\" value=\"reset\"></td>\r\n");
out.write(" </tr>\r\n");
out.write(" </table>\r\n");
out.write(" ");
int evalDoAfterBody = _jspx_th_html_form_0.doAfterBody();
if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
break;
} while (true);
}
if (_jspx_th_html_form_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
_jspx_tagPool_html_form_action.reuse(_jspx_th_html_form_0);
return true;
}
_jspx_tagPool_html_form_action.reuse(_jspx_th_html_form_0);
return false;
}
private boolean _jspx_meth_html_text_0(javax.servlet.jsp.tagext.JspTag _jspx_th_html_form_0, PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// html:text
org.apache.struts.taglib.html.TextTag _jspx_th_html_text_0 = (org.apache.struts.taglib.html.TextTag) _jspx_tagPool_html_text_property_name_nobody.get(org.apache.struts.taglib.html.TextTag.class);
_jspx_th_html_text_0.setPageContext(_jspx_page_context);
_jspx_th_html_text_0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_html_form_0);
_jspx_th_html_text_0.setProperty("bookNo");
_jspx_th_html_text_0.setName("bookNo");
int _jspx_eval_html_text_0 = _jspx_th_html_text_0.doStartTag();
if (_jspx_th_html_text_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
_jspx_tagPool_html_text_property_name_nobody.reuse(_jspx_th_html_text_0);
return true;
}
_jspx_tagPool_html_text_property_name_nobody.reuse(_jspx_th_html_text_0);
return false;
}
private boolean _jspx_meth_html_text_1(javax.servlet.jsp.tagext.JspTag _jspx_th_html_form_0, PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// html:text
org.apache.struts.taglib.html.TextTag _jspx_th_html_text_1 = (org.apache.struts.taglib.html.TextTag) _jspx_tagPool_html_text_property_nobody.get(org.apache.struts.taglib.html.TextTag.class);
_jspx_th_html_text_1.setPageContext(_jspx_page_context);
_jspx_th_html_text_1.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_html_form_0);
_jspx_th_html_text_1.setProperty("bookName");
int _jspx_eval_html_text_1 = _jspx_th_html_text_1.doStartTag();
if (_jspx_th_html_text_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
_jspx_tagPool_html_text_property_nobody.reuse(_jspx_th_html_text_1);
return true;
}
_jspx_tagPool_html_text_property_nobody.reuse(_jspx_th_html_text_1);
return false;
}
private boolean _jspx_meth_html_text_2(javax.servlet.jsp.tagext.JspTag _jspx_th_html_form_0, PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// html:text
org.apache.struts.taglib.html.TextTag _jspx_th_html_text_2 = (org.apache.struts.taglib.html.TextTag) _jspx_tagPool_html_text_property_nobody.get(org.apache.struts.taglib.html.TextTag.class);
_jspx_th_html_text_2.setPageContext(_jspx_page_context);
_jspx_th_html_text_2.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_html_form_0);
_jspx_th_html_text_2.setProperty("author");
int _jspx_eval_html_text_2 = _jspx_th_html_text_2.doStartTag();
if (_jspx_th_html_text_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
_jspx_tagPool_html_text_property_nobody.reuse(_jspx_th_html_text_2);
return true;
}
_jspx_tagPool_html_text_property_nobody.reuse(_jspx_th_html_text_2);
return false;
}
private boolean _jspx_meth_html_text_3(javax.servlet.jsp.tagext.JspTag _jspx_th_html_form_0, PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// html:text
org.apache.struts.taglib.html.TextTag _jspx_th_html_text_3 = (org.apache.struts.taglib.html.TextTag) _jspx_tagPool_html_text_property_nobody.get(org.apache.struts.taglib.html.TextTag.class);
_jspx_th_html_text_3.setPageContext(_jspx_page_context);
_jspx_th_html_text_3.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_html_form_0);
_jspx_th_html_text_3.setProperty("publisher");
int _jspx_eval_html_text_3 = _jspx_th_html_text_3.doStartTag();
if (_jspx_th_html_text_3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
_jspx_tagPool_html_text_property_nobody.reuse(_jspx_th_html_text_3);
return true;
}
_jspx_tagPool_html_text_property_nobody.reuse(_jspx_th_html_text_3);
return false;
}
private boolean _jspx_meth_html_text_4(javax.servlet.jsp.tagext.JspTag _jspx_th_html_form_0, PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// html:text
org.apache.struts.taglib.html.TextTag _jspx_th_html_text_4 = (org.apache.struts.taglib.html.TextTag) _jspx_tagPool_html_text_property_nobody.get(org.apache.struts.taglib.html.TextTag.class);
_jspx_th_html_text_4.setPageContext(_jspx_page_context);
_jspx_th_html_text_4.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_html_form_0);
_jspx_th_html_text_4.setProperty("price");
int _jspx_eval_html_text_4 = _jspx_th_html_text_4.doStartTag();
if (_jspx_th_html_text_4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
_jspx_tagPool_html_text_property_nobody.reuse(_jspx_th_html_text_4);
return true;
}
_jspx_tagPool_html_text_property_nobody.reuse(_jspx_th_html_text_4);
return false;
}
private boolean _jspx_meth_html_text_5(javax.servlet.jsp.tagext.JspTag _jspx_th_html_form_0, PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// html:text
org.apache.struts.taglib.html.TextTag _jspx_th_html_text_5 = (org.apache.struts.taglib.html.TextTag) _jspx_tagPool_html_text_property_nobody.get(org.apache.struts.taglib.html.TextTag.class);
_jspx_th_html_text_5.setPageContext(_jspx_page_context);
_jspx_th_html_text_5.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_html_form_0);
_jspx_th_html_text_5.setProperty("img");
int _jspx_eval_html_text_5 = _jspx_th_html_text_5.doStartTag();
if (_jspx_th_html_text_5.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
_jspx_tagPool_html_text_property_nobody.reuse(_jspx_th_html_text_5);
return true;
}
_jspx_tagPool_html_text_property_nobody.reuse(_jspx_th_html_text_5);
return false;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -