I am using struts 2.0 in a project.I am having a form which takes user information. The condition is user can add details of n number of users and when he press submit button we need to take data of all the user and store it in database. I have created a pojo and for every user details I am creating a object and trying to store it in a array. But everytime I call the class the object is getting reinitialised. How can I persist the array without making it static. Thanks in advance.