Aipoのセッションデータを抜き出す


JetspeedRunData jdata = (JetspeedRunData) rundata; HttpSession session = jdata.getSession(); Enumeration e = session.getAttributeNames(); System.out.println("=========================="); while (e.hasMoreElements()) { String key1 = (String) e.nextElement(); System.out.println(key1 + ":" + session.getAttribute(key1)); } Hashtable tempStorage = jdata.getUser().getTempStorage(); Enumeration keys = tempStorage.keys(); while (keys.hasMoreElements()) { String key2 = (String) keys.nextElement(); System.out.println(key2 + ":" + tempStorage.get(key2)); } System.out.println("==========================");