Explore topic-wise MCQs in Spring.

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

1.

Variable to trigger the flow execution.a) ${flowExecutionUrl}b) ${exec.flow}c) ${flowExecutionUrl.match}d) none of the mentioned 12.Servers which listen on port 8080.

A. ${flowExecutionUrl}b) ${exec.flow}c) ${flowExecutionUrl.match}d) none of the mentioned 12.Servers which listen on port 8080.a) Apache Tomcat 6.0
B. ${exec.flow}c) ${flowExecutionUrl.match}d) none of the mentioned 12.Servers which listen on port 8080.a) Apache Tomcat 6.0b) Jetty
C. ${flowExecutionUrl.match}d) none of the mentioned 12.Servers which listen on port 8080.a) Apache Tomcat 6.0b) Jettyc) None of the mentioned
D. none of the mentioned 12.Servers which listen on port 8080.a) Apache Tomcat 6.0b) Jettyc) None of the mentionedd) All of the mentionedView Answer
Answer» B. ${exec.flow}c) ${flowExecutionUrl.match}d) none of the mentioned 12.Servers which listen on port 8080.a) Apache Tomcat 6.0b) Jetty
2.

Element to trigger an action for view module.

A. on-render
B. on-action
C. on-trigger
D. none of the mentioned
Answer» B. on-action
3.

XML Based flow definitions can be validated by:-

A. Spring Web Flow XSD
B. Spring IDE
C. SpringSource Tool Suite
D. All of the mentioned
Answer» E.
4.

ELEMENT_TO_TRIGGER_AN_ACTION_FOR_VIEW_MODULE.?$

A. on-render
B. on-action
C. on-trigger
D. none of the mentioned
Answer» B. on-action
5.

Servers which listen on port 8080.$

A. Apache Tomcat 6.0
B. Jetty
C. None of the mentioned
D. All of the mentioned
Answer» E.
6.

Variable to trigger the flow execution.$

A. ${flowExecutionUrl}
B. ${exec.flow}
C. ${flowExecutionUrl.match}
D. none of the mentioned
Answer» B. ${exec.flow}
7.

Property for action to instantiate form objects.

A. formObjectClass
B. formClass
C. objectClass
D. none of the mentioned
Answer» B. formClass
8.

Class which assist Spring Web flow in handling form.

A. Form
B. FormAction
C. FormHandler
D. Form-Handler
Answer» C. FormHandler
9.

Interface which is used to persist instances sessions.

A. serializable
B. file.io
C. io.file.*
D. none of the mentioned
Answer» B. file.io
10.

XML Based flow definitions can be validated by:?

A. Spring Web Flow XSD
B. Spring IDE
C. SpringSource Tool Suite
D. All of the mentioned
Answer» E.
11.

To create URL path mappings from the ids of registered flow definitions.

A. FlowHandlerMapping
B. FlowHandler
C. FlowHandlerMappingRequest
D. None of the mentioned
Answer» B. FlowHandler
12.

Spring Web flow can enable both Unified EL and Object-Graph Navigation Language (OGNL).

A. True
B. False
Answer» C.
13.

Spring Web flow supports.

A. Unified EL
B. Object-Graph Navigation Language (OGNL)
C. All of the mentioned
D. None of the mentioned
Answer» D. None of the mentioned
14.

Required dependencies to manage web UI flows.

A. spring web flow distribution.
B. org.springframework.webflow
C. all of the mentioned
D. none of the mentioned
Answer» C. all of the mentioned
15.

Once a state has completed its tasks, it fires an event.

A. True
B. False
Answer» B. False
16.

Stated related to Spring Web flows.

A. view
B. action
C. decision
D. all of the mentioned
Answer» E.
17.

Spring manages UI as flows.

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

Spring supports web flows by:-

A. Java
B. XML
C. All of the mentioned
D. None of the mentioned
Answer» D. None of the mentioned