This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JSP and the fly likes Regarding pageContext implicit object Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Regarding pageContext implicit object" Watch "Regarding pageContext implicit object" New topic
Author

Regarding pageContext implicit object

Abhishek Reddy
Ranch Hand

Joined: Mar 28, 2006
Posts: 259
hi every one,

pageContext is an implicit object available in JSP page.

Iam unable to understand the use of pageContext. I have gone through the documentation but still unable to understand

Here is what the documentation says

PageContext extends JspContext to provide useful context information for when JSP technology is used in a Servlet environment.

What the above point means? does it means that context parameters from web.xml file. We have implicit application object for get context information.

A PageContext instance provides access to all the namespaces associated with a JSP page, provides access to several page attributes, as well as a layer above the implementation details. Implicit objects are added to the pageContext automatically.

What are the namespaces associated with a JSP page and what is the use in getting them?

Provides access to several page attributes, as well as a layer above the implementation details

what it means by layer above implementation details?

Implicit objects are added to the pageContext automatically.
Anyhow they exist in jsp page what is the use in getting added to pageContext?

So, confused....... What can be achieved with pageContext that cannot be achieved with other implicit objects?

Need help, thanks in advance ......


Abhishek
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60774
    
  65

The other implicit objects are conveniences that are all derived from the page context.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Regarding pageContext implicit object
 
Similar Threads
which jsp imlicit object?
types of implicit variabless
Page context encapsulation
About PageContext
pageContext why?