Mostly if you need access to files or templates from CFINCLUDE and CFMODULE that are not accessible to CF through a relative path. Both tags use relative addressing to specify files, so you might have a situation where you can't get to a file using a relative path. For example, when you have files or templates located on another drive partition.
Also, for simple convenience in accessing certain directories without having to use something like <cfinclude template="../../../../files/data/myapp/somedir/foo.bar"> You can create a mapping to somdir and then just use <cfinclude template="/cfmappeddir/foo.bar"> As another matter of convenience, using absolute addressing via a CF mapping relieves you of needing to know the relative path between the current template and a CFINCLUDE or CFMODULE target. Jim ----- Original Message ----- From: "James Taavon" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Wednesday, January 09, 2002 10:53 AM Subject: CF Mappings > What is the determining factor whether you need a Mapping for your > application or not? Is it necessary for the app to work? > > James > ______________________________________________________________________ Why Share? Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists