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. |
INTEGRATION_OF_JSF_WITH_SPRING_APPLICATION_CONTEXT.?$ |
| A. | ContextLoaderListener |
| B. | DelegatingVariableResolver |
| C. | SpringBeanFacesELResolver |
| D. | All of the mentioned |
| Answer» E. | |
| 2. |
STRUTS_PLUGIN_USED_TO_INTEGRATE_WITH_SPRING.?$ |
| A. | ContextLoaderListener |
| B. | ContextLoaderPlugin |
| C. | ContextLoaderListenerPlugin |
| D. | None of the mentioned |
| Answer» C. ContextLoaderListenerPlugin | |
| 3. |
Component of JSF, for user’s input in a form.$# |
| A. | h:form |
| B. | h:commandButton |
| C. | h:outputText |
| D. | h:inputText |
| Answer» B. h:commandButton | |
| 4. |
To handle web requests in JSF.$ |
| A. | FacesServlet |
| B. | JavaFacesServlet |
| C. | Faces-Servlet |
| D. | None of the mentioned |
| Answer» B. JavaFacesServlet | |
| 5. |
Tag used to integrate Spring with DWR. |
| A. | dwr:integrate |
| B. | dwr:remote |
| C. | dwr:action |
| D. | none of the mentioned |
| Answer» C. dwr:action | |
| 6. |
Tag which triggers server side requests. |
| A. | h:form |
| B. | h:commandButton |
| C. | h:outputText |
| D. | h:inputText |
| Answer» C. h:outputText | |
| 7. |
Tag used to provide result of web requests and is read only. |
| A. | h:form |
| B. | h:commandButton |
| C. | h:outputText |
| D. | h:inputText |
| Answer» D. h:inputText | |
| 8. |
Struts servlet used to handle web requests? |
| A. | ActionServlet |
| B. | Action |
| C. | ActionSupport |
| D. | ActionStruts |
| Answer» B. Action | |
| 9. |
ActionSupport class provides a method to access spring application context. |
| A. | getWebApplicationContext() |
| B. | getWebApplication() |
| C. | getApplicationContext() |
| D. | contextEventListener() |
| Answer» B. getWebApplication() | |
| 10. |
Attribute used to look up and delegate a particular root bean. |
| A. | filter |
| B. | filter-name |
| C. | filtername |
| D. | none of the mentioned |
| Answer» C. filtername | |
| 11. |
Interface implemented by object instantiated by HttpRequestHandlerServlet. |
| A. | HttpRequestHandlerJNDI |
| B. | HttpRequestHandlerServlet |
| C. | HttpRequestHandler |
| D. | None of the mentioned |
| Answer» D. None of the mentioned | |
| 12. |
In order to leverage Spring application context machinery and configuration. |
| A. | HttpRequestHandlerJNDI |
| B. | HttpRequestHandlerServlet |
| C. | HttpRequestHandler |
| D. | None of the mentioned |
| Answer» C. HttpRequestHandler | |
| 13. |
Class used to have full access to the Spring context’s life cycle machinery and dependency injection.$ |
| A. | DelegatingFilterProxy |
| B. | WebApplicationContextUtils.getRequiredWeb() |
| C. | WebApplicationUtils.getRequiredWebApplicationContext() |
| D. | None of the mentioned |
| Answer» B. WebApplicationContextUtils.getRequiredWeb() | |
| 14. |
Method to retrieve Spring Applicationcontext. |
| A. | WebApplicationContextUtils.getRequiredWebApplicationContext() |
| B. | WebApplicationContextUtils.getRequiredWeb() |
| C. | WebApplicationUtils.getRequiredWebApplicationContext() |
| D. | None of the mentioned |
| Answer» B. WebApplicationContextUtils.getRequiredWeb() | |
| 15. |
Servlet listener which loads application context. |
| A. | Security:intercept-methods |
| B. | global-method-security |
| C. | ContextLoaderListener |
| D. | None of the mentioned |
| Answer» D. None of the mentioned | |