numberCheck(ActionErrors p_Errors, String field, String numText, boolean rangeCheck, int min, int max) Helper method to check that it is a required number and
is a valid integer within the given range.
public void
reset(ActionMapping mapping, HttpServletRequest request) Reset all properties to their default values.
validate(ActionMapping mapping, HttpServletRequest request) Validate the properties that have been set from this HTTP request,
and return an ActionErrors object that encapsulates any
validation errors that have been found.
protected void numberCheck(ActionErrors p_Errors, String field, String numText, boolean rangeCheck, int min, int max)(Code)
Helper method to check that it is a required number and
is a valid integer within the given range. (min, max).
Parameters: field - The field name in the form for which this error occured. Parameters: numText - The string representation of the number. Parameters: rangeCheck - Boolean value set to true of reange check should be performed. Parameters: min - The lower limit of the range Parameters: max - The upper limit of the rangeerror.webapp.setting.sessionTimeout.required
Reset all properties to their default values.
Parameters: mapping - The mapping used to select this instance Parameters: request - The servlet request we are processing
Validate the properties that have been set from this HTTP request,
and return an ActionErrors object that encapsulates any
validation errors that have been found. If no errors are found, return
null or an ActionErrors object with no
recorded error messages.
Parameters: mapping - The mapping used to select this instance Parameters: request - The servlet request we are processing List of errors or null