1600 PMP mock questions 1400 CAPM mock questions 800 SCJP 6 mock questions 600 OCAJP 7 mock questions 590 OCPJP 7 mock questions 556 SCWCD 5 mock questions 500 OCEJWCD 6 mock questions pdfDownload (java,struts, hibernet etc)
Java online test
JSP online test
ORACLE online test
Hibernate online test
Servlet online test
Struts online test
EJB online test
C online test
C++ online test
Aptitude online test

What are Validators? and What are Basic Validators provided by the framework ?

Validator is a Java class that, when called by the Validator framework, executes a validation rule. The framework knows how to invoke a Validator class based on its method signature, as defined in a configuration file.

1) byte,short,integer,long,float,double

2) creditCard - Checks if the field is a valid credit card number.
3) date - Checks if the field is a valid date.
4) email - Checks if the field is a valid email address.
4) mask - Succeeds if the field matches the corresponding regular expression mask.
5) maxLength - Checks if the value's length is less than or equal to the given maximum length.
6) minLength - Checks if the value's length is greater than or equal to the given minimum length.
7) range - Checks if the value is within a minimum and maximum range.
8) required - Checks if the field isn't null and length of the field is greater than zero, not including whitespace.

Online Practice Test

Java online test
JSP online test
ORACLE online test
Hibernate online test
Servlet online test
Struts online test
EJB online test
C online test
C++ online test
Aptitude online test

Reviews and Comments


PMP, CAPM, PMI is a registered certification mark of the Project Management Institute, Inc

Copyright © www.techfaq360.com 2016


About US | Contact US | Privacy Policy | Terms and Conditions  | Website disclaimer  | Cancellation and Refund Policy  | Shipping & Delivery Policy