com.github.dandelion.datatables.jsp.i18n
Class JstlLocaleResolver
java.lang.Object
com.github.dandelion.datatables.jsp.i18n.JstlLocaleResolver
- All Implemented Interfaces:
- LocaleResolver
public class JstlLocaleResolver
- extends Object
- implements LocaleResolver
JSTL implementation of the LocaleResolver.
The locale is retrieved first from the request scope and then from the
session scope.
- Since:
- 0.9.0
- Author:
- Thibault Duchateau
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JstlLocaleResolver
public JstlLocaleResolver()
resolveLocale
public Locale resolveLocale(javax.servlet.http.HttpServletRequest request)
- Specified by:
resolveLocale in interface LocaleResolver
Copyright © 2013. All Rights Reserved.