Interface for web-based locale resolution strategies that allows for
both locale resolution via the request and locale modification via
request and response.
This interface allows for implementations based on request, session,
cookies, etc. The default implementation is AcceptHeaderLocaleResolver,
simply using the request's locale provided by the respective HTTP header.
Use RequestContext.getLocale() to retrieve the current locale
in controllers or views, independent of the actual resolution strategy.
author: Juergen Hoeller since: 27.02.2003 See Also: org.springframework.web.servlet.i18n.AcceptHeaderLocaleResolver See Also: org.springframework.web.servlet.support.RequestContext.getLocale |