<body leftmargin= "0" topmargin= "0" > <%@ page contenttype= "text/html; charset=gb2312 "language=" java "import=" java.sql.* "errorpage=" "%>" <%@ page import= "leader.*"%> <% Leaderbean leader=New Leaderbean (); String struserid=request.getparameter ("Key"); Session.setattribute ("Employuserid", strUserID); System.out.println ("strUserID:" +struserid); if (leader. Postedit (Request)) { System.out.println ("Me5"); Out.println ("<script>window.returnvalue=0;window.close ();</script>"); return; } Else { if (Request.getparameter ("Oper")!=null) { if (Request.getparameter ("Oper"). Equals ("Delleader")) { Out.println ("<script>alert" ("+leader"). lastopermsg+ "');window.returnvalue=0;</script>"); Return } if (Request.getparameter ("Oper"). Equals ("Setleader")) { System.out.println ("Me3"); Out.println ("<script>alert" ("+leader"). lastopermsg+ "'); Window.returnvalue=0;window.close ();</script>"); System.out.println ("Me4"); Return } if (Request.getparameter ("Oper"). Equals ("Delcompetence")) { System.out.println ("strUserID:" +struserid); Out.println ("<script>alert" ("+leader"). lastopermsg+ "'); History.back ();</script>"); System.out.println ("Me4"); Return } if (Request.getparameter ("Oper"). Equals ("Addcompetence")) { System.out.println ("AddCompetence1"); Out.println ("<script>alert" ("+leader"). lastopermsg+ "'); History.back ();</script>"); System.out.println ("AddCompetence2"); Return } Else { if (Request.getparameter ("Oper"). Equals ("QX")) { Out.println ("<script>alert" ("+leader"). lastopermsg+ "'); Window.returnvalue=0;window.close ();</script>"); Return } Else { System.out.println ("Me6"); |