Save This Page
Home » apache-tomcat-6.0.26-src » javax.servlet.jsp.jstl » core » [javadoc | source]
javax.servlet.jsp.jstl.core
public class: Config [javadoc | source]
java.lang.Object
   javax.servlet.jsp.jstl.core.Config
Class supporting access to configuration settings.
Field Summary
public static final  String FMT_LOCALE    Name of configuration setting for application- (as opposed to browser-) based preferred locale 
public static final  String FMT_FALLBACK_LOCALE    Name of configuration setting for fallback locale 
public static final  String FMT_LOCALIZATION_CONTEXT    Name of configuration setting for i18n localization context 
public static final  String FMT_TIME_ZONE    Name of localization setting for time zone 
public static final  String SQL_DATA_SOURCE    Name of configuration setting for SQL data source 
public static final  String SQL_MAX_ROWS    Name of configuration setting for maximum number of rows to be included in SQL query result 
Method from javax.servlet.jsp.jstl.core.Config Summary:
find,   get,   get,   get,   get,   remove,   remove,   remove,   remove,   set,   set,   set,   set
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.servlet.jsp.jstl.core.Config Detail:
 public static Object find(PageContext pc,
    String name) 
    Finds the value associated with a specific configuration setting identified by its context initialization parameter name.

    For each of the JSP scopes (page, request, session, application), get the value of the configuration variable identified by name using method get(). Return as soon as a non-null value is found. If no value is found, get the value of the context initialization parameter identified by name.

 public static Object get(ServletRequest request,
    String name) 
    Looks up a configuration variable in the "request" scope.

    The lookup of configuration variables is performed as if each scope had its own name space, that is, the same configuration variable name in one scope does not replace one stored in a different scope.

 public static Object get(HttpSession session,
    String name) 
    Looks up a configuration variable in the "session" scope.

    The lookup of configuration variables is performed as if each scope had its own name space, that is, the same configuration variable name in one scope does not replace one stored in a different scope.

 public static Object get(ServletContext context,
    String name) 
    Looks up a configuration variable in the "application" scope.

    The lookup of configuration variables is performed as if each scope had its own name space, that is, the same configuration variable name in one scope does not replace one stored in a different scope.

 public static Object get(PageContext pc,
    String name,
    int scope) 
    Looks up a configuration variable in the given scope.

    The lookup of configuration variables is performed as if each scope had its own name space, that is, the same configuration variable name in one scope does not replace one stored in a different scope.

 public static  void remove(ServletRequest request,
    String name) 
    Removes a configuration variable from the "request" scope.

    Removing a configuration variable is performed as if each scope had its own namespace, that is, the same configuration variable name in one scope does not impact one stored in a different scope.

 public static  void remove(HttpSession session,
    String name) 
    Removes a configuration variable from the "session" scope.

    Removing a configuration variable is performed as if each scope had its own namespace, that is, the same configuration variable name in one scope does not impact one stored in a different scope.

 public static  void remove(ServletContext context,
    String name) 
    Removes a configuration variable from the "application" scope.

    Removing a configuration variable is performed as if each scope had its own namespace, that is, the same configuration variable name in one scope does not impact one stored in a different scope.

 public static  void remove(PageContext pc,
    String name,
    int scope) 
    Removes a configuration variable from the given scope.

    Removing a configuration variable is performed as if each scope had its own namespace, that is, the same configuration variable name in one scope does not impact one stored in a different scope.

 public static  void set(ServletRequest request,
    String name,
    Object value) 
    Sets the value of a configuration variable in the "request" scope.

    Setting the value of a configuration variable is performed as if each scope had its own namespace, that is, the same configuration variable name in one scope does not replace one stored in a different scope.

 public static  void set(HttpSession session,
    String name,
    Object value) 
    Sets the value of a configuration variable in the "session" scope.

    Setting the value of a configuration variable is performed as if each scope had its own namespace, that is, the same configuration variable name in one scope does not replace one stored in a different scope.

 public static  void set(ServletContext context,
    String name,
    Object value) 
    Sets the value of a configuration variable in the "application" scope.

    Setting the value of a configuration variable is performed as if each scope had its own namespace, that is, the same configuration variable name in one scope does not replace one stored in a different scope.

 public static  void set(PageContext pc,
    String name,
    Object value,
    int scope) 
    Sets the value of a configuration variable in the given scope.

    Setting the value of a configuration variable is performed as if each scope had its own namespace, that is, the same configuration variable name in one scope does not replace one stored in a different scope.