よくあるデバッグ方法 セッション・リクエストの内容を確認するHttpSession s = request.getSession();
Enumeration e = s.getAttributeNames();
while (e.hasMoreElements()) {
String key = (String) e.nextElement();
System.out.println(key + " = " + s.getAttribute(key).toString());
}
スポンサーサイト