Hi,
I have a HashMap , say mapCat which has foll 2 entries:-
(11, Computer)
(22,Maths)
where 11 and 22 are the keys and Computer , Maths their respective values.
I added an attribute in the request scope for this map --
request.setAttribute("Categories" , mapCat);
In my
JSP I want to display only the values present in mapCat using forEach so I wrote
this code -
But the above code displays bothe the key and the values :
11=Computer
22=Maths
I WANT TO DISPLAY ONLY THE VALUES . HOW TO DO IT ?