What's the best approach to persist form data using Struts 2?
问题 I am developing an application using Struts 2 and Hibernate. On a JSP page I have one form in which all CRUD operations I am performing. I want my Form data to be persisted, which is temporarily entered in the form fields. One approach which I tried is to bind all the data into an Object and store that object in a session or cache but I know there is some limitation of storing data like this. My form is having the functionality to add n number of rows which means I have to store large amount