Is this value a long or int, or whatever numeric value,
And u r trying to enter characters in it then validation fails ?

Cuz if so the Struts won't be able to populate the long with the string
value 
U entered and in this case it'll keep it's old numeric value.

In case of validating numeric fields always make them Strings in the
form,
To be able to keep the updated value after the validation fails. 

-----Original Message-----
From: notify@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of prkumar_1234
Sent: Thursday, November 30, 2006 5:46 AM
To: struts-user@jakarta.apache.org
Subject: problem in formbean

I got some problem in struts can you please help me.

1) in jsp iam displaying values from javabean in textboxes.(i can change
these values)
2) when i submit with modified values , iam doing validation in
formbean.
3) When validatio fails i formbean returning to same jsp but it is
displaying old values not modified values

can you give me some hint how to do this.

thank you verymuch


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