title: Spring: Setting up locale
body: <p>I've setup Spring as specified in the following guide: <a href="http://www.springbyexample.org/examples/basic-webapp-internationalization-spring-config.html" rel="noreferrer">http://www.springbyexample.org/examples/basic-webapp-internationalization-spring-config.html</a></p>
  
  <p>If I was to append ?locale=fr, for example, to the end of an URL the locale will change to French.</p>
  
  <p>However, in my case, I want to set the locale when the user logs in as this information is associated with their profile. I've tried to use localeResolver.setLocale(request, response, new Locale("fr")) (where localeResolver is an instance of SessionLocaleResolver) to specify the locale however this doesn't have any effect.</p>
  
  <p>Any idea what I'm doing wrong? Am I approaching this issue in the correct way?</p>