blob: a5ba4903119dacab0ca4326a5d64cd17b4977129 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<title>Config</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Config";
}
}
catch(err) {
}
//-->
var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../jakarta/servlet/jsp/jstl/core/ConditionalTagSupport.html" title="class in jakarta.servlet.jsp.jstl.core"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../jakarta/servlet/jsp/jstl/core/IndexedValueExpression.html" title="class in jakarta.servlet.jsp.jstl.core"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?jakarta/servlet/jsp/jstl/core/Config.html" target="_top">Frames</a></li>
<li><a href="Config.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">jakarta.servlet.jsp.jstl.core</div>
<h2 title="Class Config" class="title">Class Config</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>jakarta.servlet.jsp.jstl.core.Config</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="typeNameLabel">Config</span>
extends java.lang.Object</pre>
<div class="block">Class supporting access to configuration settings.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../jakarta/servlet/jsp/jstl/core/Config.html#FMT_FALLBACK_LOCALE">FMT_FALLBACK_LOCALE</a></span></code>
<div class="block">Name of configuration setting for fallback locale</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../jakarta/servlet/jsp/jstl/core/Config.html#FMT_LOCALE">FMT_LOCALE</a></span></code>
<div class="block">Name of configuration setting for application- (as opposed to browser-)
based preferred locale</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../jakarta/servlet/jsp/jstl/core/Config.html#FMT_LOCALIZATION_CONTEXT">FMT_LOCALIZATION_CONTEXT</a></span></code>
<div class="block">Name of configuration setting for i18n localization context</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../jakarta/servlet/jsp/jstl/core/Config.html#FMT_TIME_ZONE">FMT_TIME_ZONE</a></span></code>
<div class="block">Name of localization setting for time zone</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../jakarta/servlet/jsp/jstl/core/Config.html#SQL_DATA_SOURCE">SQL_DATA_SOURCE</a></span></code>
<div class="block">Name of configuration setting for SQL data source</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../jakarta/servlet/jsp/jstl/core/Config.html#SQL_MAX_ROWS">SQL_MAX_ROWS</a></span></code>
<div class="block">Name of configuration setting for maximum number of rows to be included
in SQL query result</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../jakarta/servlet/jsp/jstl/core/Config.html#Config--">Config</a></span>()</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>static java.lang.Object</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../jakarta/servlet/jsp/jstl/core/Config.html#find-jakarta.servlet.jsp.PageContext-java.lang.String-">find</a></span>(<a href="../../../../../jakarta/servlet/jsp/PageContext.html" title="class in jakarta.servlet.jsp">PageContext</a>&nbsp;pc,
java.lang.String&nbsp;name)</code>
<div class="block">Finds the value associated with a specific configuration setting
identified by its context initialization parameter name.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>static java.lang.Object</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../jakarta/servlet/jsp/jstl/core/Config.html#get-jakarta.servlet.http.HttpSession-java.lang.String-">get</a></span>(<a href="../../../../../jakarta/servlet/http/HttpSession.html" title="interface in jakarta.servlet.http">HttpSession</a>&nbsp;session,
java.lang.String&nbsp;name)</code>
<div class="block">Looks up a configuration variable in the "session" scope.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>static java.lang.Object</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../jakarta/servlet/jsp/jstl/core/Config.html#get-jakarta.servlet.jsp.PageContext-java.lang.String-int-">get</a></span>(<a href="../../../../../jakarta/servlet/jsp/PageContext.html" title="class in jakarta.servlet.jsp">PageContext</a>&nbsp;pc,
java.lang.String&nbsp;name,
int&nbsp;scope)</code>
<div class="block">Looks up a configuration variable in the given scope.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>static java.lang.Object</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../jakarta/servlet/jsp/jstl/core/Config.html#get-jakarta.servlet.ServletContext-java.lang.String-">get</a></span>(<a href="../../../../../jakarta/servlet/ServletContext.html" title="interface in jakarta.servlet">ServletContext</a>&nbsp;context,
java.lang.String&nbsp;name)</code>
<div class="block">Looks up a configuration variable in the "application" scope.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>static java.lang.Object</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../jakarta/servlet/jsp/jstl/core/Config.html#get-jakarta.servlet.ServletRequest-java.lang.String-">get</a></span>(<a href="../../../../../jakarta/servlet/ServletRequest.html" title="interface in jakarta.servlet">ServletRequest</a>&nbsp;request,
java.lang.String&nbsp;name)</code>
<div class="block">Looks up a configuration variable in the "request" scope.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../jakarta/servlet/jsp/jstl/core/Config.html#remove-jakarta.servlet.http.HttpSession-java.lang.String-">remove</a></span>(<a href="../../../../../jakarta/servlet/http/HttpSession.html" title="interface in jakarta.servlet.http">HttpSession</a>&nbsp;session,
java.lang.String&nbsp;name)</code>
<div class="block">Removes a configuration variable from the "session" scope.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../jakarta/servlet/jsp/jstl/core/Config.html#remove-jakarta.servlet.jsp.PageContext-java.lang.String-int-">remove</a></span>(<a href="../../../../../jakarta/servlet/jsp/PageContext.html" title="class in jakarta.servlet.jsp">PageContext</a>&nbsp;pc,
java.lang.String&nbsp;name,
int&nbsp;scope)</code>
<div class="block">Removes a configuration variable from the given scope.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../jakarta/servlet/jsp/jstl/core/Config.html#remove-jakarta.servlet.ServletContext-java.lang.String-">remove</a></span>(<a href="../../../../../jakarta/servlet/ServletContext.html" title="interface in jakarta.servlet">ServletContext</a>&nbsp;context,
java.lang.String&nbsp;name)</code>
<div class="block">Removes a configuration variable from the "application" scope.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../jakarta/servlet/jsp/jstl/core/Config.html#remove-jakarta.servlet.ServletRequest-java.lang.String-">remove</a></span>(<a href="../../../../../jakarta/servlet/ServletRequest.html" title="interface in jakarta.servlet">ServletRequest</a>&nbsp;request,
java.lang.String&nbsp;name)</code>
<div class="block">Removes a configuration variable from the "request" scope.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../jakarta/servlet/jsp/jstl/core/Config.html#set-jakarta.servlet.http.HttpSession-java.lang.String-java.lang.Object-">set</a></span>(<a href="../../../../../jakarta/servlet/http/HttpSession.html" title="interface in jakarta.servlet.http">HttpSession</a>&nbsp;session,
java.lang.String&nbsp;name,
java.lang.Object&nbsp;value)</code>
<div class="block">Sets the value of a configuration variable in the "session" scope.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../jakarta/servlet/jsp/jstl/core/Config.html#set-jakarta.servlet.jsp.PageContext-java.lang.String-java.lang.Object-int-">set</a></span>(<a href="../../../../../jakarta/servlet/jsp/PageContext.html" title="class in jakarta.servlet.jsp">PageContext</a>&nbsp;pc,
java.lang.String&nbsp;name,
java.lang.Object&nbsp;value,
int&nbsp;scope)</code>
<div class="block">Sets the value of a configuration variable in the given scope.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../jakarta/servlet/jsp/jstl/core/Config.html#set-jakarta.servlet.ServletContext-java.lang.String-java.lang.Object-">set</a></span>(<a href="../../../../../jakarta/servlet/ServletContext.html" title="interface in jakarta.servlet">ServletContext</a>&nbsp;context,
java.lang.String&nbsp;name,
java.lang.Object&nbsp;value)</code>
<div class="block">Sets the value of a configuration variable in the "application" scope.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../jakarta/servlet/jsp/jstl/core/Config.html#set-jakarta.servlet.ServletRequest-java.lang.String-java.lang.Object-">set</a></span>(<a href="../../../../../jakarta/servlet/ServletRequest.html" title="interface in jakarta.servlet">ServletRequest</a>&nbsp;request,
java.lang.String&nbsp;name,
java.lang.Object&nbsp;value)</code>
<div class="block">Sets the value of a configuration variable in the "request" scope.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="FMT_LOCALE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>FMT_LOCALE</h4>
<pre>public static final&nbsp;java.lang.String FMT_LOCALE</pre>
<div class="block">Name of configuration setting for application- (as opposed to browser-)
based preferred locale</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#jakarta.servlet.jsp.jstl.core.Config.FMT_LOCALE">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="FMT_FALLBACK_LOCALE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>FMT_FALLBACK_LOCALE</h4>
<pre>public static final&nbsp;java.lang.String FMT_FALLBACK_LOCALE</pre>
<div class="block">Name of configuration setting for fallback locale</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#jakarta.servlet.jsp.jstl.core.Config.FMT_FALLBACK_LOCALE">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="FMT_LOCALIZATION_CONTEXT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>FMT_LOCALIZATION_CONTEXT</h4>
<pre>public static final&nbsp;java.lang.String FMT_LOCALIZATION_CONTEXT</pre>
<div class="block">Name of configuration setting for i18n localization context</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#jakarta.servlet.jsp.jstl.core.Config.FMT_LOCALIZATION_CONTEXT">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="FMT_TIME_ZONE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>FMT_TIME_ZONE</h4>
<pre>public static final&nbsp;java.lang.String FMT_TIME_ZONE</pre>
<div class="block">Name of localization setting for time zone</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#jakarta.servlet.jsp.jstl.core.Config.FMT_TIME_ZONE">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="SQL_DATA_SOURCE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>SQL_DATA_SOURCE</h4>
<pre>public static final&nbsp;java.lang.String SQL_DATA_SOURCE</pre>
<div class="block">Name of configuration setting for SQL data source</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#jakarta.servlet.jsp.jstl.core.Config.SQL_DATA_SOURCE">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="SQL_MAX_ROWS">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>SQL_MAX_ROWS</h4>
<pre>public static final&nbsp;java.lang.String SQL_MAX_ROWS</pre>
<div class="block">Name of configuration setting for maximum number of rows to be included
in SQL query result</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#jakarta.servlet.jsp.jstl.core.Config.SQL_MAX_ROWS">Constant Field Values</a></dd>
</dl>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="Config--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>Config</h4>
<pre>public&nbsp;Config()</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="get-jakarta.servlet.jsp.PageContext-java.lang.String-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>get</h4>
<pre>public static&nbsp;java.lang.Object&nbsp;get(<a href="../../../../../jakarta/servlet/jsp/PageContext.html" title="class in jakarta.servlet.jsp">PageContext</a>&nbsp;pc,
java.lang.String&nbsp;name,
int&nbsp;scope)</pre>
<div class="block">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.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>pc</code> - Page context in which the configuration variable is to be
looked up</dd>
<dd><code>name</code> - Configuration variable name</dd>
<dd><code>scope</code> - Scope in which the configuration variable is to be looked
up</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The <tt>java.lang.Object</tt> associated with the configuration
variable, or null if it is not defined.</dd>
</dl>
</li>
</ul>
<a name="get-jakarta.servlet.ServletRequest-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>get</h4>
<pre>public static&nbsp;java.lang.Object&nbsp;get(<a href="../../../../../jakarta/servlet/ServletRequest.html" title="interface in jakarta.servlet">ServletRequest</a>&nbsp;request,
java.lang.String&nbsp;name)</pre>
<div class="block">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.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>request</code> - Request object in which the configuration variable is to
be looked up</dd>
<dd><code>name</code> - Configuration variable name</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The <tt>java.lang.Object</tt> associated with the configuration
variable, or null if it is not defined.</dd>
</dl>
</li>
</ul>
<a name="get-jakarta.servlet.http.HttpSession-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>get</h4>
<pre>public static&nbsp;java.lang.Object&nbsp;get(<a href="../../../../../jakarta/servlet/http/HttpSession.html" title="interface in jakarta.servlet.http">HttpSession</a>&nbsp;session,
java.lang.String&nbsp;name)</pre>
<div class="block">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></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>session</code> - Session object in which the configuration variable is to
be looked up</dd>
<dd><code>name</code> - Configuration variable name</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<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.</dd>
</dl>
</li>
</ul>
<a name="get-jakarta.servlet.ServletContext-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>get</h4>
<pre>public static&nbsp;java.lang.Object&nbsp;get(<a href="../../../../../jakarta/servlet/ServletContext.html" title="interface in jakarta.servlet">ServletContext</a>&nbsp;context,
java.lang.String&nbsp;name)</pre>
<div class="block">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.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>context</code> - Servlet context in which the configuration variable is
to be looked up</dd>
<dd><code>name</code> - Configuration variable name</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The <tt>java.lang.Object</tt> associated with the configuration
variable, or null if it is not defined.</dd>
</dl>
</li>
</ul>
<a name="set-jakarta.servlet.jsp.PageContext-java.lang.String-java.lang.Object-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>set</h4>
<pre>public static&nbsp;void&nbsp;set(<a href="../../../../../jakarta/servlet/jsp/PageContext.html" title="class in jakarta.servlet.jsp">PageContext</a>&nbsp;pc,
java.lang.String&nbsp;name,
java.lang.Object&nbsp;value,
int&nbsp;scope)</pre>
<div class="block">Sets the value of a configuration variable in the given scope.
<p> 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.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>pc</code> - Page context in which the configuration variable is to be set</dd>
<dd><code>name</code> - Configuration variable name</dd>
<dd><code>value</code> - Configuration variable value</dd>
<dd><code>scope</code> - Scope in which the configuration variable is to be set</dd>
</dl>
</li>
</ul>
<a name="set-jakarta.servlet.ServletRequest-java.lang.String-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>set</h4>
<pre>public static&nbsp;void&nbsp;set(<a href="../../../../../jakarta/servlet/ServletRequest.html" title="interface in jakarta.servlet">ServletRequest</a>&nbsp;request,
java.lang.String&nbsp;name,
java.lang.Object&nbsp;value)</pre>
<div class="block">Sets the value of a configuration variable in the "request" scope.
<p> 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.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>request</code> - Request object in which the configuration variable is to
be set</dd>
<dd><code>name</code> - Configuration variable name</dd>
<dd><code>value</code> - Configuration variable value</dd>
</dl>
</li>
</ul>
<a name="set-jakarta.servlet.http.HttpSession-java.lang.String-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>set</h4>
<pre>public static&nbsp;void&nbsp;set(<a href="../../../../../jakarta/servlet/http/HttpSession.html" title="interface in jakarta.servlet.http">HttpSession</a>&nbsp;session,
java.lang.String&nbsp;name,
java.lang.Object&nbsp;value)</pre>
<div class="block">Sets the value of a configuration variable in the "session" scope.
<p> 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.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>session</code> - Session object in which the configuration variable is to
be set</dd>
<dd><code>name</code> - Configuration variable name</dd>
<dd><code>value</code> - Configuration variable value</dd>
</dl>
</li>
</ul>
<a name="set-jakarta.servlet.ServletContext-java.lang.String-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>set</h4>
<pre>public static&nbsp;void&nbsp;set(<a href="../../../../../jakarta/servlet/ServletContext.html" title="interface in jakarta.servlet">ServletContext</a>&nbsp;context,
java.lang.String&nbsp;name,
java.lang.Object&nbsp;value)</pre>
<div class="block">Sets the value of a configuration variable in the "application" scope.
<p> 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.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>context</code> - Servlet context in which the configuration variable is to
be set</dd>
<dd><code>name</code> - Configuration variable name</dd>
<dd><code>value</code> - Configuration variable value</dd>
</dl>
</li>
</ul>
<a name="remove-jakarta.servlet.jsp.PageContext-java.lang.String-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>remove</h4>
<pre>public static&nbsp;void&nbsp;remove(<a href="../../../../../jakarta/servlet/jsp/PageContext.html" title="class in jakarta.servlet.jsp">PageContext</a>&nbsp;pc,
java.lang.String&nbsp;name,
int&nbsp;scope)</pre>
<div class="block">Removes a configuration variable from the given scope.
<p> 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.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>pc</code> - Page context from which the configuration variable is to be
removed</dd>
<dd><code>name</code> - Configuration variable name</dd>
<dd><code>scope</code> - Scope from which the configuration variable is to be
removed</dd>
</dl>
</li>
</ul>
<a name="remove-jakarta.servlet.ServletRequest-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>remove</h4>
<pre>public static&nbsp;void&nbsp;remove(<a href="../../../../../jakarta/servlet/ServletRequest.html" title="interface in jakarta.servlet">ServletRequest</a>&nbsp;request,
java.lang.String&nbsp;name)</pre>
<div class="block">Removes a configuration variable from the "request" scope.
<p> 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.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>request</code> - Request object from which the configuration variable is
to be removed</dd>
<dd><code>name</code> - Configuration variable name</dd>
</dl>
</li>
</ul>
<a name="remove-jakarta.servlet.http.HttpSession-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>remove</h4>
<pre>public static&nbsp;void&nbsp;remove(<a href="../../../../../jakarta/servlet/http/HttpSession.html" title="interface in jakarta.servlet.http">HttpSession</a>&nbsp;session,
java.lang.String&nbsp;name)</pre>
<div class="block">Removes a configuration variable from the "session" scope.
<p> 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.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>session</code> - Session object from which the configuration variable is
to be removed</dd>
<dd><code>name</code> - Configuration variable name</dd>
</dl>
</li>
</ul>
<a name="remove-jakarta.servlet.ServletContext-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>remove</h4>
<pre>public static&nbsp;void&nbsp;remove(<a href="../../../../../jakarta/servlet/ServletContext.html" title="interface in jakarta.servlet">ServletContext</a>&nbsp;context,
java.lang.String&nbsp;name)</pre>
<div class="block">Removes a configuration variable from the "application" scope.
<p> 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.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>context</code> - Servlet context from which the configuration variable is
to be removed</dd>
<dd><code>name</code> - Configuration variable name</dd>
</dl>
</li>
</ul>
<a name="find-jakarta.servlet.jsp.PageContext-java.lang.String-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>find</h4>
<pre>public static&nbsp;java.lang.Object&nbsp;find(<a href="../../../../../jakarta/servlet/jsp/PageContext.html" title="class in jakarta.servlet.jsp">PageContext</a>&nbsp;pc,
java.lang.String&nbsp;name)</pre>
<div class="block">Finds the value associated with a specific configuration setting
identified by its context initialization parameter name.
<p> For each of the JSP scopes (page, request, session, application),
get the value of the configuration variable identified by <tt>name</tt>
using method <tt>get()</tt>. 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 <tt>name</tt>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>pc</code> - Page context in which the configuration setting is to be
searched</dd>
<dd><code>name</code> - Context initialization parameter name of the configuration
setting</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The <tt>java.lang.Object</tt> associated with the configuration
setting identified by <tt>name</tt>, or null if it is not defined.</dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../jakarta/servlet/jsp/jstl/core/ConditionalTagSupport.html" title="class in jakarta.servlet.jsp.jstl.core"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../jakarta/servlet/jsp/jstl/core/IndexedValueExpression.html" title="class in jakarta.servlet.jsp.jstl.core"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?jakarta/servlet/jsp/jstl/core/Config.html" target="_top">Frames</a></li>
<li><a href="Config.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>