copy |
|||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Description |
This tag copies the specified property value from the source bean to the target bean. | ||||||||||||
Tag Body |
Empty | ||||||||||||
Restrictions |
If the name attribute is not specified then uses a parent
bean tag to locate the bean on which to operate. |
||||||||||||
Attributes |
This tag has the following attributes:
|
||||||||||||
Properties |
None. |
||||||||||||
Example(s) |
<%-- 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"/> |