you have given what you have done but what you are asking for is not quit clear,
because you said
I can update it, but at the time of registering new user,
The page does not have Arraylist object so it skips the for loop and my page could not get displayed,
i dont understant what will be the need of any arraylist object while registering the new employee, you will be filling the form and the appropriate controller with which have mapped will be able to get the form field through the HttpServletRequest object, and you can go on.
and more over you have not specified whether you are using any DB to persist the data, because once if it is with the DB you can make use of the ORM tool to make a dao call to display you required information on the UI layer