Explore topic-wise MCQs in Spring.

This section includes 19 Mcqs, each offering curated multiple-choice questions to sharpen your Spring knowledge and support exam preparation. Choose a topic below to get started.

1.

To use Spring Faces Components, we register which of the following?

A. Servlet API
B. ResourceServlet
C. All of the mentioned
D. None of the mentioned
Answer» C. All of the mentioned
2.

For cross field validation or some sort of barrier to ensure state before you start a flow, we use.

A. FacesContext
B. FaceletContext
C. FacesResolver
D. All of the mentioned
Answer» B. FaceletContext
3.

Navigation in traditional JSF applications is handled by:-

A. linking directly linking to a resource
B. commandLink
C. invoking an action
D. all of the mentioned
Answer» E.
4.

File extension of a view state’s name which is by default loaded by facelet page.

A. .xml
B. .hbm.xml
C. .xhtml
D. none of the mentioned
Answer» D. none of the mentioned
5.

NAVIGATION_IN_TRADITIONAL_JSF_APPLICATIONS_IS_HANDLED_BY:-?$

A. linking directly linking to a resource
B. commandLink
C. invoking an action
D. all of the mentioned
Answer» E.
6.

To use Spring Faces Components, we register which of the following?$

A. Servlet API
B. ResourceServlet
C. All of the mentioned
D. None of the mentioned
Answer» C. All of the mentioned
7.

For_cross_field_validation_or_some_sort_of_barrier_to_ensure_state_before_you_start_a_flow,_we_use.$

A. FacesContext
B. FaceletContext
C. FacesResolver
D. All of the mentioned
Answer» B. FaceletContext
8.

Libraries provided by RichFaces an integration support for Spring web flow.

A. RichFaces
B. Slf-4j
C. Log-4j
D. All of the mentioned
Answer» B. Slf-4j
9.

Component which encloses command button.

A. validateAll
B. validateAllClick
C. validateAllInClick
D. validateAllOnClick
Answer» D. validateAllOnClick
10.

Component which additionally provides a pop-up date picker control for its enclosed input field.

A. clientDateValidator
B. clientValidator
C. dateValidator
D. validator
Answer» B. clientValidator
11.

Resources retrieved by Spring Faces Component.

A. JavaScript
B. CSS
C. All of the mentioned
D. None of the mentioned
Answer» D. None of the mentioned
12.

File extension of a view state’s name which is by default loaded by facelet page?#

A. .xml
B. .hbm.xml
C. .xhtml
D. none of the mentioned
Answer» D. none of the mentioned
13.

To resolve Facelets views we configure:-

A. ViewFacelets
B. ViewResolver
C. View-resolver
D. View_Resolver
Answer» C. View-resolver
14.

JSF view handler to enable Facelets and a SpringBeanFacesELResolver to access Spring beans.

A. FaceletViewHandler
B. FaceletView
C. FaceletHandler
D. None of the mentioned
Answer» B. FaceletView
15.

Attribute used to handle web flow requests.

A. servlet-mapping
B. servlet-attr
C. servlet-flow
D. servlet-requests
Answer» B. servlet-attr
16.

To use JSF Validation components provided by spring faces.

A. Faces
B. Spring Javascript
C. Facelets
D. None of the mentioned
Answer» D. None of the mentioned
17.

Spring Faces provides a set of client-side validation components for standard JSF input components.

A. True
B. False
Answer» B. False
18.

Submodules of Spring Web Flow to simplify use of JSF and javascript in Spring.

A. Spring Faces
B. Spring Javascript
C. None of the mentioned
D. All of the mentioned
Answer» E.
19.

View Technologies to render Spring Web MVC view.

A. JSP
B. Tiles
C. All of the mentioned
D. None of the mentioned
Answer» D. None of the mentioned