Setting default locale

If you want to set default locale for application, add this definition of LocaleResolver to spring context configuration:

  1.  
  2. localeResolver(SessionLocaleResolver) {
  3. defaultLocale = new Locale('pl')
  4. Locale.setDefault (defaultLocale)
  5. }
  6.  

Powered by WordPress with GimpStyle Theme design by Horacio Bella.
Entries and comments feeds. Valid XHTML and CSS.