RequestContextUtils.getLocale(request) vs LocaleContextHolder.getLocale() which one I should use in Spring MVC application?
Is there have some principle of the selection between RequestContextUtils.getLocale(request) and LocaleContextHolder.getLocale()? Now, I don't know how to choose them, which one I should use in Spring MVC application?
Aucun commentaire:
Enregistrer un commentaire