If we want to retain some attribute values across multiple pages which is a better approach -
1. Declare the required formbean attributes as static. 2. Put the formbean into session scope.
I have a list of records showing on Page1, when user clicks on any record, a few parameters are passed to targetted action class. I do not want those parameters to be displayed in URL query string. Also I feel its not a good practice to keep entire record list in session.
Please suggest.. Will it help to keep the records as static arraylist in formbean.