📄 config.html
字号:
<TD><CODE><B><A HREF="../../../../../javax/servlet/jsp/jstl/core/Config.html#remove(javax.servlet.ServletContext, java.lang.String)">remove</A></B>(javax.servlet.ServletContext context, java.lang.String name)</CODE><BR> Removes a configuration variable from the "application" scope.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../javax/servlet/jsp/jstl/core/Config.html#remove(javax.servlet.ServletRequest, java.lang.String)">remove</A></B>(javax.servlet.ServletRequest request, java.lang.String name)</CODE><BR> Removes a configuration variable from the "request" scope.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../javax/servlet/jsp/jstl/core/Config.html#set(javax.servlet.http.HttpSession, java.lang.String, java.lang.Object)">set</A></B>(javax.servlet.http.HttpSession session, java.lang.String name, java.lang.Object value)</CODE><BR> Sets the value of a configuration variable in the "session" scope.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../javax/servlet/jsp/jstl/core/Config.html#set(javax.servlet.jsp.PageContext, java.lang.String, java.lang.Object, int)">set</A></B>(javax.servlet.jsp.PageContext pc, java.lang.String name, java.lang.Object value, int scope)</CODE><BR> Sets the value of a configuration variable in the given scope.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../javax/servlet/jsp/jstl/core/Config.html#set(javax.servlet.ServletContext, java.lang.String, java.lang.Object)">set</A></B>(javax.servlet.ServletContext context, java.lang.String name, java.lang.Object value)</CODE><BR> Sets the value of a configuration variable in the "application" scope.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../javax/servlet/jsp/jstl/core/Config.html#set(javax.servlet.ServletRequest, java.lang.String, java.lang.Object)">set</A></B>(javax.servlet.ServletRequest request, java.lang.String name, java.lang.Object value)</CODE><BR> Sets the value of a configuration variable in the "request" scope.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.Object</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="FMT_LOCALE"><!-- --></A><H3>FMT_LOCALE</H3><PRE>public static final java.lang.String <B>FMT_LOCALE</B></PRE><DL><DD>Name of configuration setting for application- (as opposed to browser-) based preferred locale<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#javax.servlet.jsp.jstl.core.Config.FMT_LOCALE">Constant Field Values</A></DL></DL><HR><A NAME="FMT_FALLBACK_LOCALE"><!-- --></A><H3>FMT_FALLBACK_LOCALE</H3><PRE>public static final java.lang.String <B>FMT_FALLBACK_LOCALE</B></PRE><DL><DD>Name of configuration setting for fallback locale<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#javax.servlet.jsp.jstl.core.Config.FMT_FALLBACK_LOCALE">Constant Field Values</A></DL></DL><HR><A NAME="FMT_LOCALIZATION_CONTEXT"><!-- --></A><H3>FMT_LOCALIZATION_CONTEXT</H3><PRE>public static final java.lang.String <B>FMT_LOCALIZATION_CONTEXT</B></PRE><DL><DD>Name of configuration setting for i18n localization context<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#javax.servlet.jsp.jstl.core.Config.FMT_LOCALIZATION_CONTEXT">Constant Field Values</A></DL></DL><HR><A NAME="FMT_TIME_ZONE"><!-- --></A><H3>FMT_TIME_ZONE</H3><PRE>public static final java.lang.String <B>FMT_TIME_ZONE</B></PRE><DL><DD>Name of localization setting for time zone<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#javax.servlet.jsp.jstl.core.Config.FMT_TIME_ZONE">Constant Field Values</A></DL></DL><HR><A NAME="SQL_DATA_SOURCE"><!-- --></A><H3>SQL_DATA_SOURCE</H3><PRE>public static final java.lang.String <B>SQL_DATA_SOURCE</B></PRE><DL><DD>Name of configuration setting for SQL data source<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#javax.servlet.jsp.jstl.core.Config.SQL_DATA_SOURCE">Constant Field Values</A></DL></DL><HR><A NAME="SQL_MAX_ROWS"><!-- --></A><H3>SQL_MAX_ROWS</H3><PRE>public static final java.lang.String <B>SQL_MAX_ROWS</B></PRE><DL><DD>Name of configuration setting for maximum number of rows to be included in SQL query result<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#javax.servlet.jsp.jstl.core.Config.SQL_MAX_ROWS">Constant Field Values</A></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="Config()"><!-- --></A><H3>Config</H3><PRE>public <B>Config</B>()</PRE><DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="get(javax.servlet.jsp.PageContext, java.lang.String, int)"><!-- --></A><H3>get</H3><PRE>public static java.lang.Object <B>get</B>(javax.servlet.jsp.PageContext pc, java.lang.String name, int scope)</PRE><DL><DD>Looks up a configuration variable in the given scope. <p> 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.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>pc</CODE> - Page context in which the configuration variable is to be looked up<DD><CODE>name</CODE> - Configuration variable name<DD><CODE>scope</CODE> - Scope in which the configuration variable is to be looked up<DT><B>Returns:</B><DD>The <tt>java.lang.Object</tt> associated with the configuration variable, or null if it is not defined.</DL></DD></DL><HR><A NAME="get(javax.servlet.ServletRequest, java.lang.String)"><!-- --></A><H3>get</H3><PRE>public static java.lang.Object <B>get</B>(javax.servlet.ServletRequest request, java.lang.String name)</PRE><DL><DD>Looks up a configuration variable in the "request" scope. <p> 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.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>request</CODE> - Request object in which the configuration variable is to be looked up<DD><CODE>name</CODE> - Configuration variable name<DT><B>Returns:</B><DD>The <tt>java.lang.Object</tt> associated with the configuration variable, or null if it is not defined.</DL></DD></DL><HR><A NAME="get(javax.servlet.http.HttpSession, java.lang.String)"><!-- --></A><H3>get</H3><PRE>public static java.lang.Object <B>get</B>(javax.servlet.http.HttpSession session, java.lang.String name)</PRE><DL><DD>Looks up a configuration variable in the "session" scope. <p> 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.</p><P><DD><DL><DT><B>Parameters:</B><DD><CODE>session</CODE> - Session object in which the configuration variable is to be looked up<DD><CODE>name</CODE> - Configuration variable name<DT><B>Returns:</B><DD>The <tt>java.lang.Object</tt> associated with the configuration variable, or null if it is not defined, if session is null, or if the session is invalidated.</DL></DD></DL><HR><A NAME="get(javax.servlet.ServletContext, java.lang.String)"><!-- --></A><H3>get</H3><PRE>public static java.lang.Object <B>get</B>(javax.servlet.ServletContext context, java.lang.String name)</PRE><DL><DD>Looks up a configuration variable in the "application" scope. <p> 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.<P><DD><DL>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -