Enumeration se = session.getAttributeNames();
while(se.hasMoreElements()){
String getse = se.nextElement().toString();
System.out.println("getse:" + getse);
if(getse.equals("tabNum")){
String tabNum = (String)session.getAttribute("tabNum");
if(StringUtils.isNotEmpty(tabNum)){
mav.addObject("tabNum", tabNum);
session.setAttribute("tabNum", 0);
System.out.println("session tabNum : " + session.getAttribute("tabNum"));
}
break;
}
}
댓글 없음:
댓글 쓰기