jsp - JSTL : HashMap vs List functionality -


it easy create hashmap in jsp using <jsp:usebean> , use it

<jsp:usebean id="abc" class="java.util.hashmap">     <c:set target="${abc}" property="position" value="triggerbottom"/> </jsp:usebean> 

on other hand, when comes arraylist, not easy. have seen posts solink1 , solink2 people using scriplet bring problem of using pagecontext attributes.

i not able digest haspmap easy use in jstl arraylist not. missing something? there easy way of creating arraylist in jsp, without using scriplet, , use el populate (as can in hashmap).

i using servlet-3.0 , jsp-2.2.


Comments

Popular posts from this blog

angular - DownloadURL return null in below code -

meteor - inserting data to database gives error "insert failed: Method '/texts/insert' not found" -