Struts' OGNL framework does this automatically. For further explanation, I would recommend contacting the Struts user mailing list or reading its documentation.
Matt On Mon, Sep 14, 2009 at 7:00 AM, measwel <marek_karczew...@yahoo.com.au>wrote: > > Please correct me if I'm wrong; it seems that the mapping of request input > parameters to the object parameters is specified by the key name of the > input field. For instance in: > > <s:textfield key="user.address.street" theme="xhtml" cssClass="text large" > labelposition="bottom"/> > > The input from the textfield is mapped to User.Address.street > because key="user.address.street" > > Furthermore the address object seems to get instantiated automatically. Is > spring doing this? > > I would appreciate a clarification as I am trying to learn how the > framework > operates. > > -- > View this message in context: > http://www.nabble.com/request-to-object-parameter-mapping-tp25435368s2369p25435368.html > Sent from the AppFuse - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net > For additional commands, e-mail: users-h...@appfuse.dev.java.net > >