Spring MVC

Spring MVC

University

10 Qs

quiz-placeholder

Similar activities

Introduction to Git and Github

Introduction to Git and Github

University

10 Qs

Fun with Paint and Storage

Fun with Paint and Storage

1st Grade - University

10 Qs

CC103_COMPUTER_PROGRAMMING

CC103_COMPUTER_PROGRAMMING

University

15 Qs

Git & GitHub

Git & GitHub

University

10 Qs

IoT 3

IoT 3

University

10 Qs

Week 2 Quiz

Week 2 Quiz

University

11 Qs

Exception handling -oracle plsql

Exception handling -oracle plsql

University

15 Qs

Advanced SQL

Advanced SQL

KG - University

10 Qs

Spring MVC

Spring MVC

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

NOR AZIZAH SA'ADON

Used 7+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Which of the following element defines the base-package where DispatcherServlet will search the controller class?

context:component-scan

mvc:annotation-driven

context:bean-scan

none of these

2.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Which of the following is responsible for mapping the incoming request to the appropriate handler method in Spring MVC?

DispatcherServlet

HandlerMapping

ViewResolver

ModelAndView

3.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

What does DispatcherServlet consult in Spring MVC to map the logical view name to a specific view implementation?

Handler mapping

View resolver

Controller

View

4.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

The logic performed by a controller often produces some information that needs to be carried to the user/browser. This information in Spring MVC is known as _______________ 

Model

View

Controller

All of the above

5.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Where does the incoming request first reach in a Spring MVC application?

Controller

Model Object

View

DispatcherServlet

6.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

What is the annotation used to map a method parameter to a URI template variable?

@PathVariable

@Path

@PathLocale

None of the mentioned

7.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

@RequestMapping annotation is used to map a HTTP request method (GET or POST) to a specific class or method in the controller which will handle the respective request.

True

False

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?