adplus-dvertising
frame-decoration

Question

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

a.

HttpServletRequest or HttpServleResponse

b.

@RequestParam

c.

@ModelAttribute

d.

All of the mentioned

Posted under Java Spring Framework

Answer: (d).All of the mentioned

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

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

Similar Questions

Discover Related MCQs

Q. Annotation which represents cookie values of requests.

Q. To add attributes to the model.

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

Q. To notify its completion of session processing.

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

Q. Parameter used to specify a configuration file.

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

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

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

Q. Callback methods provided by HandlerInterceptor to implement.

Q. Interface implemented by locale resolver.

Q. You can define a locale resolver by registering a bean of type LocaleResolver in the web application context.

Q. Default localeResolver used by Spring.

Q. AcceptHeaderLocaleResolver resolves locales by inspecting the accept-language header of an HTTP request.

Q. Alternative way to resolve locales.

Q. Property which indicates how many seconds this cookie should be persisted.

Q. Method used to change user’s locale.

Q. Property of LocaleChangeInterceptor used to customize parameter name.

Q. LocaleChangeInterceptor can only detect the parameter for the handler mappings that enable it.

Q. Parameter which can change user’s locale by any URL.