You can access CFCs just like you would access custom tags.

  They can be put in the customtags directory of the ColdFusion installation.
  Or they can be in a directory that you can access via a ColdFusion mapping.
  Or they can be in the same directory as the page that invokes it.  ( Or a 
relative directory to the page that invokes it )



At 10:52 AM 11/25/2002 -0600, you wrote:
>I have just finished Hal Helm's CFC book for the second time and this
>stuff is looking pretty nice. (of course I started programming in OO, so
>I knew it would be useful).
>
>My question is with regards to addressing a CFC. All of Hal's examples
>were directly under the MX wwwroot directory. How do you address a CFC
>if it is not under the wwwroot? For example, on my laptop, I have a
>virtual directory setup in IIS to point to d:\sandbox for my
>testing/play area. How would I invoke a cfc here?
>
>Would this also not be a problem for shared/virtual hosting where you
>might or might not know where the wwwroot folder is? This does not sound
>real portable if you have to have a 'physical' path to the wwwroot?
>
>Thanks
>-- Jeff
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Reply via email to