Railo 4.2 Reference
Choose a function:


Does the opposite of the function expandPath(). Tries to match given absolute path to the mappings in the enviroment. When no mappings match, railo creates a relative path from the current position.


contractpath(string path,[boolean placeholder]):string


The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
path string  Yes a absolute path  
placeholder boolean  No If true (default false), Railo also tries to create a placeholder for the begining of the Tag