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

📄 departmentmanage_0002ejsp_jsp.java

📁 系统项目的一部分 开发工具:JBuilder X. 数据库:mysql. 数据库名:user. 两张表:(1)employee,(2)department
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
                              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("depts");
                              _jspx_th_bean_write_0.setProperty("id");
                              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="/departmentManage.jsp";from=(28,10);to=(28,51)]
                          } 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="/departmentManage.jsp";from=(28,51);to=(30,10)]
                  out.write("</td>\r\n         <td>\r\n          ");

              // end
              // begin [file="/departmentManage.jsp";from=(30,10);to=(30,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(_jspx_th_logic_iterate_0);
                  _jspx_th_bean_write_1.setName("depts");
                  _jspx_th_bean_write_1.setProperty("name");
                  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="/departmentManage.jsp";from=(30,10);to=(30,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="/departmentManage.jsp";from=(30,53);to=(32,10)]
                  out.write("</td>\r\n           <td>\r\n          ");

              // end
              // begin [file="/departmentManage.jsp";from=(32,10);to=(32,55)]
                  /* ----  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("depts");
                  _jspx_th_bean_write_2.setProperty("leader");
                  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="/departmentManage.jsp";from=(32,10);to=(32,55)]
                          } 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="/departmentManage.jsp";from=(32,55);to=(33,14)]
                  out.write("</td>\r\n          <td>");

              // end
              // begin [file="/departmentManage.jsp";from=(33,14);to=(33,109)]
                  /* ----  html:link ---- */
                  org.apache.struts.taglib.html.LinkTag _jspx_th_html_link_0 = new org.apache.struts.taglib.html.LinkTag();
                  _jspx_th_html_link_0.setPageContext(pageContext);
                  _jspx_th_html_link_0.setParent(_jspx_th_logic_iterate_0);
                  _jspx_th_html_link_0.setPage("/addEmployeeToDept.jsp");
                  _jspx_th_html_link_0.setParamId("deptId");
                  _jspx_th_html_link_0.setParamName("depts");
                  _jspx_th_html_link_0.setParamProperty("id");
                  try {
                      int _jspx_eval_html_link_0 = _jspx_th_html_link_0.doStartTag();
                      if (_jspx_eval_html_link_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                          try {
                              if (_jspx_eval_html_link_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                              out = pageContext.pushBody();
                              _jspx_th_html_link_0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
                              _jspx_th_html_link_0.doInitBody();
                          }
                          do {
                          // end
                          // HTML // begin [file="/departmentManage.jsp";from=(33,109);to=(33,111)]
                              out.write("添加");

                          // end
                          // begin [file="/departmentManage.jsp";from=(33,111);to=(33,123)]
                          } while (_jspx_th_html_link_0.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN);
                      } finally {
                          if (_jspx_eval_html_link_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
                              out = pageContext.popBody();
                      }
                  }
                  if (_jspx_th_html_link_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
                      return;
              } finally {
                  _jspx_th_html_link_0.release();
              }
          // end
          // HTML // begin [file="/departmentManage.jsp";from=(33,123);to=(34,14)]
              out.write("</td>\r\n          <td>");

          // end
          // begin [file="/departmentManage.jsp";from=(34,14);to=(34,114)]
              /* ----  html:link ---- */
              org.apache.struts.taglib.html.LinkTag _jspx_th_html_link_1 = new org.apache.struts.taglib.html.LinkTag();
              _jspx_th_html_link_1.setPageContext(pageContext);
              _jspx_th_html_link_1.setParent(_jspx_th_logic_iterate_0);
              _jspx_th_html_link_1.setPage("/deleteEmployeeFromDept.jsp");
              _jspx_th_html_link_1.setParamId("deptId");
              _jspx_th_html_link_1.setParamName("depts");
              _jspx_th_html_link_1.setParamProperty("id");
              try {
                  int _jspx_eval_html_link_1 = _jspx_th_html_link_1.doStartTag();
                  if (_jspx_eval_html_link_1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                      try {
                          if (_jspx_eval_html_link_1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                              out = pageContext.pushBody();
                              _jspx_th_html_link_1.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
                              _jspx_th_html_link_1.doInitBody();
                          }
                          do {
                          // end
                          // HTML // begin [file="/departmentManage.jsp";from=(34,114);to=(34,116)]
                              out.write("删除");

                          // end
                          // begin [file="/departmentManage.jsp";from=(34,116);to=(34,128)]
                          } while (_jspx_th_html_link_1.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN);
                      } finally {
                          if (_jspx_eval_html_link_1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
                              out = pageContext.popBody();
                      }
                  }
                  if (_jspx_th_html_link_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
                      return;
              } finally {
                  _jspx_th_html_link_1.release();
              }
          // end
          // HTML // begin [file="/departmentManage.jsp";from=(34,128);to=(36,8)]
              out.write("</td>\r\n        </tr>\r\n        ");

          // end
          // begin [file="/departmentManage.jsp";from=(36,8);to=(36,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="/departmentManage.jsp";from=(36,24);to=(40,0)]
    out.write("\r\n     </table>\r\n</center>\r\n</body>\r\n");

// end
// begin [file="/departmentManage.jsp";from=(40,0);to=(40,12)]
} while (_jspx_th_html_html_0.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN);
}
if (_jspx_th_html_html_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
    return;
} finally {
    _jspx_th_html_html_0.release();
}
// end
// HTML // begin [file="/departmentManage.jsp";from=(40,12);to=(41,0)]
    out.write("\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 + -