title: LocaleChangeInterceptor not working
body: <p>I'm trying to have my web application multilingual, so I added LocaleChangeInterceptor to my servlet.xml. Here is the relevant code:</p>
  
  <pre><code>&lt;bean id="messageSource" class="org.springframework.context.support.ResourceBundleMessageSource"&gt;
      &lt;property name="basename" value="mii.root.i18n.mii-messages" /&gt;
  &lt;/bean&gt;
  
  &lt;bean id="localeResolver" class="org.springframework.web.servlet.i18n.SessionLocaleResolver"&gt;
      &lt;property name="defaultLocale" value="en" /&gt;
  &lt;/bean&gt;
  
  &lt;bean id="localeChangeInterceptor"
      class="org.springframework.web.servlet.i18n.LocaleChangeInterceptor"&gt;
      &lt;property name="paramName" value="language" /&gt;
  &lt;/bean&gt;
  
  &lt;bean id="mappingHandler" class="org.springframework.web.servlet.mvc.support.ControllerClassNameHandlerMapping" &gt;
      &lt;property name="interceptors"&gt;
         &lt;list&gt;
          &lt;ref bean="localeChangeInterceptor" /&gt;
         &lt;/list&gt;
      &lt;/property&gt;
  &lt;/bean&gt;
  </code></pre>
  
  <p>And I have links like this:</p>
  
  <pre><code>&lt;a href="?language=fr"&gt;
  &lt;a href="?language=hr"&gt;
  &lt;a href="?language=de"&gt;
  </code></pre>
  
  <p>MessageSource works fine, if I change defaultLocale in localeResolverBean the language changes. But when i click on links there is no change in locale.
  I'm using springframework 2.5.6. 
  I really don't know what I did wrong, I went through a lot of tutorials and examples, there are no errors logged and the most bizarre thing is that it had been working like a charm for a few weeks since i configured it for the fist time and a week ago it suddenly stoped.</p>