adplus-dvertising
frame-decoration

Question

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

a.

True

b.

False

c.

May be

d.

Can't say

Posted under Java Spring Framework

Answer: (b).False

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

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

Similar Questions

Discover Related MCQs

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.

Q. Interface used to resolve text messages.

Q. Tag used by view to resolve text messages.

Q. The ResourceBundleMessageSource implementation resolves messages for different locales.

Q. cookieName is used by localeResolver to customize the cookie used.

Q. The cookieMaxAge value when browser is closed.

Q. Interface for Dispatcher Servlet to auto detect view resolver beans.

Q. ViewResolver which maps each view name tol an application’s directory.