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

📄 deleteemployeefromdept_0002ejsp_jsp.java

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

                          // end
                          // begin [file="/deleteEmployeeFromDept.jsp";from=(25,10);to=(25,50)]
                              /* ----  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_html_form_0);
                              _jspx_th_bean_write_0.setName("emps");
                              _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="/deleteEmployeeFromDept.jsp";from=(25,10);to=(25,50)]
                          } 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="/deleteEmployeeFromDept.jsp";from=(25,50);to=(26,54)]
                  out.write("\r\n          <input type=\"hidden\" name=\"employId\" value='");

              // end
              // begin [file="/deleteEmployeeFromDept.jsp";from=(26,54);to=(26,93)]
                  /* ----  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_html_form_0);
                  _jspx_th_bean_write_1.setName("emps");
                  _jspx_th_bean_write_1.setProperty("id");
                  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="/deleteEmployeeFromDept.jsp";from=(26,54);to=(26,93)]
                          } 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="/deleteEmployeeFromDept.jsp";from=(26,93);to=(27,52)]
                  out.write("'>\r\n          <input type=\"hidden\" name=\"deptId\" value='");

              // end
              // begin [file="/deleteEmployeeFromDept.jsp";from=(27,52);to=(27,84)]
                  /* ----  c:out ---- */
                  org.apache.taglibs.standard.tag.el.core.OutTag _jspx_th_c_out_0 = new org.apache.taglibs.standard.tag.el.core.OutTag();
                  _jspx_th_c_out_0.setPageContext(pageContext);
                  _jspx_th_c_out_0.setParent(_jspx_th_html_form_0);
                  _jspx_th_c_out_0.setValue("${param.deptId}");
                  try {
                      int _jspx_eval_c_out_0 = _jspx_th_c_out_0.doStartTag();
                      if (_jspx_eval_c_out_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                          try {
                              if (_jspx_eval_c_out_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                              out = pageContext.pushBody();
                              _jspx_th_c_out_0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
                              _jspx_th_c_out_0.doInitBody();
                          }
                          do {
                          // end
                          // begin [file="/deleteEmployeeFromDept.jsp";from=(27,52);to=(27,84)]
                          } while (_jspx_th_c_out_0.doAfterBody() == javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN);
                      } finally {
                          if (_jspx_eval_c_out_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
                              out = pageContext.popBody();
                      }
                  }
                  if (_jspx_th_c_out_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
                      return;
              } finally {
                  _jspx_th_c_out_0.release();
              }
          // end
          // HTML // begin [file="/deleteEmployeeFromDept.jsp";from=(27,84);to=(30,10)]
              out.write("'>\r\n          </td>\r\n         <td>\r\n          ");

          // end
          // begin [file="/deleteEmployeeFromDept.jsp";from=(30,10);to=(30,52)]
              /* ----  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_html_form_0);
              _jspx_th_bean_write_2.setName("emps");
              _jspx_th_bean_write_2.setProperty("name");
              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="/deleteEmployeeFromDept.jsp";from=(30,10);to=(30,52)]
                      } 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="/deleteEmployeeFromDept.jsp";from=(30,52);to=(33,9)]
              out.write("</td>\r\n          <td><input type=\"submit\" value=\"删除\"></td>\r\n        </tr>\r\n         ");

          // end
          // begin [file="/deleteEmployeeFromDept.jsp";from=(33,9);to=(33,21)]
          } 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="/deleteEmployeeFromDept.jsp";from=(33,21);to=(34,8)]
    out.write("\r\n        ");

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

// end
// begin [file="/deleteEmployeeFromDept.jsp";from=(38,0);to=(38,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="/deleteEmployeeFromDept.jsp";from=(38,12);to=(39,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 + -