pageContext : page上下文
1、代表当前jsp的运行环境
2、当请求到达当前jsp时,创建一个pageContext对象,当请求离开当前jsp时,销毁该对象
3、pageContext是JavaEE的四大作用域(Scope)之一,是最小的作用域,代表当前页面
- pageContext.setAttribute();
- pageContext.getAttribute();
- pageContext.removeAttribute();
以下是JavaEE的作用域的是:答案(1245)
1、request 2、session 3、page 4、pageContext 5、ServletContext