Microsoft
Software
Hardware
Network
Question : Coldfusion - Invoking CFC 'up' a directory?
I'm aware that the easiest way of doing this is to create a mapping in CF Admin, however I'm trying to find the most flexible method for portability in this instance - it's entirely possible that upon deployment, we won't have access to CF Admin.
Heres the current structure;
domain.com/sitefolder/com/
cfcs-in-he
re
Within domain.com/sitefolder/anyf
ile.cfm I can successfully invoke the cfcs using com.cfcname
However, I'm now trying to invoke a cfc from domain.com/sitefolder/subf
older/file
.cfm
In 'normal' terms I would find the cfc by using ../com/cfcname - but obviously I can't do that.
I believe there are solutions out there that I could use if the site itself was in the root domain (i.e domain.cfm), but I'm unsure if theres a way of doing it taking into account the subfolder (under which, for reference, the Application.cfm resides).
Answer : Coldfusion - Invoking CFC 'up' a directory?
I always invoke my cfc's from the root, so:
sitefolder.com.cfcname
Random Solutions
Replace line from keyword
Exchange 2010 mapidelivery queue holding email
How to fix windows xp service pack 3 install error: "The system cannot find the file specified"
Displaying GroupWise contacts in Exchange address book?
FTP not working on Windows Server 2008 IIS 7
Need a random list of 1000 geocoded locations in any one country
Variable not defined error using VBA ExportAsFixedFormat Type:=xlTypePDF in excel 2003
SQL 2005 Select Query from multiple tables
Should Sys Admins (Domain Admins) also have user accounts?
PL/SQL Export table data to .csv file and save; launch Excel inside PL/SQL and load saved .csv file