the problem is that the string is NOT empty but it validate it as an
empty string.

> -----Original Message-----
> From: John Fitzpatrick [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, March 03, 2004 6:51 PM
> To: Struts Users Mailing List
> Subject: Re: validating double causes no error on text entry
> 
> 
> "Casting" an empty String to a double will give you 0.0.
> 
> 
> On 20040303 12:10 PM, "thomas Sontheimer" <[EMAIL PROTECTED]>
> wrote:
> 
> > when I use the validator on the server side to validate a 
> double the 
> > value is converted to 0.0 an no error is reported. has anyone meet 
> > that problem? I parsed the struts and commons bugzilla lists and 
> > didn't found anything about.
> > 
> > thanks
> > 
> > thomas
> > 
> > 
> > 
> ---------------------------------------------------------------------
> > 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]
> 


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

Reply via email to