Invoking Components (CFCs) with a relative path
Categories:
HTML/ColdFusion, Source Code
Back in March of 2003 I posted a UDF which allows you to initiate a CFC from a relative path. Anyway, since it's been over 4 years at 2 major releases of ColdFusion, I just wanted to let everyone know that this UDF does indeed still work in ColdFusion 8.
While it is a hack and I can't guarentee it won't cause server problems, I can say I've been using this in production code since I wrote the UDF and have never found a problem.

Comments
<cfset obj = createObject("component","/mapping/some/path/to/MyComponent").init()>
Relative pathing would allow you to do: "../../folder/component.cfc"
This is still not natively supported, but the UDF I posted does work in CF8.