String groupcd = (String) session.getAttribute("group_cd");
// getValue方法已经不推荐使用了,getAttribute返回的是Object, 必须强制转化为一个类, char不是类2 因为你的groupcd 是字符串的,所以
public Vector getMgd(String groupcd) throws RemoteException3 没有问题,你写的很正确。