Below is the code that I am working on. I want to loop through the values of the hashmap "a" . If the value of map "a" matches the value of map "a1". I want to print the corresponding key "hello" in hashmap a1.
But this is the error that I get
What do I do in order to rectify the exception. And how do I get the "hello" displayed in the jsp page?