org.springframework.web.servlet.support
Class JstlUtils

java.lang.Object
  extended byorg.springframework.web.servlet.support.JstlUtils

public abstract class JstlUtils
extends java.lang.Object

Helper class for preparing JSTL views.

Since:
20.08.2003
Author:
Juergen Hoeller

Field Summary
static java.lang.String REQUEST_SCOPE_SUFFIX
           
 
Constructor Summary
JstlUtils()
           
 
Method Summary
static void exposeLocalizationContext(javax.servlet.http.HttpServletRequest request, MessageSource messageSource)
          Exposes JSTL-specific request attributes specifying locale and resource bundle for JSTL's formatting and message tags, using Spring's locale and message source.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REQUEST_SCOPE_SUFFIX

public static final java.lang.String REQUEST_SCOPE_SUFFIX
See Also:
Constant Field Values
Constructor Detail

JstlUtils

public JstlUtils()
Method Detail

exposeLocalizationContext

public static void exposeLocalizationContext(javax.servlet.http.HttpServletRequest request,
                                             MessageSource messageSource)
                                      throws javax.servlet.ServletException
Exposes JSTL-specific request attributes specifying locale and resource bundle for JSTL's formatting and message tags, using Spring's locale and message source.

Parameters:
request - current HTTP request
messageSource - the MessageSource to expose, typically the current application context
Throws:
javax.servlet.ServletException


Copyright (C) 2003-2004 The Spring Framework Project.