What do you want to do whith your "city" ? You can do :

<bean:xxxx name="UserVO" property="adress.city">

Nico.


> Ok,
>
> Imagine I have an object "User" (package test.UserVO) which contains
another
> object "Address" (package test.AddressVO)which has a String property
"city".
> "User" and "Address" are both java beans.  "User" has been placed in
session
> scope as "UserVO".
>
> How would I access the property "city"?  I noticed that the
bean:define tag
> has a copy feature which will copy a bean to a different scope.
Could this
> feature be used here?  Could you copy the nested "Address" bean into
the
> page scope?
>
> Joshua
>
>
> This communication, including attachments, is for the exclusive use
of
> addressee and may contain proprietary, confidential or privileged
> information. If you are not the intended recipient, any use,
copying,
> disclosure, dissemination or distribution is strictly prohibited. If
> you are not the intended recipient, please notify the sender
> immediately by return email and delete this communication and
destroy all copies.
>
>
> --------------------------------------------------------------------
-
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to