InterviewSolution
Saved Bookmarks
| 1. |
What is the purpose of DoubleRangeFieldValidator annotation? |
|
Answer» This validation annotation checks that a double field has a value within a specified range. If neither min nor max is set, nothing will be done. public class Employee extends ActionSupport{ DoubleRangeFieldValidator(message = "Default message", key = "i18n.key", shortCircuit = true, minInclusive = "0.123", maxInclusive = "99.987") public String getIncome() { return income; }}
|
|