In my scenario, I didn't use any Struts validation frame.

<s:textfield name="field1" />

Here, "field1" is a numeric field in Java bean. If I input a validate numeric, for instance, a random string, there is an error validation message appearing automatially by Struts.

Invalid field value for field "field1"

My question is how I could generate a self-defined string instead of this system validation message.

Thanks.

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar - get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to