org.springframework.web.servlet.support
Class JstlUtils.SpringLocalizationContext
java.lang.Object
javax.servlet.jsp.jstl.fmt.LocalizationContext
org.springframework.web.servlet.support.JstlUtils.SpringLocalizationContext
- Enclosing class:
- JstlUtils
private static class JstlUtils.SpringLocalizationContext
- extends javax.servlet.jsp.jstl.fmt.LocalizationContext
Spring-specific LocalizationContext adapter that merges session-scoped
JSTL LocalizationContext/Locale attributes with the local Spring request context.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
messageSource
private final MessageSource messageSource
request
private final javax.servlet.http.HttpServletRequest request
JstlUtils.SpringLocalizationContext
public JstlUtils.SpringLocalizationContext(MessageSource messageSource,
javax.servlet.http.HttpServletRequest request)
getResourceBundle
public java.util.ResourceBundle getResourceBundle()
- Overrides:
getResourceBundle
in class javax.servlet.jsp.jstl.fmt.LocalizationContext
getLocale
public java.util.Locale getLocale()
- Overrides:
getLocale
in class javax.servlet.jsp.jstl.fmt.LocalizationContext