A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
How to validate float numbers in struts2
Joined: Oct 21, 2007
Aug 25, 2009 06:03:06
How to validate float numbers in struts2 ???
Joined: Aug 03, 2008
Aug 25, 2009 06:50:45
You should use the
. If you can change your field to double then its ok, otherwise specify a max and min value for the validator so that the value is not out of bounds for your float field...
SCJP 6 | SCWCD 5 |
Javaranch SCJP FAQ
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: How to validate float numbers in struts2
ajax and struts2
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014