I have created a working java-bean and put it inside a map that i stored into an attribute of the session
Bean bean = new Bean(LocalDate.now(), "super event", 1000);
request.getSession().setAttribute("userMap"
            , new HashMap<String, Bean>().put("bean", bean));
Then from jsp file i try to retrieve it like this ${userMap[bean].date } or like this ${userMap[0].date } but it doesn't work.
 
    