aspose file tools*
The moose likes Servlets and the fly likes difference between page and pagecontext Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "difference between page and pagecontext" Watch "difference between page and pagecontext" New topic
Author

difference between page and pagecontext

shekar march chandra
Greenhorn

Joined: Jul 07, 2005
Posts: 25
Hi ppl,

can one explain the difference between the page and pagecontext.
and where we use it clearly.

Thanks,
Chandra
chsanthosh kumar
Ranch Hand

Joined: Jun 28, 2005
Posts: 56
Please Can u take look at it into this..
u will find more.
Pagecontext and page


---------------------<br />SCJP(1.4)With 95%<br /> <br />Do it Right and Forget it!
shekar march chandra
Greenhorn

Joined: Jul 07, 2005
Posts: 25
hi santosh,

I checked the java link, but i couldn't understand whats exact difference and why it is.

I know that an object bound to page scope, will be available only to that particular page.

what about pagecontext object?

Thanks,
chandra
Debashish Chakrabarty
Ranch Hand

Joined: May 14, 2002
Posts: 230

I assume you are talking about the page and pageContext implicit objects available to a JSP.

The "page" is representative of your JSP (or rather the Servlet that it has become) that is serving the request, a synonym for "this". You wouldn't perhaps use this much. "pageContext" provides several convenience methods as can be read from the APi link provided above.


Debashish
SCJP2, SCWCD 1.4, PMP, ITIL Foundation
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: difference between page and pagecontext