Michael Cropper wrote:I can easily store all of the data in a two-dimensional array, although how do I then set all this in Attributes that can be seen for the JSP?
Would is be best to create say 10 arrays/HashMaps that would be set as Attributes for the JSP (row1, row2, row3) with each "row1" then being able to be easily accessed via the JSP?
I could always create an ArrayList of HashMaps - with each Hashmap effectively being the row of data (which can be easily accessed in the JSP) then I can do the "<c:forEach>" on the ArrayList, which would do all of what is required for each row of data.
I could always create an ArrayList of HashMaps - with each Hashmap effectively being the row of data (which can be easily accessed in the JSP) then I can do the "<c:forEach>" on the ArrayList, which would do all of what is required for each row of data.
Now you're thinking!
Hot dog! An advertiser loves us THIS much:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
|