My ejb query returns a SUM value. and i am calling the query in a loop (say 5 times). Assume the first time it reutrns 5, second time 10, third time 15, fourth time 20 and fifth time 25.
I want to store this every value in collection (or view object or whatever) and display that "every" value in my struts-JSP.
What is the best scenario? collection or viewobject or what type to return? How i can display them in my JSP?