Returns path to the JEE server context root for the current request.
Returns
The path from the web root to the context root for the current page. The path starts with a forward slash character but does not end with a forward slash character . For applications in the default (root) context, returns the empty string.
This function is equivalent to calling GetPageContext().GetRequest().GetContextPath(). On JEE configurations, it returns the path from the Web root to the JEE context root of the ColdFusion JEE application. On server configurations, it returns the empty string, because the context root is at the web root.This function is useful in applications that might be installed at varying JEE context roots.
Example
The ColdFusion Administrator uses the following line to get the location of the administrator directory: