⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 listbook_0002ejsp_jsp.java

📁 JSP图书管理系统的相关数据.大家参考下
💻 JAVA
字号:
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;


public class listbook_0002ejsp_jsp extends HttpJspBase {


    static {
    }
    public listbook_0002ejsp_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=GBK");
            pageContext = _jspxFactory.getPageContext(this, request, response,
            			"", true, 8192, true);

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

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

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

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

            // end
            // HTML // begin [file="/listbook.jsp";from=(3,60);to=(4,0)]
                out.write("\r\n");

            // end
            // HTML // begin [file="/listbook.jsp";from=(4,62);to=(19,0)]
                out.write("\r\n\r\n<html>\r\n<head>\r\n <link rel=\"STYLESHEET\" type=\"text/css\" href=\"css/shared.css\">\r\n<title>\r\nlistbook\r\n</title>\r\n</head>\r\n<body bgcolor=\"#ffffff\" >\r\n<h3 align=\"center\">\r\n 图书信息\r\n</h3>\r\n<br>\r\n<hr height=1 />\r\n");

            // end
            // begin [file="/listbook.jsp";from=(19,0);to=(19,52)]
                /* ----  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.setMethod("post");
                _jspx_th_html_form_0.setAction("listBookAction.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="/listbook.jsp";from=(19,52);to=(30,0)]
                            out.write("\r\n<table width=\"100%\">\r\n<tr>\r\n<td class=\"tdframe\">\r\n<table class=\"table1\"  width=\"100%\">\r\n<thead class=\"tdsectionbar\">\r\n<td align=\"center\" class=\"tdsectionbar\" >图书名称</td>\r\n<td align=\"center\" class=\"tdsectionbar\" >图书现存</td>\r\n<td align=\"center\" class=\"tdsectionbar\" >图书总量</td>\r\n</thead>\r\n<tbody id=\"bookRows\" >\r\n");

                        // end
                        // begin [file="/listbook.jsp";from=(30,0);to=(30,65)]
                            /* ----  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.setName("bookActionForm");
                            _jspx_th_logic_iterate_0.setProperty("books");
                            _jspx_th_logic_iterate_0.setId("books");
                            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 books = null;
                              books = (java.lang.Object) pageContext.findAttribute("books");
                          // end
                          // HTML // begin [file="/listbook.jsp";from=(30,65);to=(33,0)]
                              out.write("\r\n<tr class=\"tdsectionbar\">\r\n<td class=\"tdbg0\" >\r\n");

                          // end
                          // begin [file="/listbook.jsp";from=(33,0);to=(33,47)]
                              /* ----  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(_jspx_th_logic_iterate_0);
                              _jspx_th_bean_write_0.setName("books");
                              _jspx_th_bean_write_0.setProperty("bookName");
                              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="/listbook.jsp";from=(33,0);to=(33,47)]
                          } 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="/listbook.jsp";from=(33,47);to=(36,0)]
                  out.write("\r\n</td>\r\n<td class=\"tdbg0\" >\r\n");

              // end
              // begin [file="/listbook.jsp";from=(36,0);to=(36,54)]
                  /* ----  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(_jspx_th_logic_iterate_0);
                  _jspx_th_bean_write_1.setName("books");
                  _jspx_th_bean_write_1.setProperty("qty");
                  _jspx_th_bean_write_1.setFormat("###");
                  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="/listbook.jsp";from=(36,0);to=(36,54)]
                          } 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="/listbook.jsp";from=(36,54);to=(39,0)]
                  out.write("\r\n</td>\r\n<td class=\"tdbg0\">\r\n");

              // end
              // begin [file="/listbook.jsp";from=(39,0);to=(39,59)]
                  /* ----  bean:write ---- */
                  org.apache.struts.taglib.bean.WriteTag _jspx_th_bean_write_2 = new org.apache.struts.taglib.bean.WriteTag();
                  _jspx_th_bean_write_2.setPageContext(pageContext);
                  _jspx_th_bean_write_2.setParent(_jspx_th_logic_iterate_0);
                  _jspx_th_bean_write_2.setName("books");
                  _jspx_th_bean_write_2.setProperty("totalQty");
                  _jspx_th_bean_write_2.setFormat("###");
                  try {
                      int _jspx_eval_bean_write_2 = _jspx_th_bean_write_2.doStartTag();
                      if (_jspx_eval_bean_write_2 == 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_2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                          do {
                          // end
                          // begin [file="/listbook.jsp";from=(39,0);to=(39,59)]
                          } while (_jspx_th_bean_write_2.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN);
                      }
                      if (_jspx_th_bean_write_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
                          return;
                  } finally {
                      _jspx_th_bean_write_2.release();
                  }
              // end
              // HTML // begin [file="/listbook.jsp";from=(39,59);to=(42,0)]
                  out.write("\r\n</td>\r\n</tr>\r\n");

              // end
              // begin [file="/listbook.jsp";from=(42,0);to=(42,16)]
              } 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="/listbook.jsp";from=(42,16);to=(48,0)]
    out.write("\r\n</tbody>\r\n</table>\r\n</td>\r\n</tr>\r\n</table>\r\n");

// end
// begin [file="/listbook.jsp";from=(48,0);to=(48,12)]
} 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="/listbook.jsp";from=(48,12);to=(52,0)]
    out.write("\r\n<hr height=1 />\r\n</body>\r\n</html>\r\n");

// 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);
}
}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -