Hi Søren,

IF you use [extends ActionForm] you can use:

<input type=text name="username" value="<bean:write name="basicForm"
property="username" />"> (in your jsp)

OR:

IF you use [extends ValidatorForm] you can use:

<html:text property="username"/> (in your jsp)
 

Hope that helps
Oliver

-----Ursprüngliche Nachricht-----
Von: Søren Blidorf [mailto:[EMAIL PROTECTED] 
Gesendet: Donnerstag, 15. Januar 2004 11:16
An: [EMAIL PROTECTED]
Betreff: All values null after Validate

Hi.
I am using struts and I am doing a form validate.

When the user types in more than on thing and one of them fails
validation, all the values is returned blank.

Is there anyway to keep the values when validate error?

BR

Soren


---------------------------------------------------------------------
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