什么意思?
是获得hashtable存储的value吧get()方法就可以了

解决方案 »

  1.   

    DepartmentJB aj = (DepartmentJB)session.getAttribute("department");
        Hashtable ht = aj.getAuthoritys();
        Collection col = ht.values();
        Iterator iter = col.iterator();
        com.eks.EKSHash eh = ((com.eks.EKSHash)iter.next());
        out.print(eh.getValue()+"<br>");
        out.print(eh.getKey()+"<br>");
      如上,我如何才能获得iter当前的对象而不是next啊!》?
      

  2.   

    第一次调用next就得到了第一个对象了,第二次调用就得到第二个,不就是当前嘛