getContextRoot

Returns path to the J2EE server context root for the current request.

getContextRoot() → returns string

Examples
Sample code invoking the getContextRoot function

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub