Why there is a need of pageContext in JSP?

前端 未结 3 1487
执念已碎
执念已碎 2020-12-23 12:32

When we can access all the implicit variables in JSP, why do we have pageContext ?

My assumption is the following: if we use EL expressions or JSTL, to acc

3条回答
  •  星月不相逢
    2020-12-23 12:48

    All 11 implicit EL variables are defined as Map, except the pageContext variable. pageContext variable provides convenient methods for accessing request/response/session attributes or forwarding the request.

提交回复
热议问题