virtual directories respond to HTTP calls, in other words calls to
IIS.  Mappings are used by CF only.  If you want a CF mapping to be
available via HTTP, you have to create a virtual dir.


Doug


On Tue, 25 Jan 2005 11:57:14 -0500, DURETTE, STEVEN J (AIT)
<[EMAIL PROTECTED]> wrote:
> Ok, I did some testing and found out that while the cfc does work, you
> can't get information from it like you would if you by doing something
> like http://localserver/mycfcdir/mycfc.cfc
> 
> I'm thinking about seeing what happens when you have both a virtual
> directory in iis and a mapping in ColdFusion.  Which would win out.
> Would it still work.
> 
> Later,
> Steve
> 
> 
> -----Original Message-----
> From: John Beynon [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, January 25, 2005 6:55 AM
> To: CF-Talk
> Subject: Re: CFCs and virtual directories.
> 
> 
> yes that will work...of course, if you had a folder named siteModel  off
> the webroot it would work too, provided your '/' cfmapping goes to the
> web root
> 
> jb.
> 
> > OK. So let's say i have a mapping in cf administrator called
> > /siteModel. I should be be able to invoke a cfc by either
> >
> > <cfinvoke component="siteModel.myCFC" method="...">
> >
> > or
> >
> > createObject("component","siteModel.myCFC")
> >
> > ?
> >
> > Dwayne
> >
> > ---------- Original Message ----------------------------------
> > From: "Jared Rypka-Hauer - CMG, LLC" <[EMAIL PROTECTED]>
> > Reply-To: [email protected]
> > Date:  Tue, 25 Jan 2005 01:54:55 -0600
> >
> > >CFCs can be accessed in a few ways...
> > >
> > >Via the standard CF custom tag directory, a custom-custom tag
> > >directory, or in the immediate folder of the calling template:
> > >createObject("component","myCFC")
> > >
> > >Or in a folder below any of the above:
> > >createObject("component","folder.from.current.location.myCFC")
> > >
> > >There's a very specific search order that governs where CFCs should
> > be
> > >located and how CF finds them if you only specify a CFC name.
> > >
> > >Check the livedocs here:
> > >http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/buildi12.htm
> > >
> > >Laterz,
> > >J
> > >
> > >
> > >On Tue, 25 Jan 2005 01:18:19 -0500, Dwayne Cole <[EMAIL PROTECTED]>
> 
> > wrote:
> > >> I thought tha this mapping issue was the problem with cfc's.
> > Mapping works when your using <cfinclude>. I haven't wrapped most of
> > my "cffunction" libraries with cfcomponent because of this issue of
> > how to find them.  Plus my "cfc's" don't contain instance data, I'm
> > not using flash yet, and I'm not using webservices.   So for me I
> > works well to use <cfinclude> to include the set of <cffunction>
> > before I make the call or include them in the application.cfm page.
> > >>
> > >> Dwayne.
> > >>
> > >>
> > >
> > >
> > >--
> > >Continuum Media Group LLC
> > >Burnsville, MN 55337
> > >http://www.web-relevant.com
> > >http://cfobjective.blogspot.com
> > >
> >
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:191713
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to