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

📄 orgpersondelete_jsp.java

📁 jsp制作的一个信息管理系统源码,完整实用版
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
      out.write("                  </tr>\r\n");
      out.write("\t\t\t\t  <tr bgcolor=\"#000000\"> \r\n");
      out.write("        \t\t\t<td colspan=\"2\" height=\"1\"><img src=\"../images/dot.gif\" width=\"1\" height=\"1\"></td>\r\n");
      out.write("      \t\t\t  </tr>\r\n");
      out.write("      \t\t\t       \t\t\t \r\n");
      out.write("      \t\t\t        \t\r\n");
      out.write("      \t\t\t  \r\n");
      out.write("<!-- 教员管理菜单 -->\t\r\n");
      out.write("                 <tr> \r\n");
      out.write("                    <td bgcolor=\"#304D7C\"><div align=\"center\"> \r\n");
      out.write("                        <table width=\"100%\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
      out.write("                          <tr> \r\n");
      out.write("                            <td><div align=\"center\"><font color=\"#FFFFFF\"><b>人 事 管 理</b></font></a></div></td>\r\n");
      out.write("                          </tr>\r\n");
      out.write("                        </table>\r\n");
      out.write("                        <strong></strong></div></td>\r\n");
      out.write("                  </tr>\r\n");
      out.write("\t\t\t\t  <tr bgcolor=\"#000000\"> \r\n");
      out.write("        \t\t\t<td colspan=\"2\" height=\"1\"><img src=\"../images/dot.gif\" width=\"1\" height=\"1\"></td>\r\n");
      out.write("      \t\t\t  </tr>\r\n");
      out.write("      \t\t\t  \r\n");
      out.write("      \t\t\t  \r\n");
      out.write("      \t\t\t  \r\n");
      out.write("                  <tr> \r\n");
      out.write("                    <td bgcolor=\"#8DB6CD\"><div align=\"center\"> \r\n");
      out.write("                        <table width=\"100%\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
      out.write("                          <tr> \r\n");
      out.write("                            <td><div align=\"center\"><a href=\"OrgPersonAddList.jsp\"><font color=\"#FFFFFF\">增加人员信息</font></a></div></td>\r\n");
      out.write("                          </tr>\r\n");
      out.write("                        </table>\r\n");
      out.write("                        <strong></strong></div></td>\r\n");
      out.write("                  </tr>\r\n");
      out.write("\t\t\t\t  <tr bgcolor=\"#000000\"> \r\n");
      out.write("        \t\t\t<td colspan=\"2\" height=\"1\"><img src=\"../images/dot.gif\" width=\"1\" height=\"1\"></td>\r\n");
      out.write("      \t\t\t  </tr>\r\n");
      out.write("      \t\t\t  \r\n");
      out.write("      \t\t\t  \r\n");
      out.write("      \t\t\t  \r\n");
      out.write("                  <tr> \r\n");
      out.write("                    <td bgcolor=\"#8DB6CD\"><div align=\"center\"> \r\n");
      out.write("                        <table width=\"100%\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
      out.write("                          <tr> \r\n");
      out.write("                            <td><div align=\"center\"><a href=\"OrgPersonDelete.jsp\"><font color=\"#FFFFFF\">删除人事信息</font></a></div></td>\r\n");
      out.write("                          </tr>\r\n");
      out.write("                        </table>\r\n");
      out.write("                        <strong></strong></div></td>\r\n");
      out.write("                  </tr>\r\n");
      out.write("\t\t\t\t  <tr bgcolor=\"#000000\"> \r\n");
      out.write("        \t\t\t<td colspan=\"2\" height=\"1\"><img src=\"../images/dot.gif\" width=\"1\" height=\"1\"></td>\r\n");
      out.write("      \t\t\t  </tr>\r\n");
      out.write("      \t\t\t  \r\n");
      out.write("      \t\t\t \r\n");
      out.write("      \t\t\t  \r\n");
      out.write("      \t\t\t  \r\n");
      out.write("<!-- 菜单完成 -->\r\n");
      out.write("\t\t\t\t  <tr bgcolor=\"#000000\"> \r\n");
      out.write("        \t\t\t<td colspan=\"2\" height=\"1\"><img src=\"../images/dot.gif\" width=\"1\" height=\"1\"></td>\r\n");
      out.write("      \t\t\t  </tr>\r\n");
      out.write("                  <tr> \r\n");
      out.write("                    <td>&nbsp;</td>\r\n");
      out.write("                  </tr>\r\n");
      out.write("                </table></td>\r\n");
      out.write("              <td width=\"15%\">&nbsp;</td>\r\n");
      out.write("            </tr>\r\n");
      out.write("          </table> </td>\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("<!-- 右页面 -->\r\n");
      out.write("        <td border=\"0\" bgcolor=\"#C4C4C4\" width=\"3\" height=\"143\"><img src=\"../images/dot1.gif\" width=\"1\" height=\"1\"></td>\r\n");
      out.write("       \t<td  height=\"143\" valign=\"top\" align=\"right\">&nbsp;</td>\r\n");
      out.write("        <td  height=\"143\" valign=\"top\" align=\"right\">\r\n");
      out.write("     \t<table border=\"0\" cellspacing=\"1\" width=\"100%\" bordercolorlight=\"#000000\" bordercolordark=\"#ffffff\" cellpadding=\"0\" bgcolor=\"#000000\">\r\n");
      out.write("      \r\n");
      out.write("        \t<tr>&nbsp;</tr>      \r\n");
      out.write("            <tr bgcolor=\"#304D7C\"> \r\n");
      out.write("   \t\t\t\t\t<td width=\"200\" align=\"center\">\r\n");
      out.write("                    <font color=\"#FFFFFF\"><strong>部门名称 </strong></font></td>\r\n");
      out.write("\t\t\t\t\t<td width=\"200\" align=\"center\">\r\n");
      out.write("                    <font  color=\"#FFFFFF\"><strong>职位 </strong></font></td>\r\n");
      out.write("                    <td width=\"150\" align=\"center\">\r\n");
      out.write("                    <font color=\"#FFFFFF\"><strong>姓名 </strong></font></td> \r\n");
      out.write("                    <td width=\"80\" align=\"center\">\r\n");
      out.write("                    <font  color=\"#FFFFFF\"><strong>操作 </strong></font></td>\r\n");
      out.write("             </tr>\r\n");
      out.write("       \r\n");
      out.write("          \t ");
 	//输出职员列表
          	 ResultSet rs;
          	 int did=0,tid=0;
          	 String dname,tname,location;
          	 rs = myOrgManager.getAllOrgPerson();
          	 
          	 if(rs==null)
          	 {	
          	 	out.print("faint!");
          	 }
          	 else
          	 while(rs!=null && rs.next())
         	 {
         	 	did =rs.getInt("Did");
         	 	tid =rs.getInt("Tid");
         	 	location =rs.getString("Location");	
         	 	dname=myOrgManager.getDeptName(did);
         	 	tname=myOrgManager.getTeacherName(tid);
         	 	
      out.write("\r\n");
      out.write("          \t \t<tr bgcolor=\"ffffff\">\t\t\r\n");
      out.write("   \t\t\t\t\t<td width=\"200\" align=\"center\">\r\n");
      out.write("                    <font  color=\"#000000\"> ");
out.print(dname);
      out.write("</font></td>\r\n");
      out.write("\t\t\t\t\t<td width=\"200\" align=\"center\"> \r\n");
      out.write("                    <font   color=\"#000000\">");
out.print(location);
      out.write(" </font></td>\r\n");
      out.write("                    <td width=\"150\" align=\"center\">\r\n");
      out.write("                    <font color=\"#000000\"> ");
out.print(tname);
      out.write(" </font></td> \r\n");
      out.write("                    <td width=\"80\" align=\"center\">\r\n");
      out.write("                    <font color=\"#000080\"> \r\n");
      out.write("                    <a href=\"~OrgPersonDelete.jsp?did=");
out.print(did);
      out.write("&tid=");
out.print(tid);
      out.write("\"> 删除 </font> </td>\r\n");
      out.write("          \t \t</tr>\r\n");
      out.write("          \t \t");

         		}
          	 
      out.write("\r\n");
      out.write("    \r\n");
      out.write("          </table>\r\n");
      out.write("          &nbsp;            \r\n");
      out.write("       \r\n");
      out.write("        </td>\r\n");
      out.write("        </tr>\r\n");
      out.write("    </table>\r\n");
      out.write("    \r\n");
      out.write("  \r\n");
      out.write("\t<!-- include  common bottom.htm -->\r\n");
      out.write("    ");
      org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "bottom.htm", out, false);
      out.write("\r\n");
      out.write("  </center></div>\r\n");
      out.write("</body>\r\n");
      out.write("</html>\r\n");
    } catch (Throwable t) {
      if (!(t instanceof SkipPageException)){
        out = _jspx_out;
        if (out != null && out.getBufferSize() != 0)
          out.clearBuffer();
        if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
      }
    } finally {
      if (_jspxFactory != null) _jspxFactory.releasePageContext(_jspx_page_context);
    }
  }
}

⌨️ 快捷键说明

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