Originally posted by Dileep Kamath:
You could have both the personal details bean and the employment details bean as fields in an employee action form and then access them.
If you want to populate the name field of the personal details bean then it can be done by:
Your employee action form will have a getter and setter for the personalDetails bean similar to any other field in the action form.
I have no clue as to how hibernate and struts work together but I think the above approach should suit your requirement.