If you want to set in the JSP, you can do as follows:
<html:text property="firstName" value='<%= UserDataBean.getFirstName()
%>'></html:text>
If you are using DynavalidatorForm, you can set the values in the form-beans
properties.
If you want to set the values in the action class, then get the values using
set method of DynaValidatorForm.

Hope this helps.
Croffman



----- Original Message ----- 
From: "Kathy Zhou" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Friday, May 28, 2004 9:30 AM
Subject: RE: Help me, Set data in filed text - reply


> You can prepopulate the data in your ActionForm.
>
> Kathy
>
> > -----Original Message-----
> > From: Teixeira, Jorge (Informaker) [SMTP:[EMAIL PROTECTED]
> > Sent: Friday, May 28, 2004 10:13 AM
> > To: 'Struts Users Mailing List'
> > Subject: Help me, Set data in filed text
> > Importance: High
> >
> > Good morning,
> >
> > I want set the values in on fields <html:text.
> > I want do one page to alter data, but I need first load data in fields
of
> > this page.
> > I have one Action.do and next go to (by forward) one page where show
data
> > to
> > user change.
> >
> > What i must do to do such?
> >
> > tks
> >
> > ---------------------------------------------------------------------
> > 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