I\'m looking to set the key value pairing of a HashMap using JSTL only. Is this possible?
I know how to retrieve the key value pairs, but I haven\'t found a way to s
I wouldn't use JSTL to do that, but straight-up JSP will get it done...
<% myHashMap.put("hello", "world"); %>
You can use the <c:set>.
<c:set target="${myHashMap}" property="key" value="value"/>