This tag copies the specified property value from the source bean to the target bean.
Empty
If the name attribute is not specified then uses a parent bean tag to locate the bean on which to operate.
This tag has the following attributes for which the Required value is “Yes” and “No”:
Name of the bean to use.
Name of the bean to copy from.
Name of the bean property to copy.
None.
<%-- copy 'time' property from d1 to d2 --%> <util:bean name="d1" type="java.util.Date"/> ... <util:bean name="d2" type="java.util.Date"/> ... <util:copy name="d2" property="time" source="d1"/>