The dot.delimited.path.from.the.webroot should work, but i think you're
indicating that it's outside of the webroot? If so, you can move it under
the webroot, or find a way to create a mapping to it.
On 2/5/07, Andy Matthews <[EMAIL PROTECTED]> wrote:
>
> I know how to instantiate a CFC if it's in the same (or sub) folder as the
> calling file:
>
> myCFC = CreateObject("component", "includes.myCFC");
>
> But how would you reference a CFC living in a directory ABOVE the calling
> file. Assuming the paths below:
>
> utilities [dir]
> common.cfc [file]
> www [dir]
> testing.cfm [file]
> includes [dir]
> myCFC.cfc [file]
>
> How would testing.cfm instantiate common.cfc? I'll bet that you can use a
> mapping, but in this case, a mapping isn't an option due to hosting
> company
> restrictions.
>
> Anyone?
>
> ____________________________________
>
> Andy Matthews
> Senior Coldfusion Developer
>
> Office: 877.707.5467 x747
> Direct: 615.627.9747
> Fax: 615.467.6249
> [EMAIL PROTECTED]
> www.dealerskins.com <http://www.dealerskins.com/>
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:268711
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4