posted 20 years ago
Hi guys,
Is it possible to pass an ArrayList from action to action via a session? If so, can somebody tell me how and if possible, post a sample code?
I want to be able to add to this ArrayList everytime I perform a certain action (like adding a new line), and if I click on another button, the ones in the ArrayList will be added to the DB.
Is this a way to get the arrayList (from a different action)? (see below)
session.getAttribute("nameOfArrayList")
Thanks!