Right, if my text box is empty, I am getting back 0 allways.
Have u any idea, how to validate empty "long" data type value.

On Dec 11, 2007 12:51 AM, Dave Newton <[EMAIL PROTECTED]> wrote:

> --- Arpan Debroy <[EMAIL PROTECTED]> wrote:
> > So that means there is now way I can check if
> > a text box, which takes the datatype "long", have
> > any null value.
>
> For *null*? A text box in the browser will never* send back a null to the
> server, AFAIK. IIRC in Java converting an empty string into a numeric type
> will result in a 0 appropriate for that data type, not a null.
>
> So AFAIK, no, although there are significantly smarter people than I on
> the
> list that may have the answer to your problem.
>
> d.
>
> * Unless you manipulate the form/submission so the value isn't sent back,
> of course.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Thanks & Regards
 Arpan Debroy

AOL Online India Private Ltd
RMZ EcoSpace Campus 1A
Outer Ring Road, Bellandur,
Bangalore - 560037
India
Mobile No :+9886006306
on-board :+91 (80) 4035 4528
E-mail : [EMAIL PROTECTED]

Reply via email to