adplus-dvertising
frame-decoration

Question

Handler method annotation.

a.

@Before

b.

@Controller

c.

@After

d.

@RequestMapping

Posted under Java Spring Framework

Answer: (d).@RequestMapping

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Handler method annotation.

Similar Questions

Discover Related MCQs

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

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.