}else{
groupRight+=","+groupRightArray[i];
}
}
//System.out.println(groupName+"|"+groupRight);
flag=new TbUserGroupDAO().add(new TblUserGroup(groupName,groupRight));
}
if ("edit".equals(method)) {
int groupId=Integer.parseInt(request.getParameter("groupid"));
String groupName=request.getParameter("groupname");