--- xianwinwin <[EMAIL PROTECTED]> wrote:
> 
> say a user inputs a value for a double field (say amount of money); the
> value should be a double (eg, 53.23) 
> 
> Question: if the user enters something like ABCD how can I provide the
> error message? 
> I would like to do that with annotation? (say....you enter an invalid
> value...)
> 
> 
> what type of validation whould that be?!?!?!

Er... a Double validation?

http://struts.apache.org/2.x/docs/doublerangefieldvalidator-annotation.html

Dave



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

Reply via email to