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 T
Why would you need to do this?
Seems like a strange design to me.
Shawn
-Original Message-
From: Sony Thomas [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 31, 2006 9:42 AM
To: user@struts.apache.org
Subject: Need some advice
Hi Friends,
I have an ActionForm and this ActionForm conta
2 matches
Mail list logo