Spring MVC
Quiz
•
Computers
•
10th Grade
•
Practice Problem
•
Medium
Alexis Gonzales
Used 86+ times
FREE Resource
Enhance your content in a minute
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
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
@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

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
15 questions
# REVIEW 1 DATA TYPES
Quiz
•
10th Grade
11 questions
Threats to Data
Quiz
•
9th - 12th Grade
10 questions
Basic Parts of Speech EPS
Quiz
•
9th - 10th Grade
10 questions
Understanding Backend
Quiz
•
10th Grade
15 questions
Quiz 1
Quiz
•
1st - 12th Grade
15 questions
Data Security Worksheet
Quiz
•
10th Grade - University
13 questions
Guess the Retro Computer 1
Quiz
•
KG - Professional Dev...
10 questions
Programming Constructs
Quiz
•
5th - 11th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
