This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Page context encapsulation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Page context encapsulation" Watch "Page context encapsulation" New topic

Page context encapsulation

Abhishek Kumar Singh
Ranch Hand

Joined: Sep 07, 2007
Posts: 31
A pagecontext encapsulates other implicit objects,so if you give some helper object a page context reference,the helper can use that reference to get references to the other implicit objects and attributes from all scopes.Please explain the above para
Christophe Verré

Joined: Nov 24, 2005
Posts: 14687

I'm not sure about which object you're talking. Probably JSP's pageContext implicit object, which refers to javax.servlet.jsp.PageContext. If you look at the javax.servlet.jsp.PageContext API, you'll find all the great things the pageContext object can offer you.

[My Blog]
All roads lead to JavaRanch
Abhishek Kumar Singh
Ranch Hand

Joined: Sep 07, 2007
Posts: 31
Yes JSP pagecontext only
I agree. Here's the link:
subject: Page context encapsulation
Similar Threads
implicit objects from page context
pageContext vs request vs page
Difference between Page and PageContext Implicit object
Regarding pageContext implicit object
object can access the ServletContext