[Logo]
Forums Register Login
pageContext
Can anybody explian the difference between page and pageContext?
Hi,
page = this, is an object that implements the interface Servlet, rarely used.
pageContext = is a PageContext object, a useful object that you can use in JSP pages and custom tags through which you can, for example, find and manipulate any attribute of any context (application, session, request or even page), you can forward/include other pages, etc.
Dani
Hi,
page : The instance of the JSP page's servlet processing the current request. Not typically used by JSP page authors.
pageContext: The context for the JSP page. Provides a single API to manage the various scoped attributes. javax.servlet.jsp.PageContext
sorry I am still
Getting married means "We're in love, so let's tell the police!" - and invite this tiny ad to the wedding:
Download Free Java APIs to Work with Office Files and PDF
htttp://www.e-iceblue.com/free-apis.html


This thread has been viewed 619 times.

All times above are in ranch (not your local) time.
The current ranch time is
Dec 12, 2018 18:13:11.