<%@ page language="java" contentType="text/html; charset=EUC-KR"
pageEncoding="EUC-KR" import="java.util.*"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "
http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=EUC-KR">
<title>랭킹보기</title>
</head>
<body>
<%
HashMap<String, String> hm = new HashMap<String, String>();
String name = (String)session.getAttribute("username");
String cnt = (String)session.getAttribute("count");
hm.put(name, cnt);
System.out.println(hm.get("ww"));
%>
<form name="form" method="post" action="3login.jsp">
<input type = "submit" value="로그아웃"/>
</form>
<form name="form" method="post" action="3menu.jsp">
<input type = "submit" value="확인"/>
</form>
</body>
</html>
세션의 속성을 해쉬맵에 넣고 싶은데 런하면 바로 오류가뜨네요..ㅠㅠ
어떻게 써야할까요?? 본삭금했습니다..!!