I have added below lines, it is working in
jsp but not in getText() used in action method.
Locale locale = new Locale(userLocale);
ActionContext.getContext().setLocale(locale);
ActionContext.getContext().getSession().put(I18nInterceptor.DEFAULT_SESSION_ATTRIBUTE, locale);