struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <newton.d...@yahoo.com>
Subject Re: Struts2 Data Transfer
Date Tue, 07 Oct 2008 17:29:50 GMT
--- On Tue, 10/7/08, aum strut wrote:
> i need to transfer data from the user registration page to
> the java beans to be used for inserting values in the data base.
> i have created two seperate beans for this 1) for storing user
> address field and second is for storing user login information.
> 
> i want that when user cllick on the REgister button these
> two Beans get filled with the respective  values from the UI. 
> i have named the corresponding fields in the beans with respect 
> to the fields name in the UI.

What, precisely, is the issue?

If you have a form containing:

<s:textfield name="bean1.aField"/>
<s:textfield name="bean2.anotherField"/>

each bean will contain whatever was entered in the form.

Dave


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message