답변 2개
2017-04-25 (화) 16:24:55
이 부분을 참고하세요
혜윰소프트
2017-04-25 (화) 16:16:01
자문자답
예전에 쓰던게 있네요.
한번씩 기억이 안나요 ㅠ.,ㅠ
<%@ page import="java.util.Enumeration" %>
<%
try {
Enumeration se = session.getAttributeNames();
while(se.hasMoreElements()){
String getse = se.nextElement()+"";
out.println(getse+" : "+session.getAttribute(getse) + "<br/>");
}
} catch(Exception e){
out.println(e.toString());
}
%>
답변을 작성하려면 로그인이 필요합니다.