# GetContextRoot()

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

```
GetContextRoot( );
```

**Returns:** string

*This function does not take any arguments.*

# Examples

```cfml
dump(getContextRoot() );
```







# Categories

[Debugging](../../categories/debugging.md), [Lucee Server related Tags, Functions and Guides](../../categories/server.md)

# See Also

[GetContextInfo()](getcontextinfo.md)