You could use a JRun virtual mapping :
- edit c:/CFusionMX/wwwroot/WEB-INF/jrun-web.xml,
- add the "com" virtual mapping :
  <virtual-mapping>
    <resource-path>/com</resource-path>
    <system-path>E:/cfcomponents/com</system-path>
  </virtual-mapping>

(if your CFC naming convention is "com.mycompany.myCFC")

Like this you can call your CFCs where ever you're :
<cfinvoke
        component="com.mycompany.myCFC"
        ...>

If you want to change the CFCs location, just edit jrun-web.xml.

Benoit Hediard
www.benorama.com

> -----Message d'origine-----
> De : Marlon Moyer [mailto:[EMAIL PROTECTED]
> Envoyé : vendredi 21 février 2003 19:58
> À : CF-Talk
> Objet : calling cfc's
>
>
> How do you call a cfc if you're not 100% sure what the site directory is
> going to be.  Is there anyway to call a cfc relatively.
>
>
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to