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
Access all questions and much more by creating a free account
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
Already have an account?
Similar Resources on Wayground
15 questions
Internet Safety Quiz
Quiz
•
9th - 12th Grade
15 questions
Q1 W1 M1 PRE-TEST
Quiz
•
10th Grade
11 questions
Creative iMedia: Strengths, Weaknesses and Improvements
Quiz
•
10th Grade
10 questions
R082 Book Cover Assets planning
Quiz
•
7th - 12th Grade
10 questions
python
Quiz
•
10th Grade
10 questions
Information processing cycle
Quiz
•
10th Grade
10 questions
Latency and Bandwidth
Quiz
•
10th - 11th Grade
10 questions
Asesmen Diagnostik Informatika XI
Quiz
•
10th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
