If it is the later time, just get the userList as the try scope varible, and do nothing? So I suppose it as below.
if (userList==null) { userList = new HashSet(); } userList.add(username); pojoCache.put("chatroom", "userList", userList); View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023157#4023157 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023157 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user