I realize while developing tags that we use the PageContext to retrieve the ServletContext. I also understand that is one servletcontext per "web application" per Java Virtual Machine,and that it is used by a servlet to communicate with its container. But,what is the relevance and scope of PageContext?
But where exactly in the lifecycle of a session does the pageContext fit in - at what exact stage is it created,its utility and when is the current data inside it populated?
Page context is the "lowest" of the context scopes. Its lifetime is limited to a single JSP page.
Joined: Mar 09, 2006
Thanks.THen apart from retrieving the servletcontext,what are the other typical interactions a page will have or need to have with its pagecontext?I do not find much documentation on its interactions with JSP?