Spring MVC

Spring MVC

10th Grade

10 Qs

quiz-placeholder

Similar activities

iGCSE ICT Revision

iGCSE ICT Revision

7th - 10th Grade

14 Qs

WJEC GCSE ICT Unit 3 - Validation and Verification

WJEC GCSE ICT Unit 3 - Validation and Verification

10th - 11th Grade

15 Qs

DATABASE 10

DATABASE 10

10th Grade

15 Qs

Databases - Validating Data

Databases - Validating Data

3rd - 12th Grade

10 Qs

Daily Quiz (24.12.20)

Daily Quiz (24.12.20)

7th Grade - Professional Development

10 Qs

Unit 6:  Quality Control

Unit 6: Quality Control

10th - 12th Grade

15 Qs

Databases

Databases

7th - 10th Grade

14 Qs

Databases

Databases

6th - 10th Grade

12 Qs

Spring MVC

Spring MVC

Assessment

Quiz

Computers

10th Grade

Medium

Created by

Alexis Gonzales

Used 86+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which annotation is used to validate a form object in the controller methods?

@Validate

@Valid

@Validation

All of the above

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which interface contains the results of the validation performed on the form object?

BindingResponse

ValidationResult

BindingResult

ValidationResponse

3.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which form tag is used to display the error message in the jsp when a field fails validation?

form:errors

form:invalid

form:valid

form:input

4.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Media Image

The shown method allows us to validate the form object myForm.

True

False

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which one among these validator annotations is NOT a default or out-of-the-box hibernate?

@Pattern

@Email

@Region

@NotEmpty

6.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

If the user wants a required field that can only accept alphanumeric characters with a fixed length of 10, which of the following will not be of use?

@NotNull

@Pattern

@Size

@Digits

7.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What is the name of the interface implemented by a custom validator class?

Validator

ConstraintValidator

MasterConstraintInterface

CustomValidator

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?