I have a user registration requirement and the registration itself consists of 6 pages. what is the best way to do this?
can i store all the data in a bean and store that bean in the session because i can have the property names in the bean same as that of the input fields in the
java servlet page and have java servlet page standard action store that data automatically in the bean and then store that data in the database after the 6th page.
One of my friend has done in a way that after the user enters his details in each page and goes to the next, the previous page data gets stored in the database. like hitting the database min 6 times to complete the registration. if the user uses back button to make some changes, again the database is hit which i feel takes much resource.
please suggest me the best option and how about the option i suggested?