Spring MVC

Spring MVC

10th Grade

10 Qs

quiz-placeholder

Similar activities

Year 9 Databases Quiz

Year 9 Databases Quiz

7th - 10th Grade

15 Qs

Data validation and verification

Data validation and verification

7th - 11th Grade

10 Qs

GCSE - 2.3 Producing Robust Programs

GCSE - 2.3 Producing Robust Programs

9th - 11th Grade

15 Qs

Chapter 2- OCER Travel

Chapter 2- OCER Travel

10th Grade

12 Qs

G10 REVISION: Ch7 Systems Lifecycle:  Development & Testing

G10 REVISION: Ch7 Systems Lifecycle: Development & Testing

9th - 10th Grade

10 Qs

Microsoft Access

Microsoft Access

10th Grade

10 Qs

Databases

Databases

10th Grade - University

15 Qs

Database

Database

9th Grade - University

11 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?