JSTL

Page 213

remove(HttpSession, String) public static void remove(javax.servlet.http.HttpSession session, java.lang.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. Parameters: session - Session object from which the configuration variable is to be removed name - Configuration variable name

remove(PageContext, String, int) public static void remove(PageContext pc, java.lang.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. Parameters: pc - Page context from which the configuration variable is to be removed name - Configuration variable name scope - Scope from which the configuration variable is to be removed

remove(ServletContext, String) public static void remove(javax.servlet.ServletContext context, java.lang.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. Parameters: context - Servlet context from which the configuration variable is to be removed name - Configuration variable name

remove(ServletRequest, String) public static void remove(javax.servlet.ServletRequest request, java.lang.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. Parameters: request - Request object from which the configuration variable is to be removed name - Configuration variable name

set(HttpSession, String, Object) public static void set(javax.servlet.http.HttpSession session, java.lang.String name, java.lang.Object value)

Sets the value of a configuration variable in the “session” scope.

197


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.