PageContext Reference

Using a PageContext reference to get attributes from any scope,including the page scope for attributes bound to the PageContext.The methods that work with other scopes take an int argument to indicate the scope.Although the attribute access methods come from the JspContext,you'll find the constants for the scopes inside the PageContext class.

JspContext

getAttribute(String name)
getAttribute(String name,int scope)
getAttributeNamesInScope(int scope)
findAtrribute(String name)

Constants in PageContext

APPLICATION_SCOPE
PAGE_SCOPE
REQUEST_SCOPE
SESSION_SCOPE

methods in PageContext
getRequest()
getServletConfig()
getServletContext()
getSession()

你可能感兴趣的:(pageContext,page)