Spring interview questions part 40

Spring interview questions part 40

Take as many assements as you can to improve your validate your skill rating

Total Questions: 20

1. Handler method annotation.

Correct Answer is : @RequestMapping

2. Method arguments that can be used in handler methods using the @RequestMapping annotation.

Correct Answer is : All of the mentioned

3. Annotation which represents cookie values of requests.

Correct Answer is : None of the mentioned

4. To add attributes to the model.

Correct Answer is : All of the mentioned

5. To access the binding and validation result for the command object.

Correct Answer is : All of the mentioned

6. To notify its completion of session processing.

Correct Answer is : SessionStatus

7. Controller Class renders the objects passed by the controller’s handler method.

Correct Answer is : TRUE

8. Parameter used to specify a configuration file.

Correct Answer is : contextConfigLocation

9. The @RequestMapping annotation can be applied to the class level only.

Correct Answer is : FALSE

10. Bean classes pre-registered in the web application context by default.

Correct Answer is : All of the mentioned

11. By default, @RequestMapping gets all the POST Requests.

Correct Answer is : FALSE

12. Callback methods provided by HandlerInterceptor to implement.

Correct Answer is : all of the mentioned

13. DispatcherServtlet dispatches portlet requests to appropriate handlers that handle the requests.

Correct Answer is : FALSE

14. Maps each request to a handler through one or more handler mapping beans.

Correct Answer is : DispatcherPortlet

15. In portlets, there are URLs:-

Correct Answer is : all of the mentioned

16. 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.

Correct Answer is : TRUE

17. When a user triggers an action URL in a portlet, the portlet container will first ask the target portlet to handle an action request.

Correct Answer is : TRUE

18. After Controller has finished handling a render request, it returns:-

Correct Answer is : all of the mentioned

19. DispatcherPortlet resolves a view name from one or more view resolver beans.

Correct Answer is : TRUE

20. portlet deployment descriptor file is:-

Correct Answer is : portlet.xml

Similar Interview Questions

    Search for latest jobs

    Icon
    Icon