It is very easy to create HashMap in jsp using <jsp:useBean>
and use it
<jsp:useBean id="abc" class="java.util.HashMap">
<c:set target="${abc}" property="position" value="triggerBottom"/>
</jsp:useBean>
On other hand, when it comes to ArrayList, it is not that easy. I have seen posts like SOlink1 and SOlink2 where people are using scriplet which bring another problem of using PageContext to get attributes.
I am not able to digest it that HaspMap is so easy to use in jstl but Arraylist is not. Am I missing something? Is there any easy way of creating Arraylist in jsp, without using scriplet, and use el to populate it (as we can do in hashmap).
I am using servlet-3.0 and JSP-2.2.