<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"); |