You should name the fields in a way that allows Struts (BeanUtils,
actually) to get to the correct property, such as "address.street".

Also, make sure your accessor for the nested bean always returns a
non-null bean, or else you'll get an NPE when the form is submitted.

Hubert

On 1/31/06, Sony Thomas <[EMAIL PROTECTED]> wrote:
> Hi Friends,
>
> I have an ActionForm and this ActionForm contains another ActionForm
> nested in it. Is there is any way to set values to my nested  ActionForm
> when I submit from the JSP. Please give me some suggestions.
>
> Thanks in advance
>
> Sony Thomas
>
> ---------------------------------------------------------------------
> 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