| Author |
PageContext
|
ramesh kumar
Greenhorn
Joined: Aug 15, 2006
Posts: 25
|
|
|
i find in one book that "PageContext is container to all implicit objects and user defined objects.It Provides setters and getters to use these objects".But my dought is how it can provide getters and setters for user defined objects can any body explain me this sentence
|
 |
Gregg Bolinger
Ranch Hand
Joined: Jul 11, 2001
Posts: 15230
|
|
PageContext is container to all implicit objects and user defined objects.It Provides setters and getters to use these objects... I would venture to guess that this is bad editing and what the author meant was that the PageContext provides getters and setters to use the implicit objects/properties provided by the PageContext class. It can also mean that there is a getter/setter for the attribute property which is how the user defined object would be stored and retrieved, just like from the HttpServletRequest and HttpSession.
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56529
|
|
The proper term for instances of objects stored in the various scopes, including page scope, is scoped variables. And I agree with Gregg -- the passage is worded badly.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
ramesh kumar
Greenhorn
Joined: Aug 15, 2006
Posts: 25
|
|
|
Thank you
|
 |
 |
|
|
subject: PageContext
|
|
|