Need help.I have a hash map which is returned from a spring controller to JSP.Is there a way just to check if a certain key exists irrespective of any value(the value may be null too)
Say, the below hash map is being sent from the controller
HashMap hmap = new HashMap();
hmap.put("COUNTRY", "X");
hmap.put("REGION", null);
If the key REGION exists ( value may be anything including null) then display some section in the jsp.
I am trying to access the key as ${hmap['REGION']}
Thanks in advance.