What are the Validator Built-in Rules in Struts ?

  1. required : field data provided
  2. minlength : more than min length
  3. maxlength : less than max length
  4. range : in range of values
  5. mask : correct format (takes regexp)
  6. date : validates correct date format
  7. email : validates correct E-Mail fromat
  8. primitives: byte, integer, float, double, etc.

Enter your email address to get our daily JOBS & INTERVIEW FAQ's Straight to your Inbox.

Make sure to activate your subscription by clicking on the activation link sent to your email