The simple way to get an object into a JSP page is to use any of the available scopes (page, request, session, application). The most often used scopes are request and session.
You can use it via the following code snippets.
- request.getAttribute("<NameWithWhichYouBoundTheArrayList>");
How can you set an attribute in the scopes? using the same scope but with the setAttribute() method as follows.
- request.setAttribute("<NameToBindTheArrayList>",arrayListObj);
I believe you are aware of how to deal with (creation and population of) arraylists in the page where you set the attribute in a particular scope!