adplus-dvertising
frame-decoration

Question

Annotation for Controller Class.

a.

@Before

b.

@Controller

c.

@After

d.

@Exception

Answer: (b).@Controller

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Annotation for Controller Class.

Similar Questions

Discover Related MCQs

Q. Handler method annotation.

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.