| Author |
How to validate float numbers in struts2
|
Sathi Krishna
Ranch Hand
Joined: Oct 21, 2007
Posts: 51
|
|
|
How to validate float numbers in struts2 ???
|
 |
Ankit Garg
Saloon Keeper
Joined: Aug 03, 2008
Posts: 9189
|
|
|
You should use the double validator. 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 | SCWCD Links
|
 |
 |
|
|
subject: How to validate float numbers in struts2
|
|
|