Please help me in this requirement which helps me alot.
I have a Map<String,String> which is populated in the jsp as below:
First of all, a minor quibble: I would use var="template" for the item in the forEach iteration.
If you do a "view source" on your HTML, you'll probably see that what is sent to the browser looks like
If instead you had a Map<String,List<String>> you'd probably see something more like
Whatever you say buddy! And I believe this tiny ad too: