I am writing a web application which grabs XML over HTTP. The way I am approaching it is that
1-I get the XML over HTTP
2-parse the XML and process it
3-put the processed data into an ArrayList (approximately 3000 results per request)
4-Then display the result on JSP like 10 results per page
what happens that step 1->4 repeat every time I move to next 10 results. Is there any way that my JSP simply pulls stuff from the Array List and dont have to do the parsing and prcessing over and over ocz it takes v v long this way . If caching is the answer how do i do it ?