JSTL Access Integer/Long key in Hash Map
问题 I am facing some problem in using EL in JSTL and not able to access Java Hash Map as I would like. I am aware that in EL the key, if Integer gets accessed as Long. I have following hash map definition that I am trying to access in JSTL - Map<Long, Object> testMap = new HashMap<Long, Object>(); In JSP page, I need to check if the map contains a specific key or not. I attempt to do that by checking if not empty as following - <c:if test='${ ! empty testMap[currObj.currVal]}'> I also access the