code: protected void resolveLocale(String language, HttpServletRequest request, HttpServletResponse response){
  		final LocaleEditor localeEditor = new LocaleEditor();
          localeEditor.setAsText(language);
          resolveLocale((Locale) localeEditor.getValue(), request, response);
  	}
docs: manually resolve of locale ... to request. useful for path variables
  
  @param language locale representation as string
  @param request
  @param response