The Sun definition : An object bound into the context associated with a servlet.
The GetPageContext returns the "context" for a servlet or JSP page. It really does what it says on the tin, it returns the context, which simplified means /x/y/z/myservlet or whatever. The servlet needs this when it uses other Java elements and classes, so that the so they can be bound into that context and can use other variables available in the same context. Remember the same java objects maybe used by many programs in many contexts, so the jvm has to be able tosupply the correct variables, resources etc. WG -----Original Message----- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: 08 July 2003 14:06 To: CF-Talk Subject: RE: GetPageContext() function...cfinclude from a cfscript? I think, there are probably people who know a shit load more about than that! -----Original Message----- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: 08 July 2003 14:03 To: CF-Talk Subject: RE: GetPageContext() function...cfinclude from a cfscript? I believe it is used for J2EE development (though probably not only that). It provides access to system class functions from within a page to call variables and scopes etc....... -----Original Message----- From: Tyler Silcox [mailto:[EMAIL PROTECTED] Sent: 08 July 2003 13:56 To: CF-Talk Subject: GetPageContext() function...cfinclude from a cfscript? Could someone please explain what GetPageContext() does within CFMX? I just came across it in one of the other posts and it got me thinking about using GetPageContext().include("somefile.cfm") for cfincludes within cfscripts, but it doesn't seem to share the same memory/variables (which, I guess, could be a benefit.) What is possible with this tag? Is it slow? What other functions are available, etc? I've gotta know! Tyler ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4