MCQOPTIONS
Saved Bookmarks
This section includes 15 Mcqs, each offering curated multiple-choice questions to sharpen your Spring knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
SERVLET_LISTENER_TO_LOAD_THE_ROOT_APPLICATION_CONTEXT_AT_STARTUP.?$ |
| A. | ContextLoader |
| B. | ContextLoaderListener |
| C. | All of the mentioned |
| D. | None of the mentioned |
| Answer» C. All of the mentioned | |
| 2. |
You can chain multiple handler mapping annotations as required to portlet.$ |
| A. | True |
| B. | False |
| Answer» B. False | |
| 3. |
Unlike in a web application, you can’t control URLs directly in a portlet.$# |
| A. | True |
| B. | False |
| Answer» B. False | |
| 4. |
The submission URL of this form should be a portlet action URL that will trigger an action request to the current portlet. |
| A. | True |
| B. | False |
| Answer» B. False | |
| 5. |
When handling an action request, it gets the time zone parameter from the portlet request. |
| A. | True |
| B. | False |
| Answer» B. False | |
| 6. |
When handling a render request, it gets the time zone attribute from the portlet preference. |
| A. | True |
| B. | False |
| Answer» B. False | |
| 7. |
The preceding controller handles portlet requests:- |
| A. | render requests |
| B. | action requests |
| C. | all of the mentioned |
| D. | none of the mentioned |
| Answer» D. none of the mentioned | |
| 8. |
portlet deployment descriptor file is:? |
| A. | portlet.xml |
| B. | portlet.config |
| C. | portlet.xhtml |
| D. | none of the mentioned |
| Answer» B. portlet.config | |
| 9. |
DispatcherPortlet resolves a view name from one or more view resolver beans. |
| A. | True |
| B. | False |
| Answer» B. False | |
| 10. |
After Controller has finished handling a render request, it returns:- |
| A. | model name |
| B. | view name |
| C. | view obect |
| D. | all of the mentioned |
| Answer» E. | |
| 11. |
When a user triggers an action URL in a portlet, the portlet container will first ask the target portlet to handle an action request. |
| A. | True |
| B. | False |
| Answer» B. False | |
| 12. |
When a user triggers a render URL, the portlet container will ask all the portlets in the same page to handle a render request to render its view. |
| A. | True |
| B. | False |
| Answer» B. False | |
| 13. |
In portlets, there are URLs:- |
| A. | render |
| B. | action |
| C. | all of the mentioned |
| D. | none of the mentioned |
| Answer» D. none of the mentioned | |
| 14. |
Maps each request to a handler through one or more handler mapping beans. |
| A. | DispatcherServlet |
| B. | DispatcherPortlet |
| C. | All of the mentioned |
| D. | None of the mentioned |
| Answer» C. All of the mentioned | |
| 15. |
DispatcherServtlet dispatches portlet requests to appropriate handlers that handle the requests. |
| A. | True |
| B. | False |
| Answer» C. | |