getContextRoot

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

getContextRoot() → returns string

Examples
Sample code invoking the getContextRoot function


Fork me on GitHub